[Varnish] #72: glibc detected double free or corruption

Varnish varnish-bugs at projects.linpro.no
Fri Nov 17 21:30:05 CET 2006


#72: glibc detected double free or corruption
----------------------+-----------------------------------------------------
 Reporter:  mark      |       Owner:  phk
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:     
Component:  varnishd  |     Version:  1.0
 Severity:  normal    |    Keywords:     
----------------------+-----------------------------------------------------
 varnish 1.0.2 just crashed with the following backtrace:

 {{{
 *** glibc detected *** /usr/local/sbin/varnishd: double free or corruption
 (fasttop): 0x00000000005f49b0 ***
 ======= Backtrace: =========
 /lib/libc.so.6[0x2b1c7d247733]
 /lib/libc.so.6(__libc_free+0x84)[0x2b1c7d2478b4]
 /lib/libc.so.6(freeaddrinfo+0x28)[0x2b1c7d28e2d8]
 /usr/local/sbin/varnishd[0x407044]
 /usr/local/sbin/varnishd[0x40726a]
 /usr/local/sbin/varnishd[0x407396]
 /usr/local/sbin/varnishd[0x4077fd]
 /usr/local/sbin/varnishd(VBE_GetFd+0x1e)[0x407a37]
 /usr/local/sbin/varnishd(FetchHeaders+0x194)[0x40b848]
 /usr/local/sbin/varnishd[0x409198]
 /usr/local/sbin/varnishd(CNT_Session+0x314)[0x409aa9]
 /usr/local/sbin/varnishd[0x4115fb]
 /usr/local/sbin/varnishd[0x4119b7]
 /lib/libpthread.so.0[0x2b1c7d41f3ca]
 /lib/libc.so.6(__clone+0x6d)[0x2b1c7d2a655d]
 ======= Memory map: ========
 00400000-0042e000 r-xp 00000000 08:01 245218
 /usr/local/sbin/varnishd
 0052e000-00530000 rw-p 0002e000 08:01 245218
 /usr/local/sbin/varnishd
 00530000-0061f000 rw-p 00530000 00:00 0
 [heap]
 40000000-40001000 ---p 40000000 00:00 0
 40001000-40801000 rw-p 40001000 00:00 0
 40801000-40802000 ---p 40801000 00:00 0
 40802000-41002000 rw-p 40802000 00:00 0
 41002000-41003000 ---p 41002000 00:00 0
 41003000-41803000 rw-p 41003000 00:00 0
 41803000-41804000 ---p 41803000 00:00 0
 41804000-42004000 rw-p 41804000 00:00 0
 42004000-42005000 ---p 42004000 00:00 0
 42005000-42805000 rw-p 42005000 00:00 0
 42805000-42806000 ---p 42805000 00:00 0
 42806000-43006000 rw-p 42806000 00:00 0
 43006000-43007000 ---p 43006000 00:00 0
 43007000-43807000 rw-p 43007000 00:00 0
 43807000-43808000 ---p 43807000 00:00 0
 43808000-44008000 rw-p 43808000 00:00 0
 44008000-44009000 ---p 44008000 00:00 0
 44009000-44809000 rw-p 44009000 00:00 0
 44809000-4480a000 ---p 44809000 00:00 0
 4480a000-4500a000 rw-p 4480a000 00:00 0
 4500a000-4500b000 ---p 4500a000 00:00 0
 4500b000-4580b000 rw-p 4500b000 00:00 0
 4580b000-4580c000 ---p 4580b000 00:00 0
 4580c000-4600c000 rw-p 4580c000 00:00 0
 4600c000-4600d000 ---p 4600c000 00:00 0
 4600d000-4680d000 rw-p 4600d000 00:00 0
 4680d000-4680e000 ---p 4680d000 00:00 0
 4680e000-4700e000 rw-p 4680e000 00:00 0
 4700e000-4700f000 ---p 4700e000 00:00 0
 4700f000-4780f000 rw-p 4700f000 00:00 0
 4780f000-47810000 ---p 4780f000 00:00 0
 47810000-48010000 rw-p 47810000 00:00 0
 48010000-48011000 ---p 48010000 00:00 0
 48011000-48811000 rw-p 48011000 00:00 0
 48811000-48812000 ---p 48811000 00:00 0
 48812000-49012000 rw-p 48812000 00:00 0
 49012000-49013000 ---p 49012000 00:00 0
 49013000-49813000 rw-p 49013000 00:00 0
 49813000-49814000 ---p 49813000 00:00 0
 49814000-4a014000 rw-p 49814000 00:00 0
 4a014000-4a015000 ---p 4a014000 00:00 0
 4a015000-4a815000 rw-p 4a015000 00:00 0
 4a815000-4a816000 ---p 4a815000 00:00 0
 4a816000-4b016000 rw-p 4a816000 00:00 0
 4b016000-4b017000 ---p 4b016000 00:00 0
 4b017000-4b817000 rw-p 4b017000 00:00 0
 4b817000-4b818000 ---p 4b817000 00:00 0
 4b818000-4c018000 rw-p 4b818000 00:00 0
 4c018000-4c019000 ---p 4c018000 00:00 0
 4c019000-4c819000 rw-p 4c019000 00:00 0
 4c819000-4c81a000 ---p 4c819000 00:00 0
 4c81a000-4d01a000 rw-p 4c81a000 00:00 0
 4d01a000-4d01b000 ---p 4d01a000 00:00 0
 4d01b000-4d81b000 rw-p 4d01b000 00:00 0
 4d81b000-4d81c000 ---p 4d81b000 00:00 0
 4d81c000-4e01c000 rw-p 4d81c000 00:00 0
 4e01c000-4e01d000 ---p 4e01c000 00:00 0
 4e01d000-4e81d000 rw-p 4e01d000 00:00 0
 4e81d000-4e81e000 ---p 4e81d000 00:00 0
 4e81e000-4f01e000 rw-p 4e81e000 00:00 0
 4f01e000-4f01f000 ---p 4f01e000 00:00 0
 4f01f000-4f81f000 rw-p 4f01f000 00:00 0
 4f81f000-4f820000 ---p 4f81f000 00:00 0
 4f820000-50020000 rw-p 4f820000 00:00 0
 50020000-50021000 ---p 50020000 00:00 0
 50021000-50821000 rw-p 50021000 00:00 0
 50821000-50822000 ---p 50821000 00:00 0
 50822000-51022000 rw-p 50822000 00:00 0
 51022000-51023000 ---p 51022000 00:00 0
 51023000-51823000 rw-p 51023000 00:00 0
 51823000-51824000 ---p 51823000 00:00 0
 51824000-52024000 rw-p 51824000 00:00 0
 52024000-52025000 ---p 52024000 00:00 0
 52025000-52825000 rw-p 52025000 00:00 0
 52825000-52826000 ---p 52825000 00:00 0
 52826000-53026000 rw-p 52826000 00:00 0
 53026000-53027000 ---p 53026000 00:00 0
 53027000-53827000 rw-p 53027000 00:00 0
 53827000-53828000 ---p 53827000 00:00 0
 53828000-54028000 rw-p 53828000 00:00 0
 54028000-54029000 ---p 54028000 00:00 0
 54029000-54829000 rw-p 54029000 00:00 0
 54829000-5482a000 ---p 54829000 00:00 0
 5482a000-5502a000 rw-p 5482a000 00:00 0
 5502a000-5502b000 ---p 5502a000 00:00 0
 5502b000-5582b000 rw-p 5502b000 00:00 0
 5582b000-5582c000 ---p 5582b000 00:00 0
 5582c000-5602c000 rw-p 5582c000 00:00 0
 5602c000-5602d000 ---p 5602c000 00:00 0
 5602d000-5682d000 rw-p 5602d000 00:00 0
 5682d000-5682e000 ---p 5682d000 00:00 0
 5682e000-5702e000 rw-p 5682e000 00:00 0
 5702e000-5702f000 ---p 5702e000 00:00 0
 5702f000-5782f000 rw-p 5702f000 00:00 0
 5782f000-57830000 ---p 5782f000 00:00 0
 57830000-58030000 rw-p 57830000 00:00 0
 58030000-58031000 ---p 58030000 00:00 0
 58031000-58831000 rw-p 58031000 00:00 0
 58831000-58832000 ---p 58831000 00:00 0
 58832000-59032000 rw-p 58832000 00:00 0
 59032000-59033000 ---p 59032000 00:00 0
 59033000-59833000 rw-p 59033000 00:00 0
 59833000-59834000 ---p 59833000 00:00 0
 59834000-5a034000 rw-p 59834000 00:00 0
 5a034000-5a035000 ---p 5a034000 00:00 0
 5a035000-5a835000 rw-p 5a035000 00:00 0
 5a835000-5a836000 ---p 5a835000 00:00 0
 5a836000-5b036000 rw-p 5a836000 00:00 0
 5b036000-5b037000 ---p 5b036000 00:00 0
 5b037000-5b837000 rw-p 5b037000 00:00 0
 5b837000-5b838000 ---p 5b837000 00:00 0
 5b838000-5c038000 rw-p 5b838000 00:00 0
 5c038000-5c039000 ---p 5c038000 00:00 0
 5c039000-5c839000 rw-p 5c039000 00:00 0
 5c839000-5c83a000 ---p 5c839000 00:00 0
 5c83a000-5d03a000 rw-p 5c83a000 00:00 0
 5d03a000-5d03b000 ---p 5d03a000 00:00 0
 5d03b000-5d83b000 rw-p 5d03b000 00:00 0
 5d83b000-5d83c000 ---p 5d83b000 00:00 0
 5d83c000-5e03c000 rw-p 5d83c000 00:00 0
 5e03c000-5e03d000 ---p 5e03c000 00:00 0
 5e03d000-5e83d000 rw-p 5e03d000 00:00 0
 5e83d000-5e83e000 ---p 5e83d000 00:00 0
 5e83e000-5f83f000 rw-p 5e83e000 00:00 0
 2aaaaaaab000-2aaaaabab000 rw-p 2aaaaaaab000 00:00 0
 2aaaaabab000-2aab1c514000 rw-s 00000000 08:01 179169
 /tmp/varnish.JNUJ09 (deleted)
 2aab1c514000-2aab1c516000 r-xp 00000000 08:01 179175
 /tmp/vcl.XXjlKsev
 2aab1c516000-2aab1c615000 ---p 00002000 08:01 179175
 /tmp/vcl.XXjlKsev
 2aab1c615000-2aab1c616000 rw-p 00001000 08:01 179175
 /tmp/vcl.XXjlKsev
 2aab1c700000-2aab1c76d000 rw-p 2aab1c700000 00:00 0
 2aab1c76d000-2aab1c800000 ---p 2aab1c76d000 00:00 0
 2aab1c800000-2aab1c826000 rw-p 2aab1c800000 00:00 0
 2aab1c826000-2aab1c900000 ---p 2aab1c826000 00:00 0
 2aab1c900000-2aab1c928000 rw-p 2aab1c900000 00:00 0
 2aab1c928000-2aab1ca00000 ---p 2aab1c928000 00:00 0
 2aab1ca00000-2aab1ca0d000 r-xp 00000000 08:01 276959
 /lib/libgcc_s.so.1
 2aab1ca0d000-2aab1cb0c000 ---p 0000d000 08:01 276959
 /lib/libgcc_s.so.1
 2aab1cb0c000-2aab1cb0d000 rw-p 0000c000 08:01 276959
 /lib/libgcc_s.so.1
 2aab1cc00000-2aab1cc25000 rw-p 2aab1cc00000 00:00 0
 2aab1cc25000-2aab1cd00000 ---p 2aab1cc25000 00:00 0
 2aab1cd00000-2aab1cd21000 rw-p 2aab1cd00000 00:00 0
 2aab1cd21000-2aab1ce00000 ---p 2aab1cd21000 00:00 0
 2b1c7cc95000-2b1c7ccb1000 r-xp 00000000 08:01 276909
 /lib/ld-2.4.so
 2b1c7ccb1000-2b1c7ccb4000 rw-p 2b1c7ccb1000 00:00 0
 2b1c7cdb0000-2b1c7cdb2000 rw-p 0001b000 08:01 276909
 /lib/ld-2.4.so
 2b1c7cdb2000-2b1c7cdb7000 r-xp 00000000 08:01 245203
 /usr/local/lib/libvarnish.so.0.0.0
 2b1c7cdb7000-2b1c7ceb7000 ---p 00005000 08:01 245203
 /usr/local/lib/libvarnish.so.0.0.0
 2b1c7ceb7000-2b1c7ceb8000 rw-p 00005000 08:01 245203
 /usr/local/lib/libvarnish.so.0.0.0
 2b1c7ceb8000-2b1c7cec8000 r-xp 00000000 08:01 245213
 /usr/local/lib/libvcl.so.0.0.0
 2b1c7cec8000-2b1c7cfc7000 ---p 00010000 08:01 245213
 /usr/local/lib/libvcl.so.0.0.0
 2b1c7cfc7000-2b1c7cfc8000 rw-p 0000f000 08:01 245213
 /usr/local/lib/libvcl.so.0.0.0
 2b1c7cfcb000-2b1c7cfcd000 r-xp 00000000 08:01 276918
 /lib/libdl-2.4.so
 2b1c7cfcd000-2b1c7d0cd000 ---p 00002000 08:01 276918
 /lib/libdl-2.4.so
 2b1c7d0cd000-2b1c7d0cf000 rw-p 00002000 08:01 276918
 /lib/libdl-2.4.so
 2b1c7d0cf000-2b1c7d0d7000 r-xp 00000000 08:01 276931
 /lib/librt-2.4.so
 2b1c7d0d7000-2b1c7d1d6000 ---p 00008000 08:01 276931
 /lib/librt-2.4.so
 2b1c7d1d6000-2b1c7d1d8000 rw-p 00007000 08:01 276931
 /lib/librt-2.4.so
 2b1c7d1d8000-2b1c7d1d9000 rw-p 2b1c7d1d8000 00:00 0
 2b1c7d1d9000-2b1c7d30f000 r-xp 00000000 08:01 276915
 /lib/libc-2.4.so
 2b1c7d30f000-2b1c7d40f000 ---p 00136000 08:01 276915
 /lib/libc-2.4.so
 2b1c7d40f000-2b1c7d412000 r--p 00136000 08:01 276915
 /lib/libc-2.4.so
 2b1c7d412000-2b1c7d414000 rw-p 00139000 08:01 276915
 /lib/libc-2.4.so
 2b1c7d414000-2b1c7d419000 rw-p 2b1c7d414000 00:00 0
 2b1c7d419000-2b1c7d42a000 r-xp 00000000 08:01 276929
 /lib/libpthread-2.4.so
 2b1c7d42a000-2b1c7d529000 ---p 00011000 08:01 276929
 /lib/libpthread-2.4.so
 2b1c7d529000-2b1c7d52b000 rw-p 00010000 08:01 276929
 /lib/libpthread-2.4.so
 2b1c7d52b000-2b1c7d531000 rw-p 2b1c7d52b000 00:00 0
 2b1c7d531000-2b1c7d53b000 r-xp 00000000 08:01 276924
 /lib/libnss_files-2.4.so
 2b1c7d53b000-2b1c7d63a000 ---p 0000a000 08:01 276924
 /lib/libnss_files-2.4.so
 2b1c7d63a000-2b1c7d63c000 rw-p 00009000 08:01 276924
 /lib/libnss_files-2.4.so
 2b1c7d63c000-2b1c7d640000 r-xp 00000000 08:01 276923
 /lib/libnss_dns-2.4.so
 2b1c7d640000-2b1c7d740000 ---p 00004000 08:01 276923
 /lib/libnss_dns-2.4.so
 2b1c7d740000-2b1c7d742000 rw-p 00004000 08:01 276923
 /lib/libnss_dns-2.4.so
 2b1c7d742000-2b1c7d753000 r-xp 00000000 08:01 276930
 /lib/libresolv-2.4.so
 2b1c7d753000-2b1c7d853000 ---p 00011000 08:01 276930
 /lib/libresolv-2.4.so
 2b1c7d853000-2b1c7d855000 rw-p 00011000 08:01 276930
 /lib/libresolv-2.4.so
 2b1c7d855000-2b1c7d857000 rw-p 2b1c7d855000 00:00 0
 2b1c7d857000-2b1c7e058000 rw-s 00000000 08:01 179170
 /tmp/_.vsl
 7fff2de00000-7fff2de15000 rw-p 7fff2de00000 00:00 0
 [stack]
 ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0
 [vdso]
 2b1c7d640000-2b1c7d740000 ---p 00004000 08:01 276923
 /lib/libnss_dns-2.4.so
 2b1c7d740000-2b1c7d742000 rw-p 00004000 08:01 276923
 /lib/libnss_dns-2.4.so
 2b1c7d742000-2b1c7d753000 r-xp 00000000 08:01 276930
 /lib/libresolv-2.4.so
 2b1c7d753000-2b1c7d853000 ---p 00011000 08:01 276930
 /lib/libresolv-2.4.so
 2b1c7d853000-2b1c7d855000 rw-p 00011000 08:01 276930
 /lib/libresolv-2.4.so
 2b1c7d855000-2b1c7d857000 rw-p 2b1c7d855000 00:00 0
 2b1c7d857000-2b1c7e058000 rw-s 00000000 08:01 179170
 /tmp/_.vsl
 7fff2de00000-7fff2de15000 rw-p 7fff2de00000 00:00 0
 [stack]
 ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0
 [vdso]
 Cache child died pid=15599 status=0x86
 }}}

 Default configuration, no VCL file, malloc memory cache. Platform is
 Ubunty Edgy server x86_64.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/72>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list