This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Cannot start EggDrop for some weird reason

General support and discussion of Eggdrop bots.
Post Reply
c
cooldude13233
Voice
Posts: 5
Joined: Tue Sep 06, 2011 11:00 pm
Location: Canada

Cannot start EggDrop for some weird reason

Post by cooldude13233 »

Hello,

Can someone help me with this problem i have, i have a EggDrop bot, it was working ok, until now, this is the problem when i try to launch it listed bellow:

Code: Select all

cooldude@jodie:~/eggdrop_bots/ustream/ericjess/eggdrop$ ./eggdrop

Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
*** glibc detected *** ./eggdrop: free(): invalid next size (fast): 0x08ce2950 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b281)[0xb754f281]
/lib/i686/cmov/libc.so.6(+0x6cad8)[0xb7550ad8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb7553bbd]
./eggdrop[0x8080253]
./eggdrop[0x8080572]
./eggdrop[0x807a687]
./eggdrop[0x8070da0]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb74fac76]
./eggdrop[0x804a7f1]
======= Memory map: ========
08048000-08097000 r-xp 00000000 fe:00 11093806                           /home/cooldude/eggdrop_bots/ustream/ericjess/eggdrop/eggdrop-1.6.20
08097000-0809b000 rw-p 0004e000 fe:00 11093806                           /home/cooldude/eggdrop_bots/ustream/ericjess/eggdrop/eggdrop-1.6.20
0809b000-0809f000 rw-p 00000000 00:00 0 
08cc8000-08d0b000 rw-p 00000000 00:00 0                                  [heap]
b7300000-b7321000 rw-p 00000000 00:00 0 
b7321000-b7400000 ---p 00000000 00:00 0 
b74a2000-b74bf000 r-xp 00000000 fe:00 10633594                           /lib/libgcc_s.so.1
b74bf000-b74c0000 rw-p 0001c000 fe:00 10633594                           /lib/libgcc_s.so.1
b74c0000-b74ca000 r-xp 00000000 fe:00 10780795                           /lib/i686/cmov/libnss_files-2.11.2.so
b74ca000-b74cb000 r--p 00009000 fe:00 10780795                           /lib/i686/cmov/libnss_files-2.11.2.so
b74cb000-b74cc000 rw-p 0000a000 fe:00 10780795                           /lib/i686/cmov/libnss_files-2.11.2.so
b74cc000-b74d4000 r-xp 00000000 fe:00 10780784                           /lib/i686/cmov/libnss_nis-2.11.2.so
b74d4000-b74d5000 r--p 00008000 fe:00 10780784                           /lib/i686/cmov/libnss_nis-2.11.2.so
b74d5000-b74d6000 rw-p 00009000 fe:00 10780784                           /lib/i686/cmov/libnss_nis-2.11.2.so
b74d6000-b74dc000 r-xp 00000000 fe:00 10780780                           /lib/i686/cmov/libnss_compat-2.11.2.so
b74dc000-b74dd000 r--p 00006000 fe:00 10780780                           /lib/i686/cmov/libnss_compat-2.11.2.so
b74dd000-b74de000 rw-p 00007000 fe:00 10780780                           /lib/i686/cmov/libnss_compat-2.11.2.so
b74e2000-b74e4000 rw-p 00000000 00:00 0 
b74e4000-b7624000 r-xp 00000000 fe:00 10780797                           /lib/i686/cmov/libc-2.11.2.so
b7624000-b7626000 r--p 0013f000 fe:00 10780797                           /lib/i686/cmov/libc-2.11.2.so
b7626000-b7627000 rw-p 00141000 fe:00 10780797                           /lib/i686/cmov/libc-2.11.2.so
b7627000-b762a000 rw-p 00000000 00:00 0 
b762a000-b763f000 r-xp 00000000 fe:00 10780786                           /lib/i686/cmov/libpthread-2.11.2.so
b763f000-b7640000 r--p 00014000 fe:00 10780786                           /lib/i686/cmov/libpthread-2.11.2.so
b7640000-b7641000 rw-p 00015000 fe:00 10780786                           /lib/i686/cmov/libpthread-2.11.2.so
b7641000-b7643000 rw-p 00000000 00:00 0 
b7643000-b7656000 r-xp 00000000 fe:00 10780796                           /lib/i686/cmov/libnsl-2.11.2.so
b7656000-b7657000 r--p 00012000 fe:00 10780796                           /lib/i686/cmov/libnsl-2.11.2.so
b7657000-b7658000 rw-p 00013000 fe:00 10780796                           /lib/i686/cmov/libnsl-2.11.2.so
b7658000-b765a000 rw-p 00000000 00:00 0 
b765a000-b765c000 r-xp 00000000 fe:00 10780789                           /lib/i686/cmov/libdl-2.11.2.so
b765c000-b765d000 r--p 00001000 fe:00 10780789                           /lib/i686/cmov/libdl-2.11.2.so
b765d000-b765e000 rw-p 00002000 fe:00 10780789                           /lib/i686/cmov/libdl-2.11.2.so
b765e000-b765f000 rw-p 00000000 00:00 0 
b765f000-b7683000 r-xp 00000000 fe:00 10780781                           /lib/i686/cmov/libm-2.11.2.so
b7683000-b7684000 r--p 00023000 fe:00 10780781                           /lib/i686/cmov/libm-2.11.2.so
b7684000-b7685000 rw-p 00024000 fe:00 10780781                           /lib/i686/cmov/libm-2.11.2.so
b7685000-b7781000 r-xp 00000000 fe:00 10846314                           /usr/local/lib/libtcl8.5.so
b7781000-b7787000 rw-p 000fc000 fe:00 10846314                           /usr/local/lib/libtcl8.5.so
b778a000-b778d000 rw-p 00000000 00:00 0 
b778d000-b77a8000 r-xp 00000000 fe:00 10633737                           /lib/ld-2.11.2.so
b77a8000-b77a9000 r--p 0001a000 fe:00 10633737                           /lib/ld-2.11.2.so
b77a9000-b77aa000 rw-p 0001b000 fe:00 10633737                           /lib/ld-2.11.2.so
bfc18000-bfc2d000 rw-p 00000000 00:00 0                                  [stack]
Aborted (core dumped)
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Please have a look at this topic, and try the suggested patch:
http://forum.egghelp.org/viewtopic.php?p=97173#97173
NML_375
c
cooldude13233
Voice
Posts: 5
Joined: Tue Sep 06, 2011 11:00 pm
Location: Canada

