aMule Forum

English => Backtraces => Topic started by: mrfixit on August 25, 2004, 09:57:03 PM

Title: backtrace for 2.0.0-rc5
Post by: mrfixit on August 25, 2004, 09:57:03 PM
ive ran it for the first time and got this output:
Quote
Initialising aMule
Userhash loaded: 791E84BFF30E5AD8955618793A686FA5
*** UDP socket at 4665
*** TCP socket at 4662
*** UDP socket at 4672
No cryptkey.dat found, creating

OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--

  • amule(_ZN9CamuleApp16OnFatalExceptionEv+0xcc) [0x825d25c]
  • [1] /usr/lib/libwx_gtk-2.4.so.0(wxFatalSignalHandler+0x26)
[0x40398f42]
[2] [0xffffe420]
[3] /usr/lib/libwx_gtk-2.4.so.0(_ZN12wxEvtHandler16SearchEventTableER12wxEventTableR7wxEvent+0xb6) [0x402cee62]
[4] /usr/lib/libwx_gtk-2.4.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x83) [0x402cec8f]
[5] /usr/lib/libwx_gtk-2.4.so.0(_ZN11wxTimerBase6NotifyEv+0x6f) [0x4035a867]
[6] /usr/lib/libwx_gtk-2.4.so.0(timeout_callback+0x28) [0x4027796c]
[7] /opt/gnome/lib/libglib-1.2.so.0 [0x4065d8e3]
[8] /opt/gnome/lib/libglib-1.2.so.0 [0x4065dfbb]
[9] /opt/gnome/lib/libglib-1.2.so.0 [0x4065e8b7]
[10] /opt/gnome/lib/libglib-1.2.so.0(g_main_run+0x3f) [0x4065e98f]
[11] /opt/gnome/lib/libgtk-1.2.so.0(gtk_main+0xbf) [0x40563c4f]
[12] /usr/lib/libwx_gtk-2.4.so.0(_ZN8wxDialog9ShowModalEv+0x89) [0x4024dc21]
[13] amule(_ZN9CamuleDlg17changeDesktopModeEv+0x12e) [0x8268b5e]
[14] amule(_ZN9CamuleDlg13CreateSystrayERK8wxString+0x59) [0x8268c99]
[15] amule(_ZN9CamuleDlgC1EP8wxWindow8wxString7wxPoint6wxSize+0x672) [0x8269412]
[16] amule(_ZN9CamuleApp6OnInitEv+0x25fb) [0x8261bab]
[17] /usr/lib/libwx_gtk-2.4.so.0(_Z7wxEntryiPPc+0x1f9) [0x40234091]
[18] amule(main+0x17) [0x82624d7]
[19] /lib/tls/libc.so.6(__libc_start_main+0xe0) [0x409f14b0]
[20] amule(_ZN16wxScrolledWindow16AdjustScrollbarsEv+0xad) [0x8120b91]
Aborted

