LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-12-2006, 02:22 AM   #1
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Rep: Reputation: 30
double free or corruption (glibc)?


I just successfully built apollon (1.0.2.1) and when I try to start it, I get the following error:
Code:
*** glibc detected *** apollon: double free or corruption (out): 0x4bc59590 ***
======= Backtrace: =========
/lib/libc.so.6[0x4a91af18]
/lib/libc.so.6(__libc_free+0x79)[0x4a91e41d]
/usr/lib/libbind.so.4(__res_ndestroy+0x34)[0xb7f9fdc4]
/usr/lib/libbind.so.4(__res_vinit+0x3e)[0xb7fa074e]
/usr/lib/libbind.so.4(__res_ninit+0x25)[0xb7fa1465]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN4QDns9doResInitEv+0x126)[0x4b8a7dd6]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN11QDnsManagerC1Ev+0x48a)[0x4b8a93da]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN11QDnsManager7managerEv+0x5b)[0x4b8a951b]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN10QDnsDomain3addERK7QStringP6QDnsRR+0x1f)[0x4b8a9ccf]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN6QDnsRRC1ERK7QString+0x9c)[0x4b8a9dec]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN10QDnsDomain6cachedEPK4QDns+0xa91)[0x4b8ac7a1]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZNK4QDns9addressesEv+0x52)[0x4b8ad192]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN7QSocket13tryConnectingEv+0x34)[0x4b8c86e4]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN7QSocket13connectToHostERK7QStringt+0xb3)[0x4b8c9493]
apollon[0x8096210]
apollon[0x80648e5]
apollon[0x80992d6]
/lib/libc.so.6(__libc_start_main+0xdc)[0x4a8cc7e4]
apollon(_ZN6QFrame10paintEventEP11QPaintEvent+0x45)[0x8062761]
======= Memory map: ========
08048000-0810c000 r-xp 00000000 03:02 747485     /usr/bin/apollon
0810c000-08110000 rw-p 000c3000 03:02 747485     /usr/bin/apollon
08110000-082e2000 rw-p 08110000 00:00 0          [heap]
4a02a000-4a043000 r-xp 00000000 03:02 1786560    /lib/ld-2.4.so
4a043000-4a044000 r--p 00018000 03:02 1786560    /lib/ld-2.4.so
4a044000-4a045000 rw-p 00019000 03:02 1786560    /lib/ld-2.4.so
4a047000-4a090000 r-xp 00000000 03:02 2277509    /usr/lib/libkparts.so.2.1.0
4a090000-4a095000 rw-p 00048000 03:02 2277509    /usr/lib/libkparts.so.2.1.0
4a55a000-4a565000 r-xp 00000000 03:02 2296488    /usr/lib/libkmediaplayer.so.0.0.0
4a565000-4a567000 rw-p 0000a000 03:02 2296488    /usr/lib/libkmediaplayer.so.0.0.0
4a863000-4a894000 r-xp 00000000 03:02 2303176    /usr/lib/liblcms.so.1.0.15
4a894000-4a895000 rw-p 00030000 03:02 2303176    /usr/lib/liblcms.so.1.0.15
4a895000-4a898000 rw-p 4a895000 00:00 0
4a89a000-4a8ad000 r-xp 00000000 03:02 2303186    /usr/lib/libXft.so.2.1.2
4a8ad000-4a8ae000 rw-p 00012000 03:02 2303186    /usr/lib/libXft.so.2.1.2
4a8b7000-4a9e3000 r-xp 00000000 03:02 1789618    /lib/libc-2.4.so
4a9e3000-4a9e6000 r--p 0012b000 03:02 1789618    /lib/libc-2.4.so
4a9e6000-4a9e7000 rw-p 0012e000 03:02 1789618    /lib/libc-2.4.so
4a9e7000-4a9ea000 rw-p 4a9e7000 00:00 0
4a9ec000-4aa0f000 r-xp 00000000 03:02 1789619    /lib/libm-2.4.so
4aa0f000-4aa10000 r--p 00022000 03:02 1789619    /lib/libm-2.4.so
4aa10000-4aa11000 rw-p 00023000 03:02 1789619    /lib/libm-2.4.so
4aa13000-4aa15000 r-xp 00000000 03:02 1789620    /lib/libdl-2.4.so
4aa15000-4aa16000 r--p 00001000 03:02 1789620    /lib/libdl-2.4.so
4aa16000-4aa17000 rw-p 00002000 03:02 1789620    /lib/libdl-2.4.so
4aa19000-4aa1e000 r-xp 00000000 03:02 2303062    /usr/lib/libXdmcp.so.6.0.0
4aa1e000-4aa1f000 rw-p 00004000 03:02 2303062    /usr/lib/libXdmcp.so.6.0.0
4aa21000-4ab1a000 r-xp 00000000 03:02 2303063    /usr/lib/libX11.so.6.2.0
4ab1a000-4ab1e000 rw-p 000f9000 03:02 2303063    /usr/lib/libX11.so.6.2.0
4ab20000-4ab22000 r-xp 00000000 03:02 2303061    /usr/lib/libXau.so.6.0.0
4ab22000-4ab23000 rw-p 00001000 03:02 2303061    /usr/lib/libXau.so.6.0.0
4ab25000-4ab37000 r-xp 00000000 03:02 2284578    /usr/lib/libz.so.1.2.3
4ab37000-4ab38000 rw-p 00011000 03:02 2284578    /usr/lib/libz.so.1.2.3
4ab3a000-4ab49000 r-xp 00000000 03:02 2303179    /usr/lib/libXext.so.6.4.0
4ab49000-4ab4a000 rw-p 0000e000 03:02 2303179    /usr/lib/libXext.so.6.4.0
4ab4c000-4abb7000 r-xp 00000000 03:02 2303184    /usr/lib/libfreetype.so.6.3.8
4abb7000-4abba000 rw-p 0006a000 03:02 2303184    /usr/lib/libfreetype.so.6.3.8
4abbc000-4abdb000 r-xp 00000000 03:02 1789621    /lib/libexpat.so.0.5.0
4abdb000-4abdd000 rw-p 0001e000 03:02 1789621    /lib/libexpat.so.0.5.0
4abdf000-4ac06000 r-xp 00000000 03:02 2301857    /usr/lib/libpng12.so.0.1.2.8
4ac06000-4ac07000 rw-p 00026000 03:02 2301857    /usr/lib/libpng12.so.0.1.2.8
4ac09000-4ac41000 r-xp 00000000 03:02 2303185    /usr/lib/libfontconfig.so.1.0.4
4ac41000-4ac45000 rw-p 00038000 03:02 2303185    /usr/lib/libfontconfig.so.1.0.4
4ac45000-4ac46000 rw-p 4ac45000 00:00 0
4ac48000-4ac58000 r-xp 00000000 03:02 1789622    /lib/libpthread-2.4.so
4ac58000-4ac59000 r--p 0000f000 03:02 1789622    /lib/libpthread-2.4.so
4ac59000-4ac5a000 rw-p 00010000 03:02 1789622    /lib/libpthread-2.4.so
4ac5a000-4ac5c000 rw-p 4ac5a000 00:00 0
4ac5e000-4ac66000 r-xp 00000000 03:02 2303178    /usr/lib/libXrender.so.1.3.0
4ac66000-4ac67000 rw-p 00007000 03:02 2303178    /usr/lib/libXrender.so.1.3.0
4ac69000-4ac80000 r-xp 00000000 03:02 2303187    /usr/lib/libICE.so.6.3.0
4ac80000-4ac81000 rw-p 00016000 03:02 2303187    /usr/lib/libICE.so.6.3.0
4ac81000-4ac83000 rw-p 4ac81000 00:00 0
4ac85000-4ac8e000 r-xp 00000000 03:02 2303182    /usr/lib/libXcursor.so.1.0.2
4ac8e000-4ac8f000 rw-p 00008000 03:02 2303182    /usr/lib/libXcursor.so.1.0.2
4ac91000-4ac93000 r-xp 00000000 03:02 2303183    /usr/lib/libXinerama.so.1.0.0
4ac93000-4ac94000 rw-p 00001000 03:02 2303183    /usr/lib/libXinerama.so.1.0.0
4ac96000-4ac9a000 r-xp 00000000 03:02 2303181    /usr/lib/libXfixes.so.3.0.0
4ac9a000-4ac9b000 rw-p 00003000 03:02 2303181    /usr/lib/libXfixes.so.3.0.0
4ac9d000-4aca5000 r-xp 00000000 03:02 2303188    /usr/lib/libSM.so.6.0.0
4aca5000-4aca6000 rw-p 00008000 03:02 2303188    /usr/lib/libSM.so.6.0.0
4aca8000-4acab000 r-xp 00000000 03:02 2303180    /usr/lib/libXrandr.so.2.0.0
4acab000-4acac000 rw-p 00002000 03:02 2303180    /usr/lib/libXrandr.so.2.0.0
4acae000-4acb9000 r-xp 00000000 03:02 1789623    /lib/libgcc_s-4.1.0-20060304.so.1
4acb9000-4acba000 rw-p 0000a000 03:02 1789623    /lib/libgcc_s-4.1.0-20060304.so.1
4acbc000-4acdd000 r-xp 00000000 03:02 2303175    /usr/lib/libjpeg.so.62.0.0
4acdd000-4acde000 rw-p 00020000 03:02 2303175    /usr/lib/libjpeg.so.62.0.0
4ace0000-4adc2000 r-xp 00000000 03:02 2303189    /usr/lib/libstdc++.so.6.0.8
4adc2000-4adc6000 r--p 000e2000 03:02 2303189    /usr/lib/libstdc++.so.6.0.8
4adc6000-4adc7000 rw-p 000e6000 03:02 2303189    /usr/lib/libstdc++.so.6.0.8
4adc7000-4adcd000 rw-p 4adc7000 00:00 0
4adcf000-4ae05000 r-xp 00000000 03:02 2303064    /usr/lib/libDCOP.so.4.2.0
4ae05000-4ae06000 rw-p 00036000 03:02 2303064    /usr/lib/libDCOP.so.4.2.0
4ae06000-4ae08000 rw-p 4ae06000 00:00 0
4ae0a000-4ae39000 r-xp 00000000 03:02 2303066    /usr/lib/libidn.so.11.5.16
4ae39000-4ae3a000 rw-p 0002f000 03:02 2303066    /usr/lib/libidn.so.11.5.16
4ae3c000-4ae68000 r-xp 00000000 03:02 2303067    /usr/lib/libkdefx.so.4.2.0
4ae68000-4ae69000 rw-p 0002b000 03:02 2303067    /usr/lib/libkdefx.so.4.2.0
4ae69000-4ae6a000 rw-p 4ae69000 00:00 0
4ae6c000-4ae72000 r-xp 00000000 03:02 1789338    /lib/libacl.so.1.1.0
4ae72000-4ae73000 rw-p 00005000 03:02 1789338    /lib/libacl.so.1.1.0
4ae75000-4ae86000 r-xp 00000000 03:02 2303071    /usr/lib/libkwalletclient.so.1.0.1
4ae86000-4ae87000 rw-p 00011000 03:02 2303071    /usr/lib/libkwalletclient.so.1.0.1
4ae89000-4ae9f000 r-xp 00000000 03:02 2303070    /usr/lib/libkdesu.so.4.2.0
4ae9f000-4aea0000 rw-p 00015000 03:02 2303070    /usr/lib/libkdesu.so.4.2.0
4aea4000-4aeba000 r-xp 00000000 03:02 2303065    /usr/lib/libart_lgpl_2.so.2.3.17
4aeba000-4aebb000 rw-p 00016000 03:02 2303065    /usr/lib/libart_lgpl_2.so.2.3.17
4aebd000-4b127000 r-xp 00000000 03:02 2303068    /usr/lib/libkdecore.so.4.2.0
4b127000-4b138000 rw-p 00269000 03:02 2303068    /usr/lib/libkdecore.so.4.2.0
4b138000-4b13a000 rw-p 4b138000 00:00 0
4b384000-4b395000 r-xp 00000000 03:02 1789344    /lib/libnsl-2.4.so
4b395000-4b396000 r--p 00010000 03:02 1789344    /lib/libnsl-2.4.so
4b396000-4b397000 rw-p 00011000 03:02 1789344    /lib/libnsl-2.4.so
4b397000-4b399000 rw-p 4b397000 00:00 0
4b3f1000-4bc1b000 r-xp 00000000 03:02 2509957    /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.5
4bc1b000-4bc5c000 rw-p 00829000 03:02 2509957    /usr/lib/qt-3.3/lib/libqt-mt.so.3.3.5
4bc5c000-4bc60000 rw-p 4bc5c000 00:00 0
4bc62000-4bc71000 r-xp 00000000 03:02 1789339    /lib/libresolv-2.4.so
4bc71000-4bc72000 r--p 0000e000 03:02 1789339    /lib/libresolv-2.4.so
4bc72000-4bc73000 rw-p 0000f000 03:02 1789339    /lib/libresolv-2.4.so
4bc73000-4bc75000 rw-p 4bc73000 00:00 0
4be77000-4c185000 r-xp 00000000 03:02 2303069    /usr/lib/libkdeui.so.4.2.0
4c185000-4c1b0000 rw-p 0030e000 03:02 2303069    /usr/lib/libkdeui.so.4.2.0
4c328000-4c32f000 r-xp 00000000 03:02 2303072    /usr/lib/libfam.so.0.0.0
4c32f000-4c330000 rw-p 00006000 03:02 2303072    /usr/lib/libfam.so.0.0.0
4c332000-4c336000 r-xp 00000000 03:02 1789337    /lib/libattr.so.1.1.0
4c336000-4c337000 rw-p 00003000 03:02 1789337    /lib/libattr.so.1.1.0
4c339000-4c6b0000 r-xp 00000000 03:02 2303073    /usr/lib/libkio.so.4.2.0
4c6b0000-4c6cf000 rw-p 00377000 03:02 2303073    /usr/lib/libkio.so.4.2.0
4c6cf000-4c6d0000 rw-p 4c6cf000 00:00 0
4c7d7000-4c7d9000 r-xp 00000000 03:02 1789624    /lib/libutil-2.4.so
4c7d9000-4c7da000 r--p 00001000 03:02 1789624    /lib/libutil-2.4.so
4c7da000-4c7db000 rw-p 00002000 03:02 1789624    /lib/libutil-2.4.so
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7c25000-b7c37000 r--p 00000000 03:02 334034     /usr/share/X11/fonts/Type1/l048036t.pfa
b7c37000-b7c42000 r-xp 00000000 03:02 2501517    /usr/lib/qt-3.3/plugins/inputmethods/libqxim.so
b7c42000-b7c43000 rw-p 0000a000 03:02 2501517    /usr/lib/qt-3.3/plugins/inputmethods/libqxim.so
b7c43000-b7c67000 r-xp 00000000 03:02 2501516    /usr/lib/qt-3.3/plugins/inputmethods/libqsimple.so
b7c67000-b7c68000 rw-p 00024000 03:02 2501516    /usr/lib/qt-3.3/plugins/inputmethods/libqsimple.so
b7c68000-b7c6c000 r-xp 00000000 03:02 2501515    /usr/lib/qt-3.3/plugins/inputmethods/libqimsw-none.so
b7c6c000-b7c6d000 rw-p 00003000 03:02 2501515    /usr/lib/qt-3.3/plugins/inputmethods/libqimsw-none.so
b7c6d000-b7c76000 r-xp 00000000 03:02 2501514    /usr/lib/qt-3.3/plugins/inputmethods/libqimsw-multi.so
b7c76000-b7c77000 rw-p 00008000 03:02 2501514    /usr/lib/qt-3.3/plugins/inputmethods/libqimsw-multi.so
b7c77000-b7c89000 r--p 00000000 03:02 334030     /usr/share/X11/fonts/Type1/l048016t.pfa
b7c89000-b7c9b000 r--p 00000000 03:02 334028     /usr/share/X11/fonts/Type1/l048013t.pfa
b7c9b000-b7cba000 r-xp 00000000 03:02 2665196    /usr/lib/kde3/plugins/styles/plastik.so
b7cba000-b7cbb000 rw-p 0001f000 03:02 2665196    /usr/lib/kde3/plugins/styles/plastik.so
b7cbb000-b7cc2000 r--s 00001000 03:02 2144589    /var/cache/fontconfig/be85c56e05c5eddf23821abc58a49bff.cache-2
b7cc2000-b7ec2000 r--p 00000000 03:02 2277026    /usr/lib/locale/locale-archive
b7ec2000-b7ec7000 rw-p b7ec2000 00:00 0
b7ec7000-b7f2f000 r-xp 00000000 03:02 2303177    /usr/lib/libmng.so.1.0.0
b7f2f000-b7f32000 rw-p 00067000 03:02 2303177    /usr/lib/libmng.so.1.0.0
b7f32000-b7f38000 rw-p b7f32000 00:00 0
b7f38000-b7f4b000 r-xp 00000000 03:02 877221     /usr/lib/libapollon.so.0.0.1
b7f4b000-b7f4c000 rw-p 00012000 03:02 877221     /usr/lib/libapollon.so.0.0.1
b7f4c000-b7f4d000 rw-p b7f4c000 00:00 0
b7f4d000-b7f58000 r--s 00001000 03:02 2144146    /var/cache/fontconfig/ffbeb93d66ada2631f4f047962e1ab5b.cache-2
b7f58000-b7f5a000 r--s 00001000 03:02 2143738    /var/cache/fontconfig/d0852e6107e29cf2370e29e932b671e8.cache-2
b7f5a000-b7f63000 r--s 00001000 03:02 2144242    /var/cache/fontconfig/c974e4c60d201a21112df444ab73ef55.cache-2
b7f63000-b7f66000 r--s 00001000 03:02 2143736    /var/cache/fontconfig/0ff6f82dbf790ad053eeb7e60fb69f01.cache-2
b7f66000-b7fb3000 r-xp 00000000 03:02 2287951    /usr/lib/libbind.so.4.0.2
b7fb3000-b7fb5000 rw-p 0004d000 03:02 2287951    /usr/lib/libbind.so.4.0.2
b7fb5000-b7fc7000 r-xp 00000000 03:02 1266730    /usr/local/lib/libgift.so.0.0.0
b7fc7000-b7fc8000 rw-p 00011000 03:02 1266730    /usr/local/lib/libgift.so.0.0.0
b7fc8000-b7ffb000 rw-p b7fc8000 00:00 0
bffe5000-bfffb000 rw-p bffe5000 00:00 0          [stack]
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
[bendeco@localhost ~]$ KCrash: Application 'apollon' crashing...
Does anyone know what could be causing this and/or a solution?

