Home > linux, ubuntu > Filezilla 3.5 crashes when drag&drop a file (Ubuntu 11.10 64 bits)

Filezilla 3.5 crashes when drag&drop a file (Ubuntu 11.10 64 bits)

When I try to drag & drop a file from left pane to right pane, filezilla crashes due to a segmentation faul. This is the dmesg output:


[73197.174428] filezilla[18057]: segfault at 41 ip 00004f26ec47d100 sp 00008fffff165f50 error 4 in libwx_gtk2u_core-2.8.so.0.7.0[8f26ec2a5000+386000]
[73232.550023] filezilla[18241]: segfault at 2227140 ip 0000000004227140 sp 00008fff0623a508 error 15
[73272.918743] filezilla[18416]: segfault at 18db940 ip 00000000048db940 sp 00008fffc42c7ac8 error 15

I searched around for this bug (already reported to filezilla) and the fix is to install the newer version of wxWidgets (2.8.12, the latest stable release). This is how to solve in Ubuntu 11.04:

http://wiki.wxpython.org/InstallingOnUbuntuOrDebian

But this fix doesn’t work for ubuntu 11.10 64 bits (with Gnome 3). I’m still getting the segmentation fault.

So, I decided to build the latest version of wxWidgets (2.9.3.1):


$ sudo python2.7 build-wxpython.py --build_dir=../bld --install

[...]

configure: error: OpenGL libraries not available
Error running configure
ERROR: failed building wxWidgets
Traceback (most recent call last):
 File "build-wxpython.py", line 352, in
 wxbuild.main(wxscript, build_options)
 File "/home/miquelete/wxWidgets/wxPython-src-2.9.3.1/build/tools/build-wxwidgets.py", line 328, in main
 "Error running configure")
 File "/home/miquelete/wxWidgets/wxPython-src-2.9.3.1/build/tools/build-wxwidgets.py", line 62, in exitIfError
 raise builder.BuildError, msg
BuildError

Install the open source openGL Utility Toolkit:


sudo apt-get install freeglut3 freeglut3-dev

And now I get another error:


checking for GST... configure: WARNING: GStreamer 0.10 not available, falling back to 0.8
checking for GST... configure: WARNING: GStreamer 0.8/0.10 not available.
configure: error: GStreamer not available
Error running configure
ERROR: failed building wxWidgets
Traceback (most recent call last):
 File "build-wxpython.py", line 352, in
 wxbuild.main(wxscript, build_options)
 File "/home/mike/wxWidgets/wxPython-src-2.9.3.1/build/tools/build-wxwidgets.py", line 328, in main
 "Error running configure")
 File "/home/mike/wxWidgets/wxPython-src-2.9.3.1/build/tools/build-wxwidgets.py", line 62, in exitIfError
 raise builder.BuildError, msg
BuildError

I need GStreamer package. I’ve tried a bunch of packages to get it work, sure that some of them are not requiered, but this worked for me:

$ sudo apt-get install ubuntu-restricted-extras
$ sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-sdl gstreamer0.10-schroedinger gstreamer0.10-plugins-ugly totem-plugins-extra
$ sudo apt-get install libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libxml2
$ sudo getlibs -p gstreamer0.10-pitfdll
$ sudo apt-get install libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-tools gstreamer0.10-plugins-base libgstreamer-plugins-base0.10-dev gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg

Now I can build, but during the make install I get this one:

src/helpers.cpp:15:20: fatal error: Python.h: No such file or directory

compilation terminated.
error: command 'gcc' failed with exit status 1
ERROR: failed building wxPython.

This is because I don’t have Python.h in /usr/include/python2.7/. To get it, install this package:

$ sudo apt-get install python-dev

Once added this package, the installation
Change to ../bld folder and check the version of wxWidgets:


$ wx-config --version
2.9.3

And now I can get it work!

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: