[strongSwan] Process /usr/libexec/ipsec/charon was killed by signal 11 (SIGSEGV)

Gabriel VLASIU gabriel at vlasiu.net
Tue Dec 6 09:34:25 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Every time I stop ipsec, strongswan exit with a crash. Fedora 16, x86_64:

Dec  6 10:21:40 iXXXXX abrtd: Directory 'ccpp-2011-12-06-10:21:39-4398' creation detected
Dec  6 10:21:40 iXXXXX abrt[4422]: Saved core dump of pid 4398 (/usr/libexec/ipsec/charon) to /var/spool/abrt/ccpp-2011-12-06-10:21:39-4398 (36352000 bytes)
Dec  6 10:21:40 iXXXXX abrtd: New dump directory /var/spool/abrt/ccpp-2011-12-06-10:21:39-4398, processing

cmdline: /usr/libexec/ipsec/charon --use-syslog
Backtrace attached.


Sincerely,
Gabriel
	
- -- 

// Gabriel VLASIU
//
// OpenGPG-KeyID      : 0xE684206E
// OpenGPG-Fingerprint: 0C3D 9F8B 725D E243 CB3C 8428 796A DB1F E684 206E
// OpenGPG-URL        : http://www.vlasiu.net/public.key

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk7d05EACgkQeWrbH+aEIG7zjACeJSq5p/7Ka7RyJtCa9CWUkLaG
41cAoIPaO2uGTf7LPyv+PYUJ0NNi+zh7
=MA5s
-----END PGP SIGNATURE-----
-------------- next part --------------
[New LWP 4398]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/ipsec/charon --use-syslog'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000004024af in segv_handler (signal=11) at charon.c:218
218		DBG1(DBG_DMN, "thread %u received %d", thread_current_id(), signal);

Thread 1 (Thread 0x7f8b996f6700 (LWP 4398)):
#0  0x00000000004024af in segv_handler (signal=11) at charon.c:218
        backtrace = <optimized out>
#1  <signal handler called>
No symbol table info available.
#2  0x00007f8b986c14a0 in ?? ()
No symbol table info available.
#3  0x00007f8b99b8057a in destroy (this=0x1ff9800) at credentials/sets/cert_cache.c:345
        rel = 0x1ff9840
        i = <optimized out>
#4  0x00007f8b99b7e979 in destroy (this=0x1ff9650) at credentials/credential_manager.c:1103
No locals.
#5  0x00007f8b99b7116f in library_deinit () at library.c:68
        this = 0x1ff6010
        detailed = true
#6  0x00000000004018ba in main (argc=<optimized out>, argv=<optimized out>) at charon.c:595
        action = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {16387, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0xf63d4e2e}
        use_syslog = <optimized out>
        levels = {LEVEL_CTRL <repeats 15 times>}
        group = 15
        status = 0
From                To                  Syms Read   Shared Object Library
0x00007f8b99b70ce0  0x00007f8b99b8dc58  Yes         /usr/lib64/ipsec/libstrongswan.so.0.0.0
0x00007f8b9995d7f0  0x00007f8b9995fb68  Yes         /usr/lib64/ipsec/libhydra.so.0.0.0
0x00007f8b99719960  0x00007f8b99747038  Yes         /usr/lib64/ipsec/libcharon.so.0.0.0
0x0000003d9d6051b0  0x0000003d9d643b68  Yes         /lib64/libm.so.6
0x0000003d9ce05700  0x0000003d9ce10b78  Yes         /lib64/libpthread.so.0
0x0000003d9ca00de0  0x0000003d9ca01918  Yes         /lib64/libdl.so.2
0x0000003d9c61ef10  0x0000003d9c759920  Yes         /lib64/libc.so.6
0x0000003d9da02260  0x0000003d9da05758  Yes         /lib64/librt.so.1
0x0000003d9d2028a0  0x0000003d9d2120b8  Yes         /lib64/libgcc_s.so.1
0x0000003d9c200b20  0x0000003d9c21aaaa  Yes         /lib64/ld-linux-x86-64.so.2
0x0000003da0a03940  0x0000003da0a14018  Yes         /lib64/libresolv.so.2
0x00007f8b8e435130  0x00007f8b8e43c9a8  Yes         /lib64/libnss_files.so.2
0x00007f8b8e22c010  0x00007f8b8e230de8  Yes         /lib64/libnss_dns.so.2
$1 = 0x0
No symbol "__glib_assert_msg" in current context.
rax            0x0	0
rbx            0x0	0
rcx            0x3d9c9ae718	264620402456
rdx            0x7fffd7126dc0	140736801697216
rsi            0x7fffd7126ef0	140736801697520
rdi            0xb	11
rbp            0xb	0xb
rsp            0x7fffd7126da0	0x7fffd7126da0
r8             0x1ffac98	33533080
r9             0x1	1
r10            0x0	0
r11            0x3	3
r12            0x1ff9800	33527808
r13            0x1	1
r14            0x1ffdf20	33546016
r15            0x1	1
rip            0x4024af	0x4024af <segv_handler+15>
eflags         0x10206	[ PF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
Dump of assembler code for function segv_handler:
   0x00000000004024a0 <+0>:	push   %rbp
   0x00000000004024a1 <+1>:	mov    %edi,%ebp
   0x00000000004024a3 <+3>:	push   %rbx
   0x00000000004024a4 <+4>:	sub    $0x8,%rsp
   0x00000000004024a8 <+8>:	mov    0x201cf9(%rip),%rax        # 0x6041a8 <charon>
=> 0x00000000004024af <+15>:	mov    0x38(%rax),%rax
   0x00000000004024b3 <+19>:	mov    0x28(%rax),%rbx
   0x00000000004024b7 <+23>:	xor    %eax,%eax
   0x00000000004024b9 <+25>:	callq  0x401310 <thread_current_id at plt>
   0x00000000004024be <+30>:	mov    %eax,%r8d
   0x00000000004024c1 <+33>:	mov    0x201ce0(%rip),%rax        # 0x6041a8 <charon>
   0x00000000004024c8 <+40>:	mov    %ebp,%r9d
   0x00000000004024cb <+43>:	mov    $0x402718,%ecx
   0x00000000004024d0 <+48>:	mov    $0x1,%edx
   0x00000000004024d5 <+53>:	xor    %esi,%esi
   0x00000000004024d7 <+55>:	mov    0x38(%rax),%r10
   0x00000000004024db <+59>:	xor    %eax,%eax
   0x00000000004024dd <+61>:	mov    %r10,%rdi
   0x00000000004024e0 <+64>:	callq  *%rbx
   0x00000000004024e2 <+66>:	mov    $0x2,%edi
   0x00000000004024e7 <+71>:	callq  0x401230 <backtrace_create at plt>
   0x00000000004024ec <+76>:	mov    %rax,%rbx
   0x00000000004024ef <+79>:	mov    %rax,%rdi
   0x00000000004024f2 <+82>:	mov    $0x1,%edx
   0x00000000004024f7 <+87>:	mov    0x201cd2(%rip),%rsi        # 0x6041d0 <stderr>
   0x00000000004024fe <+94>:	callq  *(%rax)
   0x0000000000402500 <+96>:	mov    %rbx,%rdi
   0x0000000000402503 <+99>:	callq  *0x20(%rbx)
   0x0000000000402506 <+102>:	mov    0x201c9b(%rip),%rax        # 0x6041a8 <charon>
   0x000000000040250d <+109>:	mov    $0x402aa8,%ecx
   0x0000000000402512 <+114>:	mov    $0x1,%edx
   0x0000000000402517 <+119>:	xor    %esi,%esi
   0x0000000000402519 <+121>:	mov    0x38(%rax),%r8
   0x000000000040251d <+125>:	xor    %eax,%eax
   0x000000000040251f <+127>:	mov    %r8,%rdi
   0x0000000000402522 <+130>:	callq  *0x28(%r8)
   0x0000000000402526 <+134>:	callq  0x4011c0 <abort at plt>
End of assembler dump.


More information about the Users mailing list