firestarter does not launch from gnome main menu or from terminal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firestarter (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firestarter
Ubuntu version: Maverick alpha1 64 bit
firestarter 1.0.3-7ubuntu5
firestarter does not launch from gnome main menu or terminal
mark@ubuntu:~$ sudo firestarter
[sudo] password for mark:
Gdk-ERROR **: The program 'firestarter' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 166 error_code 8 request_code 2 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...
Trace/breakpoint trap
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: firestarter 1.0.3-7ubuntu5
ProcVersionSign
Uname: Linux 2.6.34-5-generic x86_64
Architecture: amd64
Date: Sat Jun 5 12:21:11 2010
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: firestarter
I had the same problem as well. I poked around a bit and found a "quick and dirty" bug fix.
I installed the debug symbols version of libglib2.0-0 (sudo su - ; aptitude install libglib2.0-0-dbg ), built the deb (cd /usr/src; mkdir FS; cd FS; apt-get -b source firestarter; dpkg -i firestarter*deb) and piped it through a debugger (ddd) to locate where the program crashes, and it happens in the source file 'eggtrayicon.c', where a call to the gdk function 'gdk_window_ set_back_ pixmap' is made in the function 'make_transparent' (another such call is made in make_transparen t_again) with NULL as the second argument (where you are supposed to pass the pointer to the pixmap if it exists; perhaps the new versions of gdk don't take a NULL pointer, and hence the crash?), where it is apparently trying to set/adjust firestarter tray icon properties. Once I commented out these two calls (this needs to be done by editing the patchfile firestarter- 1.0.3/debian/ patches/ 12_firestarter_ transparent_ icon.dpatch ), rebuilt the deb (dpkg-buildpackage -uc -b), installed and ran it, the program did not crash and seems to be working normally.
I am attaching the modified patch file that I used (replace the identically named file in the debian/patches folder of the source tree with this one). If someone uses this stopgap method to build the package for regular use until an official fix is rolled out by the developers, you may want to do 'aptitude remove libglib2.0-0-dbg' first and then rebuild using the normal glib library. Those unfamiliar with (re)building debs may want to look up Section 6 ("Working with source packages") of the APT HOWTO for a quick rundown.