Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GTK-related amule crash
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nowinter
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2006
Posts: 90

PostPosted: Wed Dec 20, 2006 10:44 pm    Post subject: GTK-related amule crash Reply with quote

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" :lol:
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? 8)
_________________
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
View user's profile Send private message
LubosD
Apprentice
Apprentice


Joined: 30 Jun 2005
Posts: 210
Location: Czech Republic

PostPosted: Wed Dec 20, 2006 10:46 pm    Post subject: Reply with quote

Same problem here... it didn't use to crash in the past.
Back to top
View user's profile Send private message
effloresce
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2005
Posts: 109

PostPosted: Wed Dec 20, 2006 10:46 pm    Post subject: Reply with quote

Same thing here.. dont know how to fix it though.
Back to top
View user's profile Send private message
nowinter
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2006
Posts: 90

PostPosted: Thu Dec 21, 2006 2:01 am    Post subject: Reply with quote

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. :lol: :lol: 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
View user's profile Send private message
maxima
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 150

PostPosted: Thu Dec 21, 2006 5:33 am    Post subject: Reply with quote

It's a known bug, search bugzilla first next time.
https://bugs.gentoo.org/show_bug.cgi?id=151528#c5
you only need to upgrade wxgtk
Back to top
View user's profile Send private message
nowinter
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2006
Posts: 90

PostPosted: Thu Dec 21, 2006 7:56 am    Post subject: Reply with quote

maxima wrote:
It's a known bug, search bugzilla first next time.
https://bugs.gentoo.org/show_bug.cgi?id=151528#c5
you only need to upgrade wxgtk


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
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2453
Location: イタリアのロディで

PostPosted: Wed Jan 10, 2007 8:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
noice
Guru
Guru


Joined: 05 Dec 2005
Posts: 473
Location: italia, Ischia

PostPosted: Thu Jan 18, 2007 4:54 pm    Post subject: Reply with quote

upgrade to wxGTK-2.8..look at here
or here in italian language :wink:
_________________
Noice

when you post remove comments
Code:
grep -vh '^[[:space:]]*\(#\|$\)' "$@"
Back to top
View user's profile Send private message
nowinter
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2006
Posts: 90

PostPosted: Thu Jan 18, 2007 7:48 pm    Post subject: Reply with quote

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. :evil:
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
View user's profile Send private message
moesasji
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 263

PostPosted: Thu Jan 18, 2007 7:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
nowinter
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2006
Posts: 90

PostPosted: Sat Jan 20, 2007 12:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum