[strongSwan] charon dies and leaves core file

Brad Johnson bjohnson at ecessa.com
Wed Oct 21 16:58:29 CEST 2015


Hi Tobias,
I have caused charon to die 3 more times now with strongSwan splitdebug 
enabled. Each time the stack trace is a little different. The common 
things for all of them are thread #1 is in segv_handler with signal=11, 
and gdb reports at least one of the threads having a possible corrupt 
stack. Here's the latest full backtrace for all 21 threads.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/libexec/ipsec/charon --use-syslog'.
Program terminated with signal 6, Aborted.
#0  0xffffe430 in ?? ()

Thread 21 (Thread 0xb60b1b40 (LWP 31254)):
#0  0xffffe430 in ?? ()
#1  0xb60ae998 in ?? ()
#2  0xb7188280 in receiver (this=0x8074f08, packet=0xb60b1268) at 
socket_default_socket.c:174
         buffer = 0xb60ae9c0 ""
         data = <optimized out>
         pkt = <optimized out>
         source = 0x0
         dest = 0x0
         i = <optimized out>
         rr = <optimized out>
         index = <optimized out>
         bytes_read = 0
         selected = -1
         oldstate = <optimized out>
         port = 0
         pfd = {{fd = 12, events = 1, revents = 0}, {fd = 13, events = 
1, revents = 0}, {fd = 10, events = 1, revents = 0}, {fd = 11, events = 
1, revents = 0}}
         ports = {500, 4500, 500, 4500}
#3  0xb76b44c5 in receiver (this=0x8050248, packet=0xb60b1268) at 
network/socket_manager.c:71
         status = <optimized out>
#4  0xb76b327d in receive_packets (this=0x8074f68) at network/receiver.c:426
         id = <optimized out>
         packet = <optimized out>
         message = <optimized out>
         src = <optimized out>
         dst = <optimized out>
         status = <optimized out>
         supported = true
         marker = {ptr = 0xb60b126c "", len = 4}
#5  0xb7740f59 in execute (this=0x8075080) at 
processing/jobs/callback_job.c:77
No locals.
#6  0xb774188a in process_job (worker=0x807ce80, this=0x804e530) at 
processing/processor.c:235
         to_destroy = 0x0
         requeue = <optimized out>
#7  process_jobs (worker=0x807ce80) at processing/processor.c:321
         this = <optimized out>
#8  0xb775292f in thread_main (this=0x806ed80) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1240787864, 1661061473, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb60b1424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x806ed80
         __not_first_call = <optimized out>
         res = <optimized out>
#9  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#10 0xb75d77ae in clone () from /lib/libc.so.6

Thread 20 (Thread 0xb74a9900 (LWP 31251)):
#0  0xffffe430 in ?? ()
#1  0xbf9e9ed8 in ?? ()
#2  0xb7684760 in sigwait () from /lib/libpthread.so.0
#3  0x08049a22 in run () at charon.c:115
         sig = -1219381979
         error = <optimized out>
         set = {__val = {16387, 0 <repeats 31 times>}}
#4  main (argc=2, argv=0xbf9ea444) at charon.c:456
         action = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction 
= 0x1}, sa_mask = {__val = {16387, 0 <repeats 31 times>}}, sa_flags = 0, 
sa_restorer = 0x8}
         group = 18
         status = 66
         utsname = {sysname = "Linux", '\000' <repeats 59 times>, 
nodename = "WVR00123456", '\000' <repeats 53 times>, release = 
"3.10.26-gentoo", '\000' <repeats 50 times>, version = "#4 SMP Wed Mar 4 
15:17:30 CST 2015", '\000' <repeats 30 times>, machine = "i686", '\000' 
<repeats 60 times>, __domainname = "(none)", '\000' <repeats 58 times>}

Thread 19 (Thread 0xb20a9b40 (LWP 31262)):
#0  0xffffe430 in ?? ()
#1  0x0001640b in ?? ()
#2  0x0001640b in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807dde0) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807ddf8) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1307929496, 1610729833, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb20a9424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807ddf8
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 18 (Thread 0xb68b2b40 (LWP 31253)):
#0  0xffffe430 in ?? ()
#1  0xb68b21e8 in ?? ()
#2  0xb77426fc in watch (this=0x804ea38) at processing/watcher.c:347
         revents = -1217986560
         buf = "u"
         old = false
         len = -516
         job = <optimized out>
         enumerator = <optimized out>
         entry = 0x8084ce0
         pfd = 0xb68b2200
         count = 0
         res = <optimized out>
         rebuild = <optimized out>
#3  0xb7740f59 in execute (this=0x8073930) at 
processing/jobs/callback_job.c:77
No locals.
#4  0xb774188a in process_job (worker=0x80510b8, this=0x804e530) at 
processing/processor.c:235
         to_destroy = 0x0
         requeue = <optimized out>
#5  process_jobs (worker=0x80510b8) at processing/processor.c:321
         this = <optimized out>
#6  0xb775292f in thread_main (this=0x806d258) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1232395160, 1667352928, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb68b2424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x806d258
         __not_first_call = <optimized out>
         res = <optimized out>
#7  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#8  0xb75d77ae in clone () from /lib/libc.so.6

Thread 17 (Thread 0xb48aeb40 (LWP 31257)):
#0  0xffffe430 in ?? ()
#1  0x00016404 in ?? ()
#2  0x00016404 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807d688) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807d6a0) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1265965976, 1625409892, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb48ae424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807d6a0
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 16 (Thread 0xb38acb40 (LWP 31259)):
#0  0xffffe430 in ?? ()
#1  0x00016418 in ?? ()
#2  0x00016418 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807d978) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807d990) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1282751384, 1621215594, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb38ac424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807d990
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 15 (Thread 0xb58b0b40 (LWP 31255)):
#0  0xffffe430 in ?? ()
#1  0x00000fad in ?? ()
#2  0x00000fad in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x8075180, mutex=0x8075150) at 
threading/mutex.c:237
No locals.
#6  0xb76b3f57 in send_packets (this=0x80750c0) at network/sender.c:152
         packet = 0xac502c80
         oldstate = false
#7  0xb7740f59 in execute (this=0x8075220) at 
processing/jobs/callback_job.c:77
No locals.
#8  0xb774188a in process_job (worker=0x806ecd8, this=0x804e530) at 
processing/processor.c:235
         to_destroy = 0x0
         requeue = <optimized out>
#9  process_jobs (worker=0x806ecd8) at processing/processor.c:321
         this = <optimized out>
#10 0xb775292f in thread_main (this=0x807d3b0) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1249180568, 1663158630, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb58b0424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807d3b0
         __not_first_call = <optimized out>
         res = <optimized out>
#11 0xb767bf07 in start_thread () from /lib/libpthread.so.0
#12 0xb75d77ae in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb28aab40 (LWP 31261)):
#0  0xffffe430 in ?? ()
#1  0x00016403 in ?? ()
#2  0x00016403 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807dc68) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807dc80) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1299536792, 1617021288, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb28aa424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807dc80
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb40adb40 (LWP 31258)):
#0  0xffffe430 in ?? ()
#1  0x0001641c in ?? ()
#2  0x0001641c in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807d800) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807d818) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1274358680, 1619118437, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb40ad424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807d818
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb70b3b40 (LWP 31252)):
#0  0xffffe430 in ?? ()
#1  0xb70b3208 in ?? ()
#2  0x1a225a78 in ?? ()
#3  0x08073e70 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 11 (Thread 0xb10a7b40 (LWP 31264)):
#0  0xffffe430 in ?? ()
#1  0x0001640c in ?? ()
#2  0x0001640c in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807e0d0) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807e0e8) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1324714904, 1640089967, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb10a7424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807e0e8
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 10 (Thread 0xb30abb40 (LWP 31260)):
#0  0xffffe430 in ?? ()
#1  0x00016413 in ?? ()
#2  0x00016413 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807daf0) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807db08) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1291144088, 1614924139, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb30ab424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807db08
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 9 (Thread 0xad8a0b40 (LWP 31271)):
#0  0xffffe430 in ?? ()
#1  0x00016407 in ?? ()
#2  0x00016407 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807eb18) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807eb30) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1383463832, 1629604182, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xad8a0424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807eb30
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb18a8b40 (LWP 31263)):
#0  0xffffe430 in ?? ()
#1  0x00016414 in ?? ()
#2  0x00016414 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807df58) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807df70) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1316322200, 1612826990, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb18a8424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807df70
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 7 (Thread 0xaf8a4b40 (LWP 31267)):
#0  0xffffe430 in ?? ()
#1  0x00016410 in ?? ()
#2  0x00016410 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807e538) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807e550) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1349893016, 1637992786, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xaf8a4424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807e550
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb00a5b40 (LWP 31266)):
#0  0xffffe430 in ?? ()
#1  0x0001641a in ?? ()
#2  0x0001641a in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807e3c0) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807e3d8) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1341500312, 1635895661, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb00a5424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807e3d8
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 5 (Thread 0xae8a2b40 (LWP 31269)):
#0  0xffffe430 in ?? ()
#1  0x0001640f in ?? ()
#2  0x0001640f in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807e828) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807e840) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1366678424, 1633798480, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xae8a2424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807e840
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb50afb40 (LWP 31256)):
#0  0xffffe430 in ?? ()
#1  0x00016417 in ?? ()
#2  0x00016417 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807d510) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807d528) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1257573272, 1623312743, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xb50af424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807d528
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 3 (Thread 0xae0a1b40 (LWP 31270)):
#0  0xffffe430 in ?? ()
#1  0x00016408 in ?? ()
#2  0x00016408 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807e9a0) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807e9b8) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1375071128, 1627507025, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xae0a1424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807e9b8
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf0a3b40 (LWP 31268)):
#0  0xffffe430 in ?? ()
#1  0x00016400 in ?? ()
#2  0x00016400 in ?? ()
#3  0x00000080 in ?? ()
#4  0xb768052c in pthread_cond_wait () from /lib/libpthread.so.0
#5  0xb775355e in wait_ (this=0x804e630, mutex=0x804e600) at 
threading/mutex.c:237
No locals.
#6  0xb77417b3 in process_jobs (worker=0x807e6b0) at 
processing/processor.c:325
         this = <optimized out>
#7  0xb775292f in thread_main (this=0x807e6c8) at threading/thread.c:303
         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = 
{-1216950272, 0, 4001536, -1358285720, 1631701331, -1619638429}, 
__mask_was_saved = 0}}, __pad = {0xaf0a3424, 0x0, 0x0, 0x0}}
         __cancel_routine = 0xb7752830 <thread_cleanup>
         __cancel_arg = 0x807e6c8
         __not_first_call = <optimized out>
         res = <optimized out>
#8  0xb767bf07 in start_thread () from /lib/libpthread.so.0
#9  0xb75d77ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb08a6b40 (LWP 31265)):
#0  0xffffe430 in ?? ()
#1  0xb08a5a48 in ?? ()
#2  0xb7519a9e in abort () from /lib/libc.so.6
#3  0x08049ebf in segv_handler (signal=11) at charon.c:196
         backtrace = 0xacb01288
#4  0xffffe400 in ?? ()
#5  0x0000000b in ?? ()
#6  0x00000033 in ?? ()
#7  0x00000000 in ?? ()


On 10/20/2015 03:18 AM, Tobias Brunner wrote:
> Hi Brad,
>
>> I have a tar ball of the
>> core file but was unable to successfully send the email with it
>> attached.
> The core file itself doesn't really help, we'd also need the matching
> binaries.  But you could try getting backtraces of all threads by
> loading the core file in GDB and running `thread apply all bt full`.
> The binaries could be stripped, so that might not help that much without
> first rebuilding strongSwan with debug symbols [1].
>
> Regards,
> Tobias
>
> [1] https://wiki.gentoo.org/wiki/Debugging
>



More information about the Users mailing list