SIGSEGV in DeleteCert called from child-termination signal handler #765

michaelrsweet opened this Issue Jun 11, 2004 · 1 comment


None yet
1 participant

michaelrsweet commented Jun 11, 2004

Version: 1.1.19 User: wolfram.joost.dak

The signal-handler for terminated child-processes calls the funtion DeleteCert. DeleteCert uses the function free which isn't reentrant ( This can cause a SIGSEGV:

Core was generated by `/usr/sbin/cupsd'.
Program terminated with signal 11, Segmentation fault.
#0 0x4020a763 in chunk_free () from /lib/i686/
#1 0x4020a666 in free () from /lib/i686/
#2 0x0804eddb in DeleteCert (pid=25740) at cert.c:182
#3 0x0805ef98 in sigchld_handler (sig=17) at main.c:1032
#5 0x4020a85b in chunk_free () from /lib/i686/
#6 0x4020a666 in free () from /lib/i686/
#7 0x40079f3d in CRYPTO_free () from /usr/lib/
#8 0x08051189 in ReadClient (con=0x402cf668) at client.c:1935
#9 0x0805df5f in main (argc=1, argv=0xbffffe44) at main.c:591
#10 0x401b44c2 in __libc_start_main () from /lib/i686/


michaelrsweet commented Jun 12, 2004 User: mike

This is already fixed in 1.1.20. Please upgrade.

michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment