firestarter does not launch from gnome main menu or from terminal

Bug #590160 reported by Mark Hanna
18
This bug affects 3 people
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
ProcVersionSignature: Ubuntu 2.6.34-5.14-generic 2.6.34
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

Revision history for this message
Mark Hanna (mlhanna-gmail) wrote :
Revision history for this message
Matt Reed (tuxrecipes) wrote :

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_transparent_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.

Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in firestarter (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.