Thanks In Advance,
Bendeco
 
Old 04-12-2006, 02:20 PM   #2
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Original Poster
Rep: Reputation: 30
Has no one else ran into this problem?
I also compiled the cvs version and it had the exact same effect?
 
Old 04-16-2006, 05:40 PM   #3
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Original Poster
Rep: Reputation: 30
This version (on my system) appears to run perfectly fine as root, but It crashes when I try to run it as any other user and gives the above output. Could I possibly need to chmod the library files? I've never done that in the past, but I thought that might be a plausible solution.
 
Old 04-19-2006, 12:31 AM   #4
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Original Poster
Rep: Reputation: 30
Ok, I've been playing around with this for a few days now and I'm getting pretty frustrated. I've NEVER had this problem with previous installs of apollon. I have NO experience in understanding backtraces on program crashes. If anyone has any ideas (I mean any AT ALL) I'd love to try them and possibly get this working.

Thanks again,
Bendeco
 
Old 05-03-2006, 06:39 AM   #5
overlook
LQ Newbie
 
Registered: May 2006
Location: Sweden
Distribution: Custom
Posts: 11

Rep: Reputation: 1
Do you compile gIFT yourself? The reason I ask is because apollon should not link against libbind (linked to by libgift). An easy fix would be to uninstall bind (or simply move /usr/lib/libbind.* temporarily), recompile gift and then compile apollon.

It should work.

A better long-term fix is to not use the --enable-libbind option when compiling bind. I know that Slackware doesn't do that and I can't think of any applications that really needs those libraries.

Good luck.
 
Old 09-11-2006, 04:26 PM   #6
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Original Poster
Rep: Reputation: 30
DUDE you are seriously a GENIOUS
That WORKED!!!!
great thanks...

Bendeco
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*** glibc detected *** malloc() / free()/ double RohanShrivastav Programming 12 10-01-2012 10:08 AM
FC3 glibc detected *** double free or corruption: josedragone Fedora 5 09-17-2009 10:16 PM
*** glibc detected *** double free or corruption (!prev): 0x082c1120 *** eXor Slackware 6 04-11-2008 08:47 AM
*** glibc detected *** double free or corruption (C++) urzumph Programming 25 01-07-2006 04:03 PM
Open Office user install error: *** glibc detected *** double free or corruption: 0xb r_jensen11 Linux - General 6 01-16-2005 06:08 AM


All times are GMT -5. The time now is 06:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration