goocanvas.Widget segfault

Bug #80832 reported by Gian Mario Tagliaretti
2
Affects Status Importance Assigned to Milestone
pygoocanvas
Invalid
Undecided
Unassigned

Bug Description

Using goocanvas.Widget result in a segfault, gdb backtrace:

gdb> run testwidget.py
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211132224 (LWP 3664)]
testwidget.py:35: GtkWarning: gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed
  window.show_all ()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211132224 (LWP 3664)]
_______________________________________________________________________________
     eax:00000000 ebx:B704E5EC ecx:B704E5EC edx:00000000 eflags:00200286
     esi:00000000 edi:00000000 esp:BFFD9E00 ebp:BFFD9E28 eip:B74FADEF
     cs:0073 ds:007B es:007B fs:0000 gs:0033 ss:007B o d I t S z a P c
[007B:BFFD9E00]---------------------------------------------------------[stack]
BFFD9E30 : 00 00 00 00 00 00 00 00 - 00 00 00 40 EC E5 04 B7 ...........@....
BFFD9E20 : EC E5 04 B7 50 50 18 08 - 48 9E FD BF D0 51 04 B7 ....PP..H....Q..
BFFD9E10 : 8E 2C 63 B7 04 2E 63 B7 - 68 2E 63 B7 EC E5 04 B7 .,c...c.h.c.....
BFFD9E00 : 8C 64 65 B7 00 00 00 00 - 28 9E FD BF 8D 5E 5E B7 .de.....(....^^.
[007B:BFFD9E00]---------------------------------------------------------[ data]
BFFD9E00 : 8C 64 65 B7 00 00 00 00 - 28 9E FD BF 8D 5E 5E B7 .de.....(....^^.
BFFD9E10 : 8E 2C 63 B7 04 2E 63 B7 - 68 2E 63 B7 EC E5 04 B7 .,c...c.h.c.....
[0073:B74FADEF]---------------------------------------------------------[ code]
0xb74fadef <cairo_set_line_width+15>: mov 0x4(%esi),%eax
0xb74fadf2 <cairo_set_line_width+18>: test %eax,%eax
0xb74fadf4 <cairo_set_line_width+20>: je 0xb74fae00 <cairo_set_line_width+32>
0xb74fadf6 <cairo_set_line_width+22>: mov 0xfffffff8(%ebp),%ebx
0xb74fadf9 <cairo_set_line_width+25>: mov 0xfffffffc(%ebp),%esi
0xb74fadfc <cairo_set_line_width+28>: mov %ebp,%esp
------------------------------------------------------------------------------
0xb74fadef in cairo_set_line_width () from /usr/lib/libcairo.so.2

Revision history for this message
Gian Mario Tagliaretti (gianmt) wrote :
Revision history for this message
Gustavo Carneiro (gjc) wrote :

The bug is goocanvas, not pygoocanvas: goocanvas doesn't like embedding widgets before the canvas widget is realized. You can work around it by changing the test program slightly.

Revision history for this message
Gustavo Carneiro (gjc) wrote :

Since goocanvas is not registered in launchpad I have to close this (can't reassign).

Changed in pygoocanvas:
status: Unconfirmed → Rejected
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.