View previous topic :: View next topic |
Author |
Message |
nowinter Tux's lil' helper
Joined: 30 Apr 2006 Posts: 90
|
Posted: Wed Dec 20, 2006 10:44 pm Post subject: GTK-related amule crash |
|
|
I post it here because it's a gtk issue; if moderators don't think it ought to be here - sorry for this.
"Reproducible: always"
What it takes to reproduce, is start amule, open the search tab, do a couple of searches and then close the results' tabs one by one. It crashes as soon as I click the x in the corner of the last tab:
Quote: |
(amule:4689): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(amule:4689): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
(amule:4689): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
Gtk-ERROR **: file gtkcontainer.c: line 2447 (gtk_container_propagate_expose): assertion failed: (child->parent == GTK_WIDGET (container))
aborting...
[1]+ Aborted amule
|
Now, wxGTK (2.6.2-r1) and amule (2.1.3) are compiled with pretty safe flags, except may be for CXXFLAGS:
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -funroll-loops -ftracer -fprefetch-loop-arrays -freorder-blocks-and-partition -fvisibility-inlines-hidden -fvisibility=hidden"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
gtk+, however (both 1.2.10-r12 and 2.10.6), were emerged using
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -funroll-loops -ftracer -fprefetch-loop-arrays -freorder-blocks-and-partition"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -funroll-loops -ftracer -fprefetch-loop-arrays -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,-S -Wl,--sort-common -Wl,--as-needed -Wl,-z,combreloc -Wl,-hash-style=both"
Could that be a problem?
Now, I don't know exactly which version of gtk is amule using (USE=gtk). And, in any case, the error seems like something that should not have happen (assertion). I don't use gnome but I have some gtk apps and never met such one.
Anyone have met this problem? Solved it? Know the reason for it? Confirm it's a bug? _________________ All In All Is All We All Are
Last edited by nowinter on Thu Dec 21, 2006 1:27 am; edited 1 time in total |
|
Back to top |
|
|
LubosD Apprentice
Joined: 30 Jun 2005 Posts: 211 Location: Czech Republic
|
Posted: Wed Dec 20, 2006 10:46 pm Post subject: |
|
|
Same problem here... it didn't use to crash in the past. |
|
Back to top |
|
|
effloresce Tux's lil' helper
Joined: 24 Jan 2005 Posts: 109
|
Posted: Wed Dec 20, 2006 10:46 pm Post subject: |
|
|
Same thing here.. dont know how to fix it though. |
|
Back to top |
|
|
nowinter Tux's lil' helper
Joined: 30 Apr 2006 Posts: 90
|
Posted: Thu Dec 21, 2006 2:01 am Post subject: |
|
|
spent half a night emerging a new (hardmasked though) amule-2.2.0_p20061208 (available at sabayon overlay), which unavoidably leads to hard-masked-as-well wxGTK-2.8.0_rc3. With VERY SAFE FLAGS, 'cause wxGTK didn't emerge with other combinations, but without any re-emerging like gtk or whatever.
The error is not happening. There should be an emoticon here, but I'm not so happy neither I'm to consider this solved. It works now, anyways.
Don't know if it's the newer versions or the safer flags (they're like this):
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident -funroll-loops -ftracer -fprefetch-loop-arrays -freorder-blocks-and-partition -fvisibility-inlines-hidden -fvisibility=hidden"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
And I also used MAKEOPTS=-j1.
So one may try to reinstall his own versions of both with those flags, and see if it crashes. I'm too busy, compiling stuff this way took app. 40 mins for wxGTK and 30 for amule on ~2GHz Pentium IV _________________ All In All Is All We All Are |
|
Back to top |
|
|
maxima Apprentice
Joined: 01 Oct 2004 Posts: 150
|
|
Back to top |
|
|
nowinter Tux's lil' helper
Joined: 30 Apr 2006 Posts: 90
|
Posted: Thu Dec 21, 2006 7:56 am Post subject: |
|
|
yeah, right. I can just apologize by bugzilla's poor search that makes it almost unusable in most cases; however, this was not the case. Thanks, maxima. _________________ All In All Is All We All Are |
|
Back to top |
|
|
bandreabis Advocate
Joined: 18 Feb 2005 Posts: 2490 Location: イタリアのロディで
|
Posted: Wed Jan 10, 2007 8:09 pm Post subject: |
|
|
Upgrade to which version?
Quote: | [I] x11-libs/wxGTK
Available versions:
(2.4) 2.4.2-r4
(2.6) 2.6.2-r1 ~2.6.3.3
Installed: 2.6.2-r1(2.6)(00:18:17 11/09/2006)(X -debug -doc -gnome -joystick -odbc opengl sdl unicode)
Homepage: http://www.wxwidgets.org
Description: GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit and wxbase non-gui library |
_________________ Il numero di post non fa di me un esperto! Anzi! |
|
Back to top |
|
|
noice Guru
Joined: 05 Dec 2005 Posts: 473 Location: italia, Ischia
|
Posted: Thu Jan 18, 2007 4:54 pm Post subject: |
|
|
upgrade to wxGTK-2.8..look at here
or here in italian language _________________ Noice
when you post remove comments Code: | grep -vh '^[[:space:]]*\(#\|$\)' "$@" |
|
|
Back to top |
|
|
nowinter Tux's lil' helper
Joined: 30 Apr 2006 Posts: 90
|
Posted: Thu Jan 18, 2007 7:48 pm Post subject: |
|
|
Quote: | upgrade to wxGTK-2.8..look at here
or here in italian language |
On this oppotrunity I'd like to say it's a pretty crappy solution. Currently, I just try to remember not closing the last search tab.
Because:
# equery depends wxGTK
[ Searching for packages depending on wxGTK... ]
media-sound/ggseq-0.3.1
media-sound/sooperlooper-1.0.8c
media-sound/audacity-1.3.2-r1
media-sound/wired-0.2.2
net-p2p/amule-2.1.3
and almost none of those would work with the 2.8 wxGTK. Don't forget it's a hard-masked package. _________________ All In All Is All We All Are |
|
Back to top |
|
|
moesasji Apprentice
Joined: 10 May 2005 Posts: 263
|
Posted: Thu Jan 18, 2007 7:57 pm Post subject: |
|
|
It is a crappy solution, but you might check the response of the amule developers on this one.
They simply state that it is not their problem and suggest to upgrade to the stable version of wxGTK even though (none?) of the distro's is including it yet.
ps) if you check this bugreport there appears to be a patch voor wxGTK 2.6 that fixes it. |
|
Back to top |
|
|
nowinter Tux's lil' helper
Joined: 30 Apr 2006 Posts: 90
|
Posted: Sat Jan 20, 2007 12:53 pm Post subject: |
|
|
Quote: | ps) if you check this bugreport there appears to be a patch voor wxGTK 2.6 that fixes it. |
Thanks! That's working. That's, actually, what I've been looking for - for quite a while now, having no time to follow the asserts by myself. Thank you. _________________ All In All Is All We All Are |
|
Back to top |
|
|
|