Ticket #136 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

bad free in stratcond from submitting stored checks

Reported by: jesus Assigned to: jesus
Priority: blocker Milestone: Wangle
Component: stratcond Severity: critical
Keywords: Cc:

Description

Submitting check 4deb0724-ccee-4360-83bc-255e7b9d989d   10.80.116.3     snmp    4              

Staged 13/13 remembered checks into IEP
Submitting check 1b4e28ba-2fa1-11d2-883f-b9b761bde3fb
no iep handler for: 'C'                              
no iep handler for: 'C'                              
no iep handler for: 'C'                              
no iep handler for: 'C'                              
no iep handler for: 'C'                              
no iep handler for: 'C'                              
no iep handler for: 'C'                              
no iep handler for: 'C'                              
no iep handler for: 'C'                              
no iep handler for: 'C'                              
*** glibc detected *** /w/reconnoiter/src/stratcond: double free or corruption (out): 0x00007f2a24f5eb30 ***
======= Backtrace: =========                                                                                
/lib/libc.so.6[0x7f2a29b42138]                                                                              
/lib/libc.so.6(cfree+0x76)[0x7f2a29b43c76]                                                                  
/w/reconnoiter/src/stratcond[0x42292d]                                                                      
/w/reconnoiter/src/stratcond(eventer_jobq_consume_available+0x73)[0x42ac73]                                 
/w/reconnoiter/src/stratcond(eventer_dispatch_recurrent+0x3c)[0x428e4c]                                     
/w/reconnoiter/src/stratcond[0x42971e]                                                                      
/w/reconnoiter/src/stratcond[0x411abf]                                                                      
/w/reconnoiter/src/stratcond(main+0xbf)[0x411eaf]                                                           
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f2a29aed5c6]                                                      
/w/reconnoiter/src/stratcond[0x4117f9]                                                                      
======= Memory map: ========                                                                                
00400000-0045b000 r-xp 00000000 fb:00 1378567                            /w/reconnoiter/src/stratcond       
0065b000-0065c000 r--p 0005b000 fb:00 1378567                            /w/reconnoiter/src/stratcond       
0065c000-0065e000 rw-p 0005c000 fb:00 1378567                            /w/reconnoiter/src/stratcond       
0065e000-00827000 rw-p 0065e000 00:00 0                                  [heap]
7f2a20000000-7f2a20021000 rw-p 7f2a20000000 00:00 0
7f2a20021000-7f2a24000000 ---p 7f2a20021000 00:00 0
7f2a24548000-7f2a2455e000 r-xp 00000000 fb:00 335506                     /lib/libgcc_s.so.1
7f2a2455e000-7f2a2475d000 ---p 00016000 fb:00 335506                     /lib/libgcc_s.so.1
7f2a2475d000-7f2a2475e000 r--p 00015000 fb:00 335506                     /lib/libgcc_s.so.1
7f2a2475e000-7f2a2475f000 rw-p 00016000 fb:00 335506                     /lib/libgcc_s.so.1
7f2a2475f000-7f2a24760000 ---p 7f2a2475f000 00:00 0
7f2a24760000-7f2a24f60000 rw-p 7f2a24760000 00:00 0
7f2a24f60000-7f2a24f61000 ---p 7f2a24f60000 00:00 0
7f2a24f61000-7f2a25761000 rw-p 7f2a24f61000 00:00 0
7f2a25761000-7f2a2576c000 r-xp 00000000 fb:00 17972879                   /lib/libnss_files-2.9.so
7f2a2576c000-7f2a2596b000 ---p 0000b000 fb:00 17972879                   /lib/libnss_files-2.9.so
7f2a2596b000-7f2a2596c000 r--p 0000a000 fb:00 17972879                   /lib/libnss_files-2.9.so
7f2a2596c000-7f2a2596d000 rw-p 0000b000 fb:00 17972879                   /lib/libnss_files-2.9.so
7f2a2596d000-7f2a2596e000 ---p 7f2a2596d000 00:00 0
7f2a2596e000-7f2a2616e000 rw-p 7f2a2596e000 00:00 0
7f2a2616e000-7f2a2616f000 ---p 7f2a2616e000 00:00 0
7f2a2616f000-7f2a2696f000 rw-p 7f2a2616f000 00:00 0
7f2a2696f000-7f2a26970000 ---p 7f2a2696f000 00:00 0
7f2a26970000-7f2a27170000 rw-p 7f2a26970000 00:00 0
7f2a27170000-7f2a27171000 ---p 7f2a27170000 00:00 0
7f2a27171000-7f2a27971000 rw-p 7f2a27171000 00:00 0
7f2a27971000-7f2a27972000 ---p 7f2a27971000 00:00 0
7f2a27972000-7f2a28172000 rw-p 7f2a27972000 00:00 0
7f2a28172000-7f2a28173000 ---p 7f2a28172000 00:00 0
7f2a28173000-7f2a28973000 rw-p 7f2a28173000 00:00 0
7f2a28973000-7f2a28975000 r-xp 00000000 fb:00 327462                     /lib/libkeyutils-1.2.so
7f2a28975000-7f2a28b74000 ---p 00002000 fb:00 327462                     /lib/libkeyutils-1.2.so
7f2a28b74000-7f2a28b75000 r--p 00001000 fb:00 327462                     /lib/libkeyutils-1.2.so
7f2a28b75000-7f2a28b76000 rw-p 00002000 fb:00 327462                     /lib/libkeyutils-1.2.so
7f2a28b76000-7f2a28b7d000 r-xp 00000000 fb:00 7400786                    /usr/lib/libkrb5support.so.0.1
7f2a28b7d000-7f2a28d7d000 ---p 00007000 fb:00 7400786                    /usr/lib/libkrb5support.so.0.1
7f2a28d7d000-7f2a28d7e000 r--p 00007000 fb:00 7400786                    /usr/lib/libkrb5support.so.0.1
7f2a28d7e000-7f2a28d7f000 rw-p 00008000 fb:00 7400786                    /usr/lib/libkrb5support.so.0.1
7f2a28d7f000-7f2a28db4000 r-xp 00000000 fb:00 6033215                    /usr/lib/libldap_r-2.3.so.0.2.31
7f2a28db4000-7f2a28fb4000 ---p 00035000 fb:00 6033215                    /usr/lib/libldap_r-2.3.so.0.2.31
7f2a28fb4000-7f2a28fb5000 r--p 00035000 fb:00 6033215                    /usr/lib/libldap_r-2.3.so.0.2.31
7f2a28fb5000-7f2a28fb7000 rw-p 00036000 fb:00 6033215                    /usr/lib/libldap_r-2.3.so.0.2.31
7f2a28fb7000-7f2a28fc1000 rw-p 7f2a28fb7000 00:00 0
7f2a28fc
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f2a2d2ca760 (LWP 21922)]
0x00007f2a29b011e5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007f2a29b011e5 in raise () from /lib/libc.so.6
#1  0x00007f2a29b02703 in abort () from /lib/libc.so.6
#2  0x00007f2a29b3c998 in ?? () from /lib/libc.so.6
#3  0x00007f2a29b42138 in ?? () from /lib/libc.so.6
#4  0x00007f2a29b43c76 in free () from /lib/libc.so.6
#5  0x000000000042292d in stratcon_iep_submitter (e=<value optimized out>, mask=21922, closure=0x6, now=0xffffffffffffffff) at stratcon_iep.c:359
#6  0x000000000042ac73 in eventer_jobq_consume_available (e=<value optimized out>, mask=<value optimized out>, closure=0x65e480, now=0x7fff3531e0f0) at eventer_jobq.c:213
#7  0x0000000000428e4c in eventer_dispatch_recurrent (now=0x7fff3531e0f0) at eventer_impl.c:176
#8  0x000000000042971e in eventer_epoll_impl_loop () at eventer_epoll_impl.c:322
#9  0x0000000000411abf in child_main () at stratcond.c:194
#10 0x0000000000411eaf in main (argc=<value optimized out>, argv=<value optimized out>) at stratcond.c:208
(gdb)

Change History

05/24/09 02:15:21 changed by jesus

(In [729]) I think this should fix the issue, refs #136

06/02/09 03:09:29 changed by jesus

  • status changed from new to closed.
  • resolution set to fixed.