摘要:
sometime our project can run into some seem strange problem during we delete someobj , some of the code are .a static library file that we can't check it's code.we currently use singleton to do a proxy job to avoid this core dump problem. ----- we only delete them when the system goes shut d 阅读全文
摘要:
according to preview article 【并发服务器系列】3 epoll模型I use tcpdump to analyze how tcp build up a connection, send a message ,and close the connection. (code are available in the preview article.)client(172.18.70.159) use a random port 49538 to connection server(172.18.70.149:54321)now I print out the clie 阅读全文
摘要:
I spend more than a week to debug a problem about program crash,feeling funstrated all the week until the day I finally solove the problem.In order not to commit such kind of mistake, I write this article to summary the note point when I write code in the future and should obey the rule as much as p 阅读全文
摘要:
信号 描述 默认行为SIGABRT 进程放弃 与实现有关SIGALRM 报警时钟 为正常终止SIGBUS 访问了内存对象中的未定义部分 与实现有关 SIGCHLD 子进程被终止、停止或继续 忽略SIGCONT 如果进程被停止了,本信号使进程继续执行 继续 SIGFPE 算术计算中出现了被零除的错误 与实现有关 SIGHUP 在控制终端或进程上挂起或终止 非正常终止 SIGILL ... 阅读全文