After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 620461 - Banshee crashes with RGBA turned on.
Banshee crashes with RGBA turned on.
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: User Interface
1.6.1
Other Linux
: Normal critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-03 10:51 UTC by h31mail
Modified: 2010-08-11 05:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description h31mail 2010-06-03 10:51:59 UTC
I'm using Ubuntu 10.04, 32-bit. This bug affects both 1.6.1 and 1.7.1. I installed Banshee from Banshee-team PPA. When RGBA is being turned on, Banshee crashes soon after a start. When I had turned off RGBA, Banshee started to work normally.
Debug log: http://pastebin.com/NFBhGMar
Comment 1 Gabriel Burt 2010-06-03 17:35:53 UTC
Please attach logs to bugzilla in the future.

Can you try removing the NotificationArea extension and see if that fixes it?  I think that's where the problem comes from.  You can `sudo mv /usr/lib/banshee-1/Extensions/Banshee.Notification* ~/` to move it out of the way.
Comment 2 h31mail 2010-06-03 18:35:53 UTC
Yes, this command fixes it, after moving Banshee.Notification* to ~/ Banshee stopped to crash.
Comment 3 Bowmore 2010-06-06 09:42:20 UTC
This workaround makes it possible to launch Banshee and to play audio. 
Banshee still crashes when trying to play a video.

The reason seems to be the same, i.e an rgba issue.
$ banshee --sync
Gdk-ERROR **: The program 'Banshee' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 68 error_code 8 request_code 132 minor_code 19)
  (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...
Spårningsfälla (minnesutskrift skapad)
Comment 4 Bowmore 2010-06-06 09:56:01 UTC
I forgot to mention that I'm running Ubuntu 10.10 (Maverick) incl rgba.

Also see:
https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/585160
Comment 5 Bowmore 2010-06-07 05:22:08 UTC
When banshee is run with XLIB_SKIP_ARGB_VISUALS=1 there is no crash.

Workaround in the terminal:
XLIB_SKIP_ARGB_VISUALS=1 banshee

Workaround editing the menu:
env XLIB_SKIP_ARGB_VISUALS=1 banshee

Audio and video play fine and no need to remove the notification icon.
Comment 6 Omer Akram 2010-06-16 09:27:17 UTC
Bowmore, this bug report was not opened to suggest workarounds. 

the cause its crashing is that it should be using system colormap. Its is expected that gtk3 will feature csd and ARGB colormap so would be great if this problem is fixed rather than being worked around.
Comment 7 Bertrand Lorentz 2010-06-20 19:54:54 UTC
Could someone try the patch attached to bug #588255 with the latest git master ?

It might also be relevant for this issue.
Comment 8 Iain Lane 2010-06-24 23:02:33 UTC
Yes, that patch does indeed fix the crash! (At least the immediate one; I didn't try playing a video). Nice work :)
Comment 9 Gabriel Burt 2010-08-11 05:04:24 UTC
That patch was committed; closing