[strongSwan-dev] exception in malloc, mainly during list operations

SM K sacho.polo at gmail.com
Fri Mar 27 03:01:30 CET 2015


Hi,

I am using 5.1.2 and am seeing crashes under load. The crashes are mainly
during memory allocation (there is lot of memory available). Also, the
stack trace shows list operations. Following is one stack trace from a
crash. Has anyone seen such crashes or know of a bug fix for any memory
related issues. I have https://wiki.strongswan.org/issues/548, which i
thought would fix many of the collection related issues I have seen

(gdb) bt
#0  0x00007ff44fae6845 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ff44faea390 in *__GI_abort () at abort.c:92
#2  0x00007ff44fb30970 in __malloc_assert (bytes=24) at malloc.c:352
#3  *__GI___libc_malloc (bytes=24) at malloc.c:3682
#4  0x00007ff450972bae in element_create (value=0x7ff42c33d0f0) at
collections/linked_list.c:56
#5  0x00007ff450972bdc in insert_last (this=0x19f9280, item=0x40d0) at
collections/linked_list.c:260
#6  0x00007ff45098bc32 in thread_cleanup_push (cleanup=0x7ff45098c4f0
<unlock>, arg=0x19aac50) at threading/thread.c:384
#7  0x00007ff45098947c in schedule (this=0x19aac00) at
processing/scheduler.c:213
#8  0x00007ff45098826e in execute (this=0x0) at
processing/jobs/callback_job.c:77
#9  0x00007ff450988ca9 in process_job (worker=0x19f91d0) at
processing/processor.c:235
#10 process_jobs (worker=0x19f91d0) at processing/processor.c:321
#11 0x00007ff45098c007 in thread_main (this=<value optimized out>) at
threading/thread.c:309
#12 0x00007ff4500469ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#13 0x00007ff44fb9e45d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thanx,
sk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20150326/e6007a93/attachment.html>


More information about the Dev mailing list