aMule Forum

English => en_Bugs => Topic started by: bill_bool on October 05, 2004, 10:38:34 AM

Title: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: bill_bool on October 05, 2004, 10:38:34 AM
No more problems once wx compiled by myself, and far far better with the last RPMs released by The Polish  :baby:

Thanks for your last two packages !!!

------------------------------------------------
Initial post following
------------------------------------------------
After installing Rc6-2 rpm for mdk 10.1.

When I run aMule without any config file, it starts well, I can browse all over the different tabs and preferences.

As soon as I retrieve a server list, or manually enter a server, it systematically crashes, giving the following error messages :

OOPS! - Seems like aMule crashed.
        Version is: aMule 2.0.0rc6 using wxGTK2 v2.5.1
--== BACKTRACE FOLLOWS: ==--

[0x404a26c3]
[2] [0x8812ce4]
Aborted

What is weird, is that I have the same error when I compile aMule from scratch. Therefore I think there should be a problem with some of the libraries provided by mdk.
If someone could check which are the version of the libraries used on its mdk 10.1, that would be great (rpm -q -whatprovides NameOfLibrary returns the package name and version)
Thanks

Yann


Below are the libraries used, and the different rpm associated with those :

ldd /usr/bin/amule
        linux-gate.so.1 =>  (0xffffe000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4002b000)
        libwx_gtk2_html-2.5.so.1 => /usr/lib/libwx_gtk2_html-2.5.so.1 (0x4003c000) libwxgtk2.5_1-2.5.1-5mdk
        libwx_gtk2_adv-2.5.so.1 => /usr/lib/libwx_gtk2_adv-2.5.so.1 (0x400ba000) libwxgtk2.5_1-2.5.1-5mdk
        libwx_gtk2_core-2.5.so.1 => /usr/lib/libwx_gtk2_core-2.5.so.1 (0x40145000) libwxgtk2.5_1-2.5.1-5mdk
        libwx_base_xml-2.5.so.1 => /usr/lib/libwx_base_xml-2.5.so.1 (0x403ba000) libwxgtk2.5_1-2.5.1-5mdk
        libwx_base_net-2.5.so.1 => /usr/lib/libwx_base_net-2.5.so.1 (0x403c4000) libwxgtk2.5_1-2.5.1-5mdk
        libwx_base-2.5.so.1 => /usr/lib/libwx_base-2.5.so.1 (0x403ed000) libwxgtk2.5_1-2.5.1-5mdk
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x404c8000) libgtk+-x11-2.0_0-2.4.9-9mdk
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x407ac000) libgtk+-x11-2.0_0-2.4.9-9mdk
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x40820000) libatk1.0_0-1.6.1-2mdk
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x4083c000) libgdk-pixbuf2-0.22.0-5mdk
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x40854000) libpango1.0_0-1.4.1-1mdk
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x40859000) libpango1.0_0-1.4.1-1mdk
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x40865000) libpango1.0_0-1.4.1-1mdk
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x4089a000) libglib2.0_0-2.4.6-1mdk
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x408da000) libglib2.0_0-2.4.6-1mdk
        libdl.so.2 => /lib/libdl.so.2 (0x408de000) glibc-2.3.3-21mdk
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x408e2000) libglib2.0_0-2.4.6-1mdk
        libz.so.1 => /lib/libz.so.1 (0x40962000) zlib1-1.2.1.1-3mdk
        libcurl.so.3 => /usr/lib/libcurl.so.3 (0x40973000) libcurl3-7.12.1-1mdk
        libidn.so.11 => /usr/lib/libidn.so.11 (0x409a3000) libidn11-0.5.4-1mdk
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x409d3000) libopenssl0.9.7-0.9.7d-1mdk
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40a04000) libopenssl0.9.7-0.9.7d-1mdk
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x40b04000) libstdc++6-3.4.1-4mdk
        libm.so.6 => /lib/tls/libm.so.6 (0x40bd6000) glibc-2.3.3-21mdk
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40bf9000) libgcc1-3.4.1-4mdk
        libc.so.6 => /lib/tls/libc.so.6 (0x40c02000) glibc-2.3.3-21mdk
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40d21000) libxorg-x11-6.7.0-3mdk
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x40dec000) libglib2.0_0-2.4.6-1mdk
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x40df2000) libpango1.0_0-1.4.1-1mdk
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40e18000) libpng3-1.2.6-2mdk
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40e3e000) libjpeg62-6b-33mdk
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40e5d000) libtiff3-3.6.1-3mdk
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40eaa000) libexpat0-1.95.7-1mdk
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40ecb000) libxorg-x11-6.7.0-3mdk
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40ecf000) libxorg-x11-6.7.0-3mdk
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x40ed7000) libxorg-x11-6.7.0-3mdk
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40eda000) libxorg-x11-6.7.0-3mdk
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40ee8000) libxorg-x11-6.7.0-3mdk
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40efa000) libfreetype6-2.1.9-2mdk
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40f67000) libfontconfig1-2.2.96-7mdk
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40f92000) libxorg-x11-6.7.0-3mdk
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40f9b000) libxorg-x11-6.7.0-3mdk
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: thepolish on October 05, 2004, 10:41:51 AM
Hi, try the new rpm i ve posted, version 2mdk for 10.1

bash-2.05b$ rpm -qa | grep wx
 wxGTK2.5-2.5.1-5mdk
 libwxgtk2.5_1-devel-2.5.1-5mdk
 libwxgtk2.5_1-2.5.1-5mdk
 libwxgtkgl2.5_1-2.5.1-5mdk
 
 bash-2.05b$ rpm -qa | grep curl
 libcurl3-devel-7.12.1-1mdk
 libcurl3-7.12.1-1mdk
 curl-7.12.1-1mdk
 
Thepolish
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: thepolish on October 05, 2004, 02:24:01 PM
Hi,

May be it is a wx problem with rpm supllied with mandrake. May be u could try to compile wx-2.5.1 your self then amule, and see if error desappear

But i use the same libs and i ve no pb retreiving serverlist...

Thepolish
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: thepolish on October 05, 2004, 02:59:39 PM
bash-2.05b$ ldd /usr/bin/amule
        linux-gate.so.1 =>  (0xffffe000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x41edb000)
        libwx_gtk2_html-2.5.so.1 => /usr/lib/libwx_gtk2_html-2.5.so.1 (0x4001100
0)
        libwx_gtk2_adv-2.5.so.1 => /usr/lib/libwx_gtk2_adv-2.5.so.1 (0x40090000)
        libwx_gtk2_core-2.5.so.1 => /usr/lib/libwx_gtk2_core-2.5.so.1 (0x4011b00
0)
        libwx_base_xml-2.5.so.1 => /usr/lib/libwx_base_xml-2.5.so.1 (0x40390000)
        libwx_base_net-2.5.so.1 => /usr/lib/libwx_base_net-2.5.so.1 (0x40399000)
        libwx_base-2.5.so.1 => /usr/lib/libwx_base-2.5.so.1 (0x403c2000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x4230b000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x4208d000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x421aa000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x42074000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x41fe0000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x4219c000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4203d000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x41ffb000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x434b2000)
        libdl.so.2 => /lib/libdl.so.2 (0x41ed6000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x43430000)
        libz.so.1 => /lib/libz.so.1 (0x41ec3000)
        libcurl.so.3 => /usr/lib/libcurl.so.3 (0x41f5e000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0x41f2c000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x42bbf000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x42a58000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x404a0000)
        libm.so.6 => /lib/tls/libm.so.6 (0x41e9e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40575000)
        libc.so.6 => /lib/tls/libc.so.6 (0x41d7d000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4057f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x41d66000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x42232000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x42174000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x421f6000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4064a000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x4066a000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x421d4000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x42274000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x435a5000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x4227a000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41feb000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x4221e000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x42106000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x42247000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x422b0000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x421ca000)
bash-2.05b$
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: thepolish on October 05, 2004, 03:01:19 PM
If u compile it and have the same crash, please compile it in debug mode, then run it under gdb and post bt+bt full

Thanks
Thepolish
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: bill_bool on October 05, 2004, 03:55:39 PM
Just removed the mdk wx rpms and actually trying to compile with original wx2.5.2 from wxwindows.org to see if it works......
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: Seagull on October 05, 2004, 04:01:33 PM
Quote
Originally posted by bill_bool
Just removed the mdk wx rpms and actually trying to compile with original wx2.5.2 from wxwindows.org to see if it works......

Just remember to link to GTK2 with --enable-gtk2

EDIT: never mind probably you meant instaling rpms.
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: thepolish on October 05, 2004, 04:11:49 PM
If u compile wx urself, u can --enable-unicode too

Thepolish
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: Targaryen on October 05, 2004, 07:27:30 PM
A little (although a bit selfish :P ) petition....If you find the solution to this bug/problem/whatever, please PM me with the solution. I've just begun the first year of university, and I don't have time now for more headaches :)

Thanks!

EDIT: It seems that the bug is located in libwx_base-2.5.so.1...(it's strange...wxBase is no more necessary in RC6....or it has nothing in common? maybe a lost/old/obsolete library requirement?)
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: bill_bool on October 06, 2004, 12:42:35 AM
Compiled wxbase and wxgtk2 from sources provided by wxwindowws.org. Had problems because of file missing in original archive for X11/GTK (clntdata.h)......

Then finaly when I was able to compile and install those, I can't compile aMule anymore....

Think I'm gonna forget this until next release.... I'm getting mad with this :( :( :(
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: thepolish on October 06, 2004, 09:23:58 AM
Quote
EDIT: It seems that the bug is located in libwx_base-2.5.so.1...(it's strange...wxBase is no more necessary in RC6....or it has nothing in common? maybe a lost/old/obsolete library requirement?)

in 2.5.x version, wxBase libs are needed for wxGTK. Thats why they are built together and not in a separate package.

Quote
Think I'm gonna forget this until next release.... I'm getting mad with this  

I think problem will be the same with rc7, rcX... Unsolved problems under Mandrake are all located in the 10.1 release. AND, it is a community release, not the final one, and it remains a LOT of bugs in it. Worse, wx packages are not well managed by contrubutors: unicode one is broken, and u report u have pb with wxBase-2.5.1

So, seems thats problem are Mandrake located, not amule...

Remember thats is the first time we use wx from mandrake distro for amule. So came problems...

I build a wx package soon and link a new rpm with it, we will see if things are better

Thepolish
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: bill_bool on October 06, 2004, 10:29:13 AM
Quote
Think I'm gonna forget this until next release.... I'm getting mad with this :( :( :(
I think I was a bit upset yesterday evening ;-) Having new try today.
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: bill_bool on October 06, 2004, 11:31:38 PM
I compiled and made some rpms for wxgtk 2.5.2, with unicode and gtk2.
aMule is now compiling and working, except for the search results (like in the post slackware & gtk2).

This was definitely a problem with wx libraries provided by Mandrake.
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: thepolish on October 07, 2004, 08:45:39 AM
Hi,

I ve posted 2 new mdk rpm: aMule and wxGTK-2.5.3 to avoid using mdk wx rpms. Should work better that 2.5.2 which is quite buggy, and provide good GTK2 and unicode support.

RPMS for 10.0 are online,  those for 10.1 will come during the day. Dont use 10.0 ones on 10.1, this wont work (different versions off gcc)

Thepolish
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: Kry on October 07, 2004, 01:46:48 PM
About crashing on server.met : fixed on cvs
Title: Re: [Solved] RC6 - Mdk10.1 - Crashes on creating server.met
Post by: Targaryen on October 07, 2004, 09:39:18 PM
OK, with the "Custom" packages posted in aMule's main page, I don't have errors/crashes anymore, works like a charm

Thank you, guys!