Post by cooldude13233 »

nml375 wrote:Please have a look at this topic, and try the suggested patch:
http://forum.egghelp.org/viewtopic.php?p=97173#97173
I compile EggDrop by the source and i am running Debian as my distro
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Yes..
And did you try the suggested fix posted by thommey?
NML_375
c
cooldude13233
Voice
Posts: 5
Joined: Tue Sep 06, 2011 11:00 pm
Location: Canada

Post by cooldude13233 »

nml375 wrote:Yes..
And did you try the suggested fix posted by thommey?
is the link thommey posted is this? -> http://cvs.eggheads.org/viewvc/eggdrop1 ... f_format=l
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Yes, or you simply read the patch I linked to in the first place. Both do the very same thing.
NML_375
c
cooldude13233
Voice
Posts: 5
Joined: Tue Sep 06, 2011 11:00 pm
Location: Canada

Post by cooldude13233 »

nml375 wrote:Yes, or you simply read the patch I linked to in the first place. Both do the very same thing.
ok i have done that what is said, BUT now i get this

Code: Select all

cooldude@jodie:~/eggdrop_bots/ustream/ericjess/eggdrop1.6.20$ make
make[1]: Entering directory `/home/cooldude/eggdrop_bots/ustream/ericjess/eggdrop1.6.20/src'

This may take a while. Go get some runts.

gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H   -c bg.c
In file included from main.h:103,
                 from bg.c:27:
eggdrop.h:266: error: conflicting types for 'socklen_t'
/usr/include/unistd.h:275: note: previous declaration of 'socklen_t' was here
In file included from /usr/include/sys/socket.h:40,
                 from /usr/include/netinet/in.h:25,
                 from compat/inet_aton.h:32,
                 from compat/compat.h:28,
                 from main.h:115,
                 from bg.c:27:
/usr/include/bits/socket.h:366:24: error: asm/socket.h: No such file or directory
make[1]: *** [bg.o] Error 1
make[1]: Leaving directory `/home/cooldude/eggdrop_bots/ustream/ericjess/eggdrop1.6.20/src'
make: *** [modegg] Error 2
[/code]
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

This error originates from a file not touched by the patch, could you please verify that the unmodified source compiles cleanly?

Also, could you provide some details on which version of gcc and glibc you are using, as well as OS/distro/architecture (32/64bit, etc)?
NML_375
c
cooldude13233
Voice
Posts: 5
Joined: Tue Sep 06, 2011 11:00 pm
Location: Canada

Post by cooldude13233 »

nml375 wrote:This error originates from a file not touched by the patch, could you please verify that the unmodified source compiles cleanly?

Also, could you provide some details on which version of gcc and glibc you are using, as well as OS/distro/architecture (32/64bit, etc)?
well here is the deal, I have fixed the issue by getting my VPS host to reimage my VPS, thanks for trying to help
Post Reply