← Back to team overview

rohc team mailing list archive

[Question #227954]: iprohc_server memory leak?

 

New question #227954 on rohc:
https://answers.launchpad.net/rohc/+question/227954

i got iprohc_server stopped two times with following message.

*** glibc detected *** iprohc_server: free(): invalid pointer: 0x083cc1d5 ***
======= Backtrace: =========
/lib/libc.so.6[0x5974a5]
/lib/libc.so.6(cfree+0x59)[0x5978e9]
iprohc_server[0x80e3662]
iprohc_server(asn1_delete_structure+0x54)[0x80e57c4]
iprohc_server(gnutls_global_deinit+0x47)[0x807ae07]
iprohc_server(main+0x1323)[0x8063445]
/lib/libc.so.6(__libc_start_main+0xdc)[0x543e9c]
iprohc_server[0x80619e1]
======= Memory map: ========
0050f000-0052a000 r-xp 00000000 08:03 3080226    /lib/ld-2.5.so
0052a000-0052b000 r--p 0001a000 08:03 3080226    /lib/ld-2.5.so
0052b000-0052c000 rw-p 0001b000 08:03 3080226    /lib/ld-2.5.so
0052e000-00682000 r-xp 00000000 08:03 3080232    /lib/libc-2.5.so
00682000-00683000 ---p 00154000 08:03 3080232    /lib/libc-2.5.so
00683000-00685000 r--p 00154000 08:03 3080232    /lib/libc-2.5.so
00685000-00686000 rw-p 00156000 08:03 3080232    /lib/libc-2.5.so
00686000-00689000 rw-p 00686000 00:00 0
00692000-006a7000 r-xp 00000000 08:03 3080493    /lib/libpthread-2.5.so
006a7000-006a8000 ---p 00015000 08:03 3080493    /lib/libpthread-2.5.so
006a8000-006a9000 r--p 00015000 08:03 3080493    /lib/libpthread-2.5.so
006a9000-006aa000 rw-p 00016000 08:03 3080493    /lib/libpthread-2.5.so
006aa000-006ac000 rw-p 006aa000 00:00 0
00820000-00821000 r-xp 00820000 00:00 0          [vdso]
009f6000-00a01000 r-xp 00000000 08:03 3081528    /lib/libgcc_s-4.1.2-20080825.so                                         .1
00a01000-00a02000 rw-p 0000a000 08:03 3081528    /lib/libgcc_s-4.1.2-20080825.so                                         .1
08048000-081cd000 r-xp 00000000 08:03 27152002   /usr/bin/iprohc_server
081cd000-081d0000 rw-p 00184000 08:03 27152002   /usr/bin/iprohc_server
081d0000-081d1000 rw-p 081d0000 00:00 0
083c4000-0842c000 rw-p 083c4000 00:00 0          [heap]
b6146000-b6147000 ---p b6146000 00:00 0
b6147000-b6b47000 rw-p b6147000 00:00 0
b6b47000-b6b48000 ---p b6b47000 00:00 0
b6b48000-b7548000 rw-p b6b48000 00:00 0
b7548000-b7549000 ---p b7548000 00:00 0
b7549000-b7f4a000 rw-p b7549000 00:00 0
b7f53000-b7f55000 rw-p b7f53000 00:00 0
bf826000-bf83b000 rw-p bffe9000 00:00 0          [stack]
Aborted



*** glibc detected *** iprohc_server: malloc(): smallbin double linked list corrupted: 0x08eaa238 ***
======= Backtrace: =========
/lib/libc.so.6[0x598b76]
/lib/libc.so.6(__libc_malloc+0x67)[0x599d97]
/lib/libc.so.6(__strdup+0x30)[0x59df80]
iprohc_server[0x80e3780]
iprohc_server[0x80e5dd5]
iprohc_server(asn1_der_coding+0x31)[0x80dcea1]
iprohc_server(_gnutls_x509_export_int_named+0x59)[0x8099139]
iprohc_server(_gnutls_x509_export_int+0x43)[0x8099383]
iprohc_server(gnutls_x509_crt_export+0x42)[0x809c052]
iprohc_server(_gnutls_x509_crt_to_gcert+0x189)[0x807a219]
iprohc_server(_gnutls_x509_raw_cert_to_gcert+0x50)[0x807a340]
iprohc_server(_gnutls_proc_cert_server_certificate+0x516)[0x807ee06]
iprohc_server(_gnutls_recv_client_certificate+0xc2)[0x8070c22]
iprohc_server(_gnutls_handshake_server+0x260)[0x806e370]
iprohc_server(gnutls_handshake+0x2a)[0x806e72a]
iprohc_server(new_client+0x11d)[0x8063731]
iprohc_server(main+0xd27)[0x8062e49]
/lib/libc.so.6(__libc_start_main+0xdc)[0x543e9c]
iprohc_server[0x80619e1]
======= Memory map: ========
0050f000-0052a000 r-xp 00000000 08:03 3080226    /lib/ld-2.5.so
0052a000-0052b000 r--p 0001a000 08:03 3080226    /lib/ld-2.5.so
0052b000-0052c000 rw-p 0001b000 08:03 3080226    /lib/ld-2.5.so
0052e000-00682000 r-xp 00000000 08:03 3080232    /lib/libc-2.5.so
00682000-00683000 ---p 00154000 08:03 3080232    /lib/libc-2.5.so
00683000-00685000 r--p 00154000 08:03 3080232    /lib/libc-2.5.so
00685000-00686000 rw-p 00156000 08:03 3080232    /lib/libc-2.5.so
00686000-00689000 rw-p 00686000 00:00 0
00692000-006a7000 r-xp 00000000 08:03 3080493    /lib/libpthread-2.5.so
006a7000-006a8000 ---p 00015000 08:03 3080493    /lib/libpthread-2.5.so
006a8000-006a9000 r--p 00015000 08:03 3080493    /lib/libpthread-2.5.so
006a9000-006aa000 rw-p 00016000 08:03 3080493    /lib/libpthread-2.5.so
006aa000-006ac000 rw-p 006aa000 00:00 0
009f6000-00a01000 r-xp 00000000 08:03 3081528    /lib/libgcc_s-4.1.2-20080825.so                                                                           .1
00a01000-00a02000 rw-p 0000a000 08:03 3081528    /lib/libgcc_s-4.1.2-20080825.so                                                                           .1
00a63000-00a64000 r-xp 00a63000 00:00 0          [vdso]
08047000-081cd000 r-xp 00000000 08:03 27152001   /usr/bin/iprohc_server
081cd000-081d0000 rw-p 00185000 08:03 27152001   /usr/bin/iprohc_server
081d0000-081d1000 rw-p 081d0000 00:00 0
08ea2000-08f0a000 rw-p 08ea2000 00:00 0          [heap]
b6000000-b6021000 rw-p b6000000 00:00 0
b6021000-b6100000 ---p b6021000 00:00 0
b6128000-b6129000 ---p b6128000 00:00 0
b6129000-b6b29000 rw-p b6129000 00:00 0
b6b29000-b6b2a000 ---p b6b29000 00:00 0
b6b2a000-b752a000 rw-p b6b2a000 00:00 0
b752a000-b752b000 ---p b752a000 00:00 0
b752b000-b7f2c000 rw-p b752b000 00:00 0
b7f35000-b7f37000 rw-p b7f35000 00:00 0
bfe63000-bfe78000 rw-p bffe9000 00:00 0          [stack]
Aborted




-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.