Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 203389
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo wxWidgets Herd <wxwidgets@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Childress <clchildress@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
filezilla-bugreport.txt Bugbuddy crash info collection text/plain Chris Childress 2007-12-26 16:33 0000 242.62 KB Details
emerge info emerge --info text/plain Chris Childress 2007-12-28 16:07 0000 3.85 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 203389 depends on: Show dependency tree
Bug 203389 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-26 16:32 0000
When attempting to close filezilla by either menu option or the "x" window
decoration, filezilla crashes unexpectedly instead of closing cleanly.

Reproducible: Always

Steps to Reproduce:
1.Open Filezilla
2.operating in filezilla is optional
3.close filezilla

Actual Results:  
It crashes every time.  Attached is collected info from bugbuddy

Expected Results:  
It should have closed cleanly.

Fully updated gentoo linux.  Filezilla does require some updated dependencies
such as gnutls and wxGTK, not sure if that makes a difference.

------- Comment #1 From Chris Childress 2007-12-26 16:33:26 0000 -------
Created an attachment (id=139365) [details]
Bugbuddy crash info collection

------- Comment #2 From Jason Smathers (RETIRED) 2007-12-27 02:26:11 0000 -------
I am unable to reproduce, can you paste `emerge --info` please?

------- Comment #3 From Chris Childress 2007-12-28 16:07:58 0000 -------
Created an attachment (id=139527) [details]
emerge --info

emerge --info from problematic box, as requested.

------- Comment #4 From Michal Lipski 2008-01-02 01:11:09 0000 -------
Same problem here...
emerge --info: http://tallica.pl/linux/emerge_info

------- Comment #5 From Tim Kosse 2008-01-04 15:19:29 0000 -------
I've compiled wxGTK and filezilla with C(XX)FLAGS -O0 -ggdb, FEATURES=nostrip,
USE=debug

Ran it inside gdb and got this trace:

#0  0xb66baa50 in ?? ()
#1  0xb71c6d9c in exit () from /lib/libc.so.6
#2  0xb71b0fe4 in __libc_start_main () from /lib/libc.so.6
#3  0x08073171 in _start ()

Valgrind reported the following:

==27539== 
==27539== Jump to the invalid address stated on the next line
==27539==    at 0x59EBA50: ???
==27539==    by 0x4CF7FE3: (below main) (in /lib/libc-2.6.1.so)
==27539==  Address 0x59EBA50 is not stack'd, malloc'd or (recently) free'd
==27539== 
==27539== Process terminating with default action of signal 11 (SIGSEGV)
==27539==  Access not within mapped region at address 0x59EBA50
==27539==    at 0x59EBA50: ???
==27539==    by 0x4CF7FE3: (below main) (in /lib/libc-2.6.1.so)
==27539== 


This problem does not happen with self-compiled wxWidgets and FileZilla using
the most recent reversions from the upstream SVN repositories.

------- Comment #6 From Tim Kosse 2008-01-04 15:37:11 0000 -------
Update: Problem does still happen with wxGTK from portage and a self-compiled
filezilla from the upstream SVN sources.

------- Comment #7 From Tim Kosse 2008-01-04 16:11:22 0000 -------
Update: Manually compiling wxWidgets with the same flags passed to configure as
the ebuild would do it will trigger the bug as well.

Trying to find out which flag is responsible.

------- Comment #8 From Tim Kosse 2008-01-04 16:20:31 0000 -------
Note: The segfault also happens with the wxWidgets samples, indicating that
this is a problem with wxGTK (or its deps) and not FileZilla.

------- Comment #9 From Tim Kosse 2008-01-04 16:34:45 0000 -------
Good news: The responsible configure flag is --with-gnomevfs

------- Comment #10 From Vadim Zeitlin 2008-01-04 18:24:11 0000 -------
This is not Gentoo-specific as I've just reproduced the bug under Debian too.
We'll try to fix it in the upstream, for now it might make sense to not use
--with-gnomevfs option for building wx.

------- Comment #11 From Ryan Hill 2008-01-05 00:35:49 0000 -------
we can take this one ;)

------- Comment #12 From Vadim Zeitlin 2008-01-06 13:16:39 0000 -------
I've "fixed" the bug in the latest wx version by not unloading
libgnomevfs-2.so.0 at all (apparently this library installs some hooks into
other GTK libraries to which we link explicitly which are not uninstalled when
it's unloaded resulting in a crash because a call to already unloaded code is
done) but the code enabled by --with-gnomevfs doesn't seem to do anything
useful currently anyhow so I repeat my recommendation that you don't use this
option at all for now. But if you do, at least it shouldn't crash any more...

------- Comment #13 From Ryan Hill 2008-01-06 22:44:29 0000 -------
Fixed in wxGTK-2.8.7.1-r1 by passing --without-gnomevfs unconditionally. 
Thanks everyone.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug