egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

glibc detected - how do i fix it?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Tue May 17, 2011 10:47 am    Post subject: glibc detected - how do i fix it? Reply with quote

Hey !

I get some wierd error when loading my eggdroop bot
Code:
eggdrop@lvps46-163-77-83:~/androidbot$ *** glibc detected *** ./eggdrop: double free or corruption (!prev): 0x00000000028591c0 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b64f1b649a8]
/lib/libc.so.6(cfree+0x76)[0x2b64f1b66ab6]
/usr/lib/libcrypto.so.0.9.8(CRYPTO_free+0x1d)[0x2b64f17cca4d]
/usr/lib/libcrypto.so.0.9.8(EVP_DigestInit_ex+0x169)[0x2b64f1833989]
/usr/lib/libssl.so.0.9.8(ssl3_get_key_exchange+0xaa7)[0x2b64f1523cd7]
/usr/lib/libssl.so.0.9.8(ssl3_connect+0x708)[0x2b64f1525758]
./eggdrop[0x4311f0]
/home/eggdrop/androidbot/modules/server.so[0x2b64f45adca8]
./eggdrop[0x42365c]
./eggdrop[0x423730]
/home/eggdrop/androidbot/modules/dns.so[0x2b64f41558bf]
./eggdrop[0x429381]
./eggdrop[0x42a15a]
/lib/libc.so.6(__libc_start_main+0xe6)[0x2b64f1b0f1a6]
./eggdrop(memcpy+0x179)[0x403e69]
======= Memory map: ========
00400000-00459000 r-xp 00000000 90:8d 379174980                          /home/eggdrop/androidbot/eggdrop-1.6.20
00658000-0065d000 rw-p 00058000 90:8d 379174980                          /home/eggdrop/androidbot/eggdrop-1.6.20
0065d000-00662000 rw-p 0065d000 00:00 0
0270d000-02882000 rw-p 0270d000 00:00 0                                  [heap]
2b64f0397000-2b64f03b3000 r-xp 00000000 90:8d 360105913                  /lib/ld-2.7.so
2b64f03b3000-2b64f03b6000 rw-p 2b64f03b3000 00:00 0
2b64f05b2000-2b64f05b4000 rw-p 0001b000 90:8d 360105913                  /lib/ld-2.7.so
2b64f05b4000-2b64f06c3000 r-xp 00000000 90:8d 360124280                  /usr/local/lib/libtcl8.5.so
2b64f06c3000-2b64f08c3000 ---p 0010f000 90:8d 360124280                  /usr/local/lib/libtcl8.5.so
2b64f08c3000-2b64f08ce000 rw-p 0010f000 90:8d 360124280                  /usr/local/lib/libtcl8.5.so
2b64f08ce000-2b64f0950000 r-xp 00000000 90:8d 360106072                  /lib/libm-2.7.so
2b64f0950000-2b64f0b4f000 ---p 00082000 90:8d 360106072                  /lib/libm-2.7.so
2b64f0b4f000-2b64f0b51000 rw-p 00081000 90:8d 360106072                  /lib/libm-2.7.so
2b64f0b51000-2b64f0b53000 r-xp 00000000 90:8d 360106070                  /lib/libdl-2.7.so
2b64f0b53000-2b64f0d53000 ---p 00002000 90:8d 360106070                  /lib/libdl-2.7.so
2b64f0d53000-2b64f0d55000 rw-p 00002000 90:8d 360106070                  /lib/libdl-2.7.so
2b64f0d55000-2b64f0ec8000 r-xp 00000000 90:8d 360124555                  /usr/lib/libdns.so.58.1.2
2b64f0ec8000-2b64f10c7000 ---p 00173000 90:8d 360124555                  /usr/lib/libdns.so.58.1.2
2b64f10c7000-2b64f10ce000 rw-p 00172000 90:8d 360124555                  /usr/lib/libdns.so.58.1.2
2b64f10ce000-2b64f10cf000 rw-p 2b64f10ce000 00:00 0
2b64f10cf000-2b64f10e4000 r-xp 00000000 90:8d 360105953                  /lib/libnsl-2.7.so
2b64f10e4000-2b64f12e3000 ---p 00015000 90:8d 360105953                  /lib/libnsl-2.7.so
2b64f12e3000-2b64f12e5000 rw-p 00014000 90:8d 360105953                  /lib/libnsl-2.7.so
2b64f12e5000-2b64f12e7000 rw-p 2b64f12e5000 00:00 0
2b64f12e7000-2b64f12fd000 r-xp 00000000 90:8d 360106085                  /lib/libpthread-2.7.so
2b64f12fd000-2b64f14fd000 ---p 00016000 90:8d 360106085                  /lib/libpthread-2.7.so
2b64f14fd000-2b64f14ff000 rw-p 00016000 90:8d 360106085                  /lib/libpthread-2.7.so
2b64f14ff000-2b64f1503000 rw-p 2b64f14ff000 00:00 0
2b64f1503000-2b64f154f000 r-xp 00000000 90:8d 360124757                  /usr/lib/libssl.so.0.9.8
2b64f154f000-2b64f174e000 ---p 0004c000 90:8d 360124757                  /usr/lib/libssl.so.0.9.8
2b64f174e000-2b64f1755000 rw-p 0004b000 90:8d 360124757                  /usr/lib/libssl.so.0.9.8
2b64f1755000-2b64f1756000 rw-p 2b64f1755000 00:00 0
2b64f1756000-2b64f18c8000 r-xp 00000000 90:8d 360124725                  /usr/lib/libcrypto.so.0.9.8
2b64f18c8000-2b64f1ac7000 ---p 00172000 90:8d 360124725                  /usr/lib/libcrypto.so.0.9.8
2b64f1ac7000-2b64f1aed000 rw-p 00171000 90:8d 360124725                  /usr/lib/libcrypto.so.0.9.8
2b64f1aed000-2b64f1af1000 rw-p 2b64f1aed000 00:00 0
2b64f1af1000-2b64f1c3b000 r-xp 00000000 90:8d 360106031                  /lib/libc-2.7.so
2b64f1c3b000-2b64f1e3a000 ---p 0014a00

_________________
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
Back to top
View user's profile Send private message MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue May 17, 2011 1:05 pm    Post subject: Reply with quote

Try recompiling your eggdrop with debugging enabled (make debug; make install), and make sure your shell is set up to do a coredump
Code:
ulimit -c 10240

Then start your eggdrop again, and try to reproduce the error.
If that succeeds, grap the generated coredump, and follow the instructions in the bug report document (doc/BUG-REPORT), especially section 4.8.

That should hopefully provide some details where the memory-leak is located.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Tue May 17, 2011 2:41 pm    Post subject: Reply with quote

1.6.20 and libcrypto/libssl? You're using the horrible ssl patch for .20 despite of the numerous warnings in this forum against doing so. I'll pray for your soul but there's not much hope.
Back to top
View user's profile Send private message Visit poster's website
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Wed May 18, 2011 10:21 am    Post subject: Reply with quote

I have removed ssl and running without... for now
_________________
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
Back to top
View user's profile Send private message MSN Messenger
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Wed May 18, 2011 1:37 pm    Post subject: Reply with quote

Use 1.8 from cvs. If you could afford running a 3rd party patch, you can also afford using the official development code.
Back to top
View user's profile Send private message Visit poster's website
phoenixpb
Voice


Joined: 26 Jun 2011
Posts: 1

PostPosted: Sun Jun 26, 2011 8:58 am    Post subject: Reply with quote

pseudo wrote:
Use 1.8 from cvs. If you could afford running a 3rd party patch, you can also afford using the official development code.


I have a similar error
tried with 1.6.20 1.8 and 1.9

Code:
[phoenix@styx eggdrop]$ ./eggdrop

Eggdrop v1.8.0+publistennoident (C) 1997 Robey Pointer (C) 2010 Eggheads
*** glibc detected *** ./eggdrop: free(): invalid next size (fast): 0x0a07aa70 ***

======= Backtrace: =========
/lib/libc.so.6(+0x6ebf5)[0xb737bbf5]
/lib/libc.so.6(+0x6f892)[0xb737c892]
/lib/libc.so.6(cfree+0x6d)[0xb737f97d]
./eggdrop[0x808549d]
./eggdrop[0x8085801]
./eggdrop[0x807dc9a]
./eggdrop[0x804c155]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb7326233]
./eggdrop[0x804c8ed]


Back to top
View user's profile Send private message
thommey
Halfop


Joined: 01 Apr 2008
Posts: 73

PostPosted: Fri Jul 08, 2011 10:01 pm    Post subject: Reply with quote

phoenixpb, you face a different error and it's very likely to be the same one that's resolved here: http://forum.egghelp.org/viewtopic.php?p=97173#97173
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber