Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213487 - Please stabilize =net-p2p/amule-2.2.0_pre20080304 (WAS: net-p2p/amule-2.1.3 crashes when compiled against wxGTK-2.8)
Summary: Please stabilize =net-p2p/amule-2.2.0_pre20080304 (WAS: net-p2p/amule-2.1.3 c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords: STABLEREQ
: 210380 (view as bug list)
Depends on: 212023
Blocks: 210380
  Show dependency tree
 
Reported: 2008-03-15 12:04 UTC by Fabio Rossi
Modified: 2008-03-30 23:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2008-03-15 12:04:13 UTC
aMule-2.1.3-r1 crashes at startup when it tries to download the filter list. The downgrade to 2.1.3-r0 solves the problem because it compiles against wxGTK-2.6.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6b126d0 (LWP 26225)]
_______________________________________________________________________________
     eax:BFAFF510 ebx:B7D0DFF4  ecx:08BD11C0  edx:00000023     eflags:00210282
     esi:00000024 edi:BFAFF87C  esp:BFAFF4C8  ebp:BFAFF4C8     eip:B7BC24A2
     cs:0073  ds:007B  es:007B  fs:0000  gs:0033  ss:007B    o d I t S z a p c
[007B:BFAFF4C8]---------------------------------------------------------[stack]
BFAFF4F8 : 71 E7 64 00  F4 1F 9B B7 - 49 69 9A B7  20 41 71 B7 q.d.....Ii.. Aq.
BFAFF4E8 : C3 07 00 00  71 66 00 00 - 48 31 99 08  94 E0 64 B7 ....qf..H1....d.
BFAFF4D8 : 24 00 00 00  46 00 00 00 - B0 83 C5 08  00 00 00 00 $...F...........
BFAFF4C8 : 38 F8 AF BF  BE 2C BC B7 - 10 F5 AF BF  A8 9D BB 08 8....,..........
[007B:BFAFF87C]---------------------------------------------------------[ data]
BFAFF87C : 88 B8 42 08  00 00 00 00 - 4C F9 AF BF  B8 F8 AF BF ..B.....L.......
BFAFF88C : F4 9F 97 B7  00 00 00 00 - D8 51 BB 08  B8 F8 AF BF .........Q......
[0073:B7BC24A2]---------------------------------------------------------[ code]
0xb7bc24a2 <_ZNK12wxGIFDecoder12GetFrameSizeEj+18>:     mov    0x4(%edx),%ecx
0xb7bc24a5 <_ZNK12wxGIFDecoder12GetFrameSizeEj+21>:     mov    (%edx),%edx
0xb7bc24a7 <_ZNK12wxGIFDecoder12GetFrameSizeEj+23>:     mov    %ecx,0x4(%eax)
0xb7bc24aa <_ZNK12wxGIFDecoder12GetFrameSizeEj+26>:     mov    %edx,(%eax)
0xb7bc24ac <_ZNK12wxGIFDecoder12GetFrameSizeEj+28>:     leave
0xb7bc24ad <_ZNK12wxGIFDecoder12GetFrameSizeEj+29>:     ret    $0x4
------------------------------------------------------------------------------
0xb7bc24a2 in wxGIFDecoder::GetFrameSize () from /usr/lib/libwx_gtk2u_core-2.8.so.0
gdb> bt
#0  0xb7bc24a2 in wxGIFDecoder::GetFrameSize () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0xb7bc2cbe in wxGIFDecoder::ConvertToImage () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2  0x082cfe02 in MuleGIFDecoder::ConvertToImage (this=0x8bb9da8, image=0xbfaff87c) at MuleGifCtrl.cpp:58
#3  0x082cf0cd in MuleGifCtrl::OnTimer (this=0x8bb51d8) at MuleGifCtrl.cpp:159
#4  0xb78761c5 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb791c146 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb791c29b in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb791c418 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7c0ba41 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0xb7af9cd5 in timeout_callback () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0xb70aa866 in g_timeout_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0xb70aa09b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0xb70ad4ff in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#13 0xb70ad8a7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#14 0xb73c01c3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7af076c in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0xb7b83dae in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0xb7b83411 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0xb78b16ba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb78b1767 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x08192e30 in main (argc=0x8bb9f50, argv=0x8bb9d20) at amule-gui.cpp:143
#21 0xb75fcfdc in __libc_start_main () from /lib/libc.so.6
#22 0x0806e501 in _start ()


The problem is well known and it's solved in the current SVN as stated here:

http://www.amule.org/wiki/index.php/Changelog_2.2.0
http://www.amule.org/abugs/view.php?id=1104

A temp solution is to edit ~/.aMule/amule.conf and ensure that the following keys are set to 0, rather than 1:
 - NewVersionCheck
 - IPFilterAutoLoad
 - Serverlist

The problem is described in the following line of the changelog: "Fixed a crash related to MuleGIFDecoder wx-2.8.0 when downloading the file IPFIlter.dat." Without a SVN repository it is difficult the extract a specific patch to solve this problem. And the 2.2.0 version is still hard masked...
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2008-03-20 12:27:02 UTC
yea, amule does not have svn (I've checked at #amule channel and searched...) so it's hardly possible to backport changes. The only solution seems to exist is to bump to recent snapshot, like ubuntu alredy did:

http://bugs.launchpad.net/ubuntu/+source/amule/+bug/112745

Part of ubuntu changelog:

    FeatureFreeze exception: LP: #192156.
    The 2.2.0 isn't released yet because of build failures in MacOS X,
    but is stable enough and recommended by upstream.
    LP: #40238, #112745, #65496, #123695, #192781.

So I think it's safe to bump new amule snapshot and unmask it. If there is no objections I can do that... Snapshot bump also fixes bug 212023.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-03-20 12:38:52 UTC
Let's wait until bug 212023 its fixed(which should be already) and then i'll call arches, meanwhile i'll unmask the snapshots.

Thanks for the info, Peter.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2008-03-20 15:24:42 UTC
Okay, arches please do
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-03-22 15:16:53 UTC
*** Bug 210380 has been marked as a duplicate of this bug. ***
Comment 5 nixnut (RETIRED) gentoo-dev 2008-03-22 15:18:06 UTC
ppc stable
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2008-03-25 21:52:23 UTC
Stable for HPPA.
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2008-03-27 15:03:49 UTC
ppc64 stable

last arch CC'd -> mark bug as FIXED
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2008-03-27 15:06:14 UTC
amd64 is missing
Comment 9 Paul Goldbaum (AMD64 Arch Tester) 2008-03-28 10:49:30 UTC
Amd64:

Compiled fine. Went through all options and couldn't make it crash.
Had it downloading last night and remained stable, but I had two guys from the MPAA on my front door this morning complaining about some files I downloaded, you might want to fix that before stabilizing ;) j/k. Stable here.

emerge --info   
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24.3 x86_64)
=================================================================
System uname: 2.6.24.3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Sun, 23 Mar 2008 13:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -m3dnow -mmmx -msse -msse2 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -m3dnow -mmmx -msse -msse2 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo "
LINGUAS="es_ES es en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext acl amd64 berkdb cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mmxext mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 sse3 ssl tcpd unicode userlocales xorg zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-30 23:11:57 UTC
amd64 stable, last arch.
Thanks Paul!