linux apport 有什么用

linux apport 有什么用,第1张

它是一个错误收集系统,会收集软件崩溃、未处理异常和其他,包括程序bug,并为调试目的生成崩溃报告。当一个应用程序崩溃或者出现Bug时候,Apport就会通过d窗警告用户并且询问用户是否提交崩溃报告。你也许也看到过下面的消息。

"Sorry, the application XXXX has closed unexpectedly."

"对不起,应用程序XXXX意外关闭了。"

"Sorry, Ubuntu XX.XX has experienced an internal error."

"对不起,Ubuntu XX.XX 发生了一个内部错误。"

"System program problem detected."

"检测到系统程序问题。"

你看的是内核编程或驱动,用的是内核的头文件,在内核目录源码的include里:<asm/semaphore.h>void down(struct semaphore *sem)int down_interruptible(struct semaphore *sem)int down_trylock(struct semaphore *sem)。。。。。。。而应用编程对应的在/usr/include一个是semaphore set 在 "sys/sem.h" 里一个是semaphore 在semaphore里至于这连个的区别和标准参见unix system program 一书


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/7266118.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-03
下一篇 2023-04-03

发表评论

登录后才能评论

评论列表(0条)

保存