pro-a-v / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

process will not exit after received 11 signal if do memory operate in main process #183

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. send 11 signal to process
2. preocess did not exit

What is the expected output? What do you see instead?
process should exit,but it did not!

What version of the product are you using? On what operating system?
glog-0.3.3

Please provide any additional information below.
do memory operate in main,then kill -1 pid ,it will not exit!

test code as bellow:

#include <glog/logging.h>
#include <stdlib.h>
int main(int argc,char *argv[])
{

    char *test;
    google::InitGoogleLogging(argv[0]);
    google::InstallFailureSignalHandler();    

    while(1)
    {
        test=(char *)malloc(11);
        free(test);
    }
}

Original issue reported on code.google.com by huangzhe...@126.com on 17 Jan 2014 at 1:21