This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2482] New: When sending signal to my applications, some of the core routines such as malloc,free, fclose,fopen hangs


Hi,

I have a multithreaded application and I send a SIGUSR2 signal to let it know 
it should terminate. In the code I have which terminates it after the signal 
handler terminated by a call to longjmp, I do calls to malloc, free, fclose, 
fopen. Very often my application deadlock in those routines.

Is this a bug, or am I not doing something right with the handling of signals?

I'm using RedHat 7.1 on a dual processor. The version of glibc I have is 2.1.92.

Thanks,
Manu

-- 
           Summary: When sending signal to my applications, some of the core
                    routines such as malloc,free, fclose,fopen hangs
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: manus at eiffel dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2482

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]