i have no idea whats wrong... installed it all according to a toturial from this site...
amule 1.8.2 crashed too the first time i tried it, with different backtrace... if you want i can
post it too...
im using suse 9.1
i dont know if its relevant.. but xmule crashed on me everytime i tried to connect, i uninstalled it today before installing amule (and the first time i installed amule 1.8.2 it said something about taking xmule's configs...)
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 27, 2004, 12:25:05 AM
mrfixit,

Seems to be something related to systray. Can you try the latest cvs tarball? Another thing you can do is to

$mv ~/.eMule ~/.eMule.bak

and see what happens. And finally, you can

$mv ~/.eMule ~/.eMule.bak
$mv ~/.aMule ~/.aMule.bak

and run it to see if the problem is fixed.

Don't forget to report your results!
Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 27, 2004, 02:08:16 AM
tried installing the tar, but i get this error:
Quote
make  all-recursive
make[1]: Entering directory `/home/mrfixit/downloads/shit/aMule-2.0.0rc5'
Making all in m4
make[2]: Entering directory `/home/mrfixit/downloads/shit/aMule-2.0.0rc5/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/aMule-2.0.0rc5/m4'
Making all in intl
make[2]: Entering directory `/home/mrfixit/downloads/shit/aMule-2.0.0rc5/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/aMule-2.0.0rc5/intl'
Making all in po
make[2]: Entering directory `/home/mrfixit/downloads/shit/aMule-2.0.0rc5/po'
rm -f en_GB.gmo && : -c --statistics -o en_GB.gmo en_GB.po
mv: cannot stat `t-en_GB.gmo': No such file or directory
make[2]: *** [en_GB.gmo] Error 1
make[2]: Leaving directory `/home/mrfixit/downloads/shit/aMule-2.0.0rc5/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mrfixit/downloads/shit/aMule-2.0.0rc5'
make: *** [all] Error 2

i'll report my results right after i could figure out whats wrong with this install (itd be nice if you could help  ) ;)

but i can report right now that after mv ~/.eMule ~/.eMule.bak
amule started O.K. i even enabled the systray from within amule and it went fine.
so, i guess you solved thr real problem.
(but i still want to try the latest tar... so please help me with that missing file)
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 27, 2004, 05:39:25 AM
mrfixit,

I get this:

$ make
make  all-recursive
make[1]: Entering directory `/home/asdf/programs/amule/cvswork/amule-cvs'
Making all in m4
make[2]: Entering directory `/home/asdf/programs/amule/cvswork/amule-cvs/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/asdf/programs/amule/cvswork/amule-cvs/m4'
Making all in intl
make[2]: Entering directory `/home/asdf/programs/amule/cvswork/amule-cvs/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/asdf/programs/amule/cvswork/amule-cvs/intl'
Making all in po
make[2]: Entering directory `/home/asdf/programs/amule/cvswork/amule-cvs/po'
rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics -o en_GB.gmo en_GB.po
0 translated messages, 459 untranslated messages.
rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po
1007 translated messages.
rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po
1283 translated messages.
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po
1263 translated messages, 9 untranslated messages.
rm -f it.gmo && /usr/bin/msgfmt -c --statistics -o it.gmo it.po
1272 translated messages.
rm -f ko.gmo && /usr/bin/msgfmt -c --statistics -o ko.gmo ko.po
...

From the directories in your messages, i guess you probably opened the tar on top of an existing amule dir. Another thing, check that you have the package gettext installed. I have gettext-0.14.1-0.fdr.0.1.rpm here. Your distro may have a different package manager, but anyway, check that you have gettext. You are getting a colon where there should be /usr/bin/msgfmt.

Let me suggest you this step by step procedure:
1) Download this file to an empty directory: http://amule.hirnriss.net/cvs/aMule-cvs-20040826.tar.bz2
2) $ tar jxvf aMule-cvs-20040826.tar.bz2
3) $ cd amule-cvs
4) $ ./configure --enable-debug --disable-optimize --enable-verbose --enable-webserver --enable-amulecmd
5) $ make

That should do it. Notice that --enable-webserver --enable-amulecmd are to be given only if you want to build these programs.

Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 27, 2004, 11:15:21 AM
Quote
check that you have gettext. You are getting a colon where there should be /usr/bin/msgfmt.
im not sure i understood your meaning..
i got msgfmt in /usr/bin..
i dont see any colons when typing dir there...
anyway, installed gettext and tried it again (its a new dir btw)
got this:
Quote
make  all-recursive
make[1]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs'
Making all in m4
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/m4'
Making all in intl
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/intl'
Making all in po
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/po'
rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics -o en_GB.gmo en_GB.po
0 translated messages, 459 untranslated messages.
rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po
1007 translated messages.
rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po
1283 translated messages.
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po
1263 translated messages, 9 untranslated messages.
rm -f it.gmo && /usr/bin/msgfmt -c --statistics -o it.gmo it.po
1272 translated messages.
rm -f ko.gmo && /usr/bin/msgfmt -c --statistics -o ko.gmo ko.po
355 translated messages, 104 untranslated messages.
rm -f pl.gmo && /usr/bin/msgfmt -c --statistics -o pl.gmo pl.po
1272 translated messages.
rm -f et_EE.gmo && /usr/bin/msgfmt -c --statistics -o et_EE.gmo et_EE.po
351 translated messages, 108 untranslated messages.
rm -f ru.gmo && /usr/bin/msgfmt -c --statistics -o ru.gmo ru.po
456 translated messages.
rm -f bg.gmo && /usr/bin/msgfmt -c --statistics -o bg.gmo bg.po
389 translated messages, 375 untranslated messages.
rm -f es_MX.gmo && /usr/bin/msgfmt -c --statistics -o es_MX.gmo es_MX.po
348 translated messages, 111 untranslated messages.
rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics -o pt_BR.gmo pt_BR.po
990 translated messages, 3 fuzzy translations.
rm -f gl.gmo && /usr/bin/msgfmt -c --statistics -o gl.gmo gl.po
514 translated messages, 263 untranslated messages.
rm -f eu.gmo && /usr/bin/msgfmt -c --statistics -o eu.gmo eu.po
1272 translated messages.
rm -f nl.gmo && /usr/bin/msgfmt -c --statistics -o nl.gmo nl.po
1272 translated messages.
rm -f ar.gmo && /usr/bin/msgfmt -c --statistics -o ar.gmo ar.po
695 translated messages, 233 untranslated messages.
rm -f fi.gmo && /usr/bin/msgfmt -c --statistics -o fi.gmo fi.po
833 translated messages.
rm -f zh_CN.gmo && /usr/bin/msgfmt -c --statistics -o zh_CN.gmo zh_CN.po
881 translated messages, 74 untranslated messages.
rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics -o zh_TW.gmo zh_TW.po
881 translated messages, 74 untranslated messages.
rm -f da.gmo && /usr/bin/msgfmt -c --statistics -o da.gmo da.po
741 translated messages, 139 untranslated messages.
rm -f hu.gmo && /usr/bin/msgfmt -c --statistics -o hu.gmo hu.po
1272 translated messages.
rm -f ca.gmo && /usr/bin/msgfmt -c --statistics -o ca.gmo ca.po
1207 translated messages, 1 fuzzy translation, 64 untranslated messages.
rm -f it_CH.gmo && /usr/bin/msgfmt -c --statistics -o it_CH.gmo it_CH.po
851 translated messages, 198 fuzzy translations, 201 untranslated messages.
rm -f pt_PT.gmo && /usr/bin/msgfmt -c --statistics -o pt_PT.gmo pt_PT.po
833 translated messages.
rm -f hr.gmo && /usr/bin/msgfmt -c --statistics -o hr.gmo hr.po
882 translated messages.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/po'
Making all in docs
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src'
make  all-recursive
make[3]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src'
Making all in utils
make[4]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils'
Making all in xas
make[5]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils/xas'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils/xas'
Making all in cas
make[5]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils/cas'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-cas.o -MD -MP -MF ".deps/cas-cas.Tpo" \
  -c -o cas-cas.o `test -f 'cas.c' || echo './'`cas.c; \
then mv -f ".deps/cas-cas.Tpo" ".deps/cas-cas.Po"; \
else rm -f ".deps/cas-cas.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-configfile.o -MD -MP -MF ".deps/cas-configfile.Tpo" \
  -c -o cas-configfile.o `test -f 'configfile.c' || echo './'`configfile.c; \
then mv -f ".deps/cas-configfile.Tpo" ".deps/cas-configfile.Po"; \
else rm -f ".deps/cas-configfile.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-functions.o -MD -MP -MF ".deps/cas-functions.Tpo" \
  -c -o cas-functions.o `test -f 'functions.c' || echo './'`functions.c; \
then mv -f ".deps/cas-functions.Tpo" ".deps/cas-functions.Po"; \
else rm -f ".deps/cas-functions.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-graphics.o -MD -MP -MF ".deps/cas-graphics.Tpo" \
  -c -o cas-graphics.o `test -f 'graphics.c' || echo './'`graphics.c; \
then mv -f ".deps/cas-graphics.Tpo" ".deps/cas-graphics.Po"; \
else rm -f ".deps/cas-graphics.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-html.o -MD -MP -MF ".deps/cas-html.Tpo" \
  -c -o cas-html.o `test -f 'html.c' || echo './'`html.c; \
then mv -f ".deps/cas-html.Tpo" ".deps/cas-html.Po"; \
else rm -f ".deps/cas-html.Tpo"; exit 1; \
fi
gcc  -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0     -o cas  cas-cas.o cas-configfile.o cas-functions.o cas-graphics.o cas-html.o -L/usr/X11R6/lib -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lm -lgd
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
make[5]: *** [cas] Error 1
make[5]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils/cas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs'
make: *** [all] Error 2
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 27, 2004, 01:15:08 PM
Well, we have some progress here.
Try now:

$ ls -l /usr/X11R6/lib/libXp*
$ rpm -qf /usr/X11R6/lib/libXpm.so

Somehow it seems like you don't have libXpm installed. If that is the case, reinstall XFree86-libs-4.3.0-55 or xorg-x11-libs-6.7.0-5, according to the result of the second command.
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 27, 2004, 01:59:49 PM
reinstalled xfree86-lib and added xfree86-devel, now i get a different error ;-)
Quote
make  all-recursive
make[1]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs'
Making all in m4
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/m4'
Making all in intl
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/intl'
Making all in po
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/po'
rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics -o en_GB.gmo en_GB.po
0 translated messages, 459 untranslated messages.
rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po
1007 translated messages.
rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po
1283 translated messages.
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po
1263 translated messages, 9 untranslated messages.
rm -f it.gmo && /usr/bin/msgfmt -c --statistics -o it.gmo it.po
1272 translated messages.
rm -f ko.gmo && /usr/bin/msgfmt -c --statistics -o ko.gmo ko.po
355 translated messages, 104 untranslated messages.
rm -f pl.gmo && /usr/bin/msgfmt -c --statistics -o pl.gmo pl.po
1272 translated messages.
rm -f et_EE.gmo && /usr/bin/msgfmt -c --statistics -o et_EE.gmo et_EE.po
351 translated messages, 108 untranslated messages.
rm -f ru.gmo && /usr/bin/msgfmt -c --statistics -o ru.gmo ru.po
456 translated messages.
rm -f bg.gmo && /usr/bin/msgfmt -c --statistics -o bg.gmo bg.po
389 translated messages, 375 untranslated messages.
rm -f es_MX.gmo && /usr/bin/msgfmt -c --statistics -o es_MX.gmo es_MX.po
348 translated messages, 111 untranslated messages.
rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics -o pt_BR.gmo pt_BR.po
990 translated messages, 3 fuzzy translations.
rm -f gl.gmo && /usr/bin/msgfmt -c --statistics -o gl.gmo gl.po
514 translated messages, 263 untranslated messages.
rm -f eu.gmo && /usr/bin/msgfmt -c --statistics -o eu.gmo eu.po
1272 translated messages.
rm -f nl.gmo && /usr/bin/msgfmt -c --statistics -o nl.gmo nl.po
1272 translated messages.
rm -f ar.gmo && /usr/bin/msgfmt -c --statistics -o ar.gmo ar.po
695 translated messages, 233 untranslated messages.
rm -f fi.gmo && /usr/bin/msgfmt -c --statistics -o fi.gmo fi.po
833 translated messages.
rm -f zh_CN.gmo && /usr/bin/msgfmt -c --statistics -o zh_CN.gmo zh_CN.po
881 translated messages, 74 untranslated messages.
rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics -o zh_TW.gmo zh_TW.po
881 translated messages, 74 untranslated messages.
rm -f da.gmo && /usr/bin/msgfmt -c --statistics -o da.gmo da.po
741 translated messages, 139 untranslated messages.
rm -f hu.gmo && /usr/bin/msgfmt -c --statistics -o hu.gmo hu.po
1272 translated messages.
rm -f ca.gmo && /usr/bin/msgfmt -c --statistics -o ca.gmo ca.po
1207 translated messages, 1 fuzzy translation, 64 untranslated messages.
rm -f it_CH.gmo && /usr/bin/msgfmt -c --statistics -o it_CH.gmo it_CH.po
851 translated messages, 198 fuzzy translations, 201 untranslated messages.
rm -f pt_PT.gmo && /usr/bin/msgfmt -c --statistics -o pt_PT.gmo pt_PT.po
833 translated messages.
rm -f hr.gmo && /usr/bin/msgfmt -c --statistics -o hr.gmo hr.po
882 translated messages.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/po'
Making all in docs
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src'
make  all-recursive
make[3]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src'
Making all in utils
make[4]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils'
Making all in xas
make[5]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils/xas'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils/xas'
Making all in cas
make[5]: Entering directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils/cas'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-cas.o -MD -MP -MF ".deps/cas-cas.Tpo" \
  -c -o cas-cas.o `test -f 'cas.c' || echo './'`cas.c; \
then mv -f ".deps/cas-cas.Tpo" ".deps/cas-cas.Po"; \
else rm -f ".deps/cas-cas.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-configfile.o -MD -MP -MF ".deps/cas-configfile.Tpo" \
  -c -o cas-configfile.o `test -f 'configfile.c' || echo './'`configfile.c; \
then mv -f ".deps/cas-configfile.Tpo" ".deps/cas-configfile.Po"; \
else rm -f ".deps/cas-configfile.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-functions.o -MD -MP -MF ".deps/cas-functions.Tpo" \
  -c -o cas-functions.o `test -f 'functions.c' || echo './'`functions.c; \
then mv -f ".deps/cas-functions.Tpo" ".deps/cas-functions.Po"; \
else rm -f ".deps/cas-functions.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-graphics.o -MD -MP -MF ".deps/cas-graphics.Tpo" \
  -c -o cas-graphics.o `test -f 'graphics.c' || echo './'`graphics.c; \
then mv -f ".deps/cas-graphics.Tpo" ".deps/cas-graphics.Po"; \
else rm -f ".deps/cas-graphics.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/local/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT cas-html.o -MD -MP -MF ".deps/cas-html.Tpo" \
  -c -o cas-html.o `test -f 'html.c' || echo './'`html.c; \
then mv -f ".deps/cas-html.Tpo" ".deps/cas-html.Po"; \
else rm -f ".deps/cas-html.Tpo"; exit 1; \
fi
gcc  -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0     -o cas  cas-cas.o cas-configfile.o cas-functions.o cas-graphics.o cas-html.o -L/usr/X11R6/lib -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lm -lgd
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status
make[5]: *** [cas] Error 1
make[5]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils/cas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mrfixit/downloads/shit/amule-cvs'
make: *** [all] Error 2
Title: Re: backtrace for 2.0.0-rc5
Post by: Kry on August 27, 2004, 02:14:39 PM
You need libpng too


(what's this? linux from scratch?)
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 27, 2004, 02:33:40 PM
mrfixit,

It's time to get smarter. You can find what is missing if you just read the lines you post. This time, reinstall lbpng-devel.

At least try to find it yourself and post here when you failed, otherwise we won't finish this.

Once you know what file you are missing, you can find the package it is in with:

$ rpm -qf /usr/lib/libpng12.so
libpng-devel-1.2.5-7

Your system seems to have some serious problems, I would consider even reinstalling the distribution. I can't understand how it could be missisng XFree or XOrg libs.

Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 27, 2004, 09:31:04 PM
ok, installed libpng-devel (sorry for posting too soon, i did see those lines and tried finding out myself... )
now it seems that i got everything i need... (i even had to install gtk-devel and some other trivial packages - suse 9.1 ftp default install sucks..  i think i even manually told it to install gcc)
anyway, back to the topic - i finally did a make with no errors (there were lots of warnings though)
now, the amule.desktop says amule doesnt exist (i found the amule exec on /.../src)
ran it in a terminal and got this:
Quote
Initialising aMule
Userhash loaded: 791E84BFF30E5AD8955618793A686FA5
*** UDP socket at 4665
*** UDP socket at 4672
and there it stopped, i havent seen any amule window opening, though processtable shows amule...
i had the same thing with rc5 (after i changed the systray settings like you said i should), so its not only this cvs...
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 28, 2004, 12:16:36 AM
mrfixit,

Ok, nice! Did you do

$ make install

? And if you did, are you sure that there is no instance of aMule running in the system? Try:

$ps ax | grep -i amule

and see if there is more than one running. In case there is one running, do:

$ killall -9 amule

and run your version after. If all fails, try removing ~/.eMule again, and if fails again, remove ~/.eMule and ~/.aMule.

Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 28, 2004, 11:15:33 AM
ok, i forgot to make install  :] (i knew i missed something...)
anyway, i did it, but i ge
t
Quote
mkdir -p -- /usr/local/share/doc/aMule-CVS
mkdir: cannot create directory `/usr/local/share/doc/aMule-CVS': Permission denied
as im new to linux im afraid of using super user..
so i posted it here to ask you if i should use
su...
sorry for all the trouble i make  ;)
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 28, 2004, 01:33:10 PM
mrfixit,

yes, do make install as superuser :D

Don't worry, we are getting there!  :P

Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 28, 2004, 07:23:07 PM
ok, installed it, and it still didnt work so i removed ~/.emule and ~/.amule
and then it loaded right.
i configured the tray icon and shared my songs (which are on NTFS drive if it makes any difference)
i restarted for the changes to take affect, loaded .met file and connected to a server (sci-fi something..)
i ran a global search and it crashed.
the last output is:
Quote
Hasher: No non-busy files on queue, stopping thread.
Hasher: A thread has died.
Xlib: unexpected async reply (sequence 0x72865)!
Gdk-ERROR **: BadShmSeg (invalid shared segment parameter)
  serial 470527 error_code 171 request_code 148 minor_code 2
started amule again and searched again on global..
got this one:

any ideas?
Quote
Xlib: unexpected async reply (sequence 0x20c74)!
Gdk-ERROR **: BadShmSeg (invalid shared segment parameter)
  serial 137892 error_code 171 request_code 148 minor_code 2
Xlib: unexpected async reply (sequence 0x21b5a)!

launched it once more and tried local search - that went fine.
tried global search and crashed again
got a nice long one this time:
Quote
Xlib: unexpected async reply (sequence 0x39e30)!
Gdk-ERROR **: BadShmSeg (invalid shared segment parameter)
  serial 240797 error_code 171 request_code 148 minor_code 2
Xlib: unexpected async reply (sequence 0x3acdd)!

OOPS! - Seems like aMule crashed.
        Version is: aMule CVS using wxGTK1 v2.4.2
--== BACKTRACE FOLLOWS: ==--

  • amule(_ZN9CamuleApp16OnFatalExceptionEv+0x5b) [0x82c42e1]
  • [1] /usr/lib/libwx_gtk-2.4.so.0(wxFatalSignalHandler+0x26)
[0x40398f42]
[2] [0xffffe420]
[3] /opt/gnome/lib/libgtk-1.2.so.0 [0x405356cc]
[4] /opt/gnome/lib/libgtk-1.2.so.0(gtk_marshal_NONE__POINTER+0x20) [0x40564760]
[5] /opt/gnome/lib/libgtk-1.2.so.0 [0x4059abe7]
[6] /opt/gnome/lib/libgtk-1.2.so.0(gtk_signal_emit+0x156) [0x4059b066]
[7] /opt/gnome/lib/libgtk-1.2.so.0(gtk_widget_size_allocate+0x20b) [0x405db65b]
[8] /usr/lib/libwx_gtk-2.4.so.0 [0x4027c6cd]
[9] /usr/lib/libwx_gtk-2.4.so.0 [0x4027bfd4]
[10] /opt/gnome/lib/libgtk-1.2.so.0(gtk_marshal_NONE__POINTER+0x20) [0x40564760]
[11] /opt/gnome/lib/libgtk-1.2.so.0 [0x4059abe7]
[12] /opt/gnome/lib/libgtk-1.2.so.0(gtk_signal_emit+0x156) [0x4059b066]
[13] /opt/gnome/lib/libgtk-1.2.so.0(gtk_widget_size_allocate+0x20b) [0x405db65b]
[14] /opt/gnome/lib/libgtk-1.2.so.0(gtk_container_resize_children+0x1dd) [0x40516a7d]
[15] /opt/gnome/lib/libgtk-1.2.so.0 [0x405197f7]
[16] /opt/gnome/lib/libgtk-1.2.so.0(gtk_marshal_NONE__NONE+0x16) [0x405648e6]
[17] /opt/gnome/lib/libgtk-1.2.so.0 [0x4059ac96]
[18] /opt/gnome/lib/libgtk-1.2.so.0(gtk_signal_emit+0x156) [0x4059b066]
[19] /opt/gnome/lib/libgtk-1.2.so.0(gtk_container_check_resize+0xc2) [0x405162b2]
[20] /opt/gnome/lib/libgtk-1.2.so.0 [0x4051635e]
[21] /opt/gnome/lib/libglib-1.2.so.0 [0x4065d94f]
[22] /opt/gnome/lib/libglib-1.2.so.0 [0x4065dfbb]
[23] /opt/gnome/lib/libglib-1.2.so.0 [0x4065e8b7]
[24] /opt/gnome/lib/libglib-1.2.so.0(g_main_run+0x3f) [0x4065e98f]
[25] /opt/gnome/lib/libgtk-1.2.so.0(gtk_main+0xbf) [0x40563c4f]
[26] /usr/lib/libwx_gtk-2.4.so.0(_ZN5wxApp8MainLoopEv+0x16) [0x402339f2]
[27] /usr/lib/libwx_gtk-2.4.so.0(_ZN9wxAppBase5OnRunEv+0x18) [0x40285610]
[28] /usr/lib/libwx_gtk-2.4.so.0(_Z7wxEntryiPPc+0x235) [0x402340cd]
[29] amule(main+0x1e) [0x82befd4]
[30] /lib/tls/libc.so.6(__libc_start_main+0xe0) [0x409f14b0]
[31] amule(_ZNK20wxTopLevelWindowBase10GetMaxSizeEv+0x55) [0x8115c31]
Aborted
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 29, 2004, 06:28:00 PM
mrfixit,

Very good, i see you finally got it going! :)

The search problem is a Real Bug(TM) and we are taking care of it. Should be fixed in one or two days. Until then, you should do your seraches local. If you are interested in posting backtraces, this one that appears after amule has crashed is not very usefull. You should follow the instructions here:

http://www.amule.org/wiki/index.php/Backtraces
http://www.amule.org/wiki/index.php/Using_gdb_and_valgrind

Enjoy amule! Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 29, 2004, 06:41:52 PM
thanks for all your help, i'll keep updating to the latest CVS and run it as you asked, you got yourself a tester  :D
by the way, i cant upload files... i think its firewall relatad' thats why i havent posted it so far...
im trying to open the firewall and see if it changes, but it seems i'll have to restart for it to open ports.. gives me errors...
next time i'll restart i'll check it out.
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 30, 2004, 02:51:45 PM
ok, restarted with no firewall, i still cant upload... somtimes it shows 0.0/x.x KB/s
but it doesnt show any upload on statistics..
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 30, 2004, 03:11:02 PM
mrfixit,

Try to connect to Razorback2, and see if you can get a high id. If not, try this test: http://uberpenguin.they-are.us/temp/testport/index.php

(aMule must be running)

Sometimes, it takes a while to start downloading. Try a file with a lot of sources to test.

Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 31, 2004, 12:53:32 AM
im connected to razorback2, and im connected for about a day.. my port seems to be opened, both by my firewall and your site.
i can download fine, im downloading at an average of 40 KB/s and max of 97 KB/s, no complains here  :D
but other people cant download my files...
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 31, 2004, 04:11:10 AM
This is odd. Maybe your files are not interesting? :)

Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on August 31, 2004, 01:29:26 PM
hehehe, i doubt that, i got around 600 people on queue and im sharing about 13GB...
those who try to download change around every minute after they cant download my files..
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on August 31, 2004, 03:17:25 PM
Ok, I believe you :) but thats really odd, how come people can get into your upload queue and still get no upload? Maybe a firewall configuration?

Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on September 05, 2004, 03:23:36 PM
mrfixit,

I think that this problem has been corrected in current cvs. Check to see if upload limit was set to zero, ok? If that is the case, try current cvs to see if the problem is solved.

Cheers!
Title: Re: backtrace for 2.0.0-rc5
Post by: mrfixit on September 07, 2004, 07:02:43 PM
ok, i'll download the latest CVS... just a little question, do i need to uninstall or do anything prior to the
./config
make
su
make install
?
(and if ive forgotten something, point it out)
Title: Re: backtrace for 2.0.0-rc5
Post by: Citroklar on September 07, 2004, 10:17:25 PM
as far as I know, there should be nothing needed for the cvs tarballs. but if you want to be sure, you can do a ./autogen.sh before issuing ./configure and the rest of the commands.

Citroklar
Title: Re: backtrace for 2.0.0-rc5
Post by: phoenix on September 08, 2004, 01:29:12 AM
Citroklar, mrfixit,

If the release is allright, there is no need to run ./autogen.sh, just

$ ./configure && make
$ su
$ make install

Like Citroklar said, if you are having problems with configure, then maybe you could try ./autogen.sh, but it is unlikely that it will solve anything.

Cheers!