Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#761 closed Bug (fixed)

gdk issue with composition on

Reported by: kman Owned by:
Priority: Normal Milestone: None Set
Component: GTK+ Client Version: 1.06
Severity: Major Keywords:
Cc:

Description

Transmission SVN fails to start when composition is turned on. Last version that worked correctly seems to be 1.06 and SVN cset 5144

System: Ubuntu 7.10 with current updates and compiz turned ON.

Error message:

kman@dracula:~/build/Transmission$ transmission The program 'transmission' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch? (invalid parameter attributes)'.

(Details: serial 146 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.)

Attachments (2)

backtrace.txt (3.2 KB) - added by charles 14 years ago.
crash while running "transmission --sync" inside of gdb
0001-Use-RGBA-colormap-if-available.patch (1.6 KB) - added by wereHamster 14 years ago.
GtkStatusIcon? doesn't support RGBA colormaps... that caused the crash.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by kman

I commented out the line

gtk_widget_set_default_colormap( colormap );

and it seems to work fine.

comment:2 follow-up: Changed 14 years ago by kman

I changed the line to

gtk_widget_set_colormap(GTK_WIDGET(self), colormap);

and it seems to fix the issue.

Can you investigate this a little ?

Thanks,

Cristian

comment:3 in reply to: ↑ 2 Changed 14 years ago by kman

forgot to mention that the file is gtk/tr-window.c, line 459

Replying to kman:

I changed the line to

gtk_widget_set_colormap(GTK_WIDGET(self), colormap);

and it seems to fix the issue.

Can you investigate this a little ?

Thanks,

Cristian

comment:4 Changed 14 years ago by wereHamster

What kind of compositing environment do you have (XGL or native, compiz or kde window manager, which drivers etc)?

Changed 14 years ago by charles

crash while running "transmission --sync" inside of gdb

Changed 14 years ago by wereHamster

GtkStatusIcon? doesn't support RGBA colormaps... that caused the crash.

comment:5 Changed 14 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed

This colormap change has been removed until we have a better handle on the Right Way to implement it.

comment:6 Changed 14 years ago by charles

  • Component changed from Transmission to GTK+ Client
Note: See TracTickets for help on using tickets.