#9896 closed defect (fixed)
BUG: libgnomecanvas-2.14.0
Reported by: | matt@… | Owned by: | rhwood@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
libgnomecanvas-2.14.0
Description: With a default compile, libgnomecanvas segfaults when it is used, in uta_union_clip (see a full backtrace from gnome-about below). This occurs with various programs, so I don't think it's the callers' fault. See also https://lists.gnucash.org/pipermail/gnucash-user/2006-June/016798.html .
It seems that compiling with CFLAGS=-O1 fixes/bypasses the issue. I've had a quick look with gdb, it seems that the stack is getting somehow corrupted when it is compiled with -O2. I can't see anything obviously wrong with the nearby code, perhaps it's a gcc bug? For now adding -O1 to the Portfile might be the best solution.
0 libgnomecanvas-2.0.dylib 0x015abef9 uta_union_clip + 377 (gnome-canvas.c:3573) 1 libgnomecanvas-2.0.dylib 0x015ac927 gnome_canvas_request_redraw_uta + 371 (gnome-canvas.c:3683) 2 libgnomecanvas-2.0.dylib 0x015acafb gnome_canvas_request_redraw + 350 (gnome-canvas.c:3730) 3 libgnomecanvas-2.0.dylib 0x015ad4ce item_post_create_setup + 109 (gnome-canvas.c:219) 4 libgnomecanvas-2.0.dylib 0x015ad679 gnome_canvas_item_new + 140 (gnome-canvas.c:207) 5 gnome-about 0x00003588 display_introduction_message + 422 (gnome-about.c:310) 6 gnome-about 0x000036e4 start_animations + 34 (gnome-about.c:365) 7 libgobject-2.0.0.dylib 0x01ea5136 g_closure_invoke + 527 8 libgobject-2.0.0.dylib 0x01eb6c11 signal_emit_unlocked_R + 3394 9 libgobject-2.0.0.dylib 0x01eb7db4 g_signal_emit_valist + 1795 10 libgobject-2.0.0.dylib 0x01eb846e g_signal_emit + 41 11 libgtk-x11-2.0.0.dylib 0x018d0287 gtk_widget_map + 319 12 libgtk-x11-2.0.0.dylib 0x016f1714 gtk_container_map_child + 69 13 libgtk-x11-2.0.0.dylib 0x016a5032 gtk_box_forall + 124 14 libgtk-x11-2.0.0.dylib 0x016ef3e4 gtk_container_forall + 228 15 libgtk-x11-2.0.0.dylib 0x016f174d gtk_container_map + 55 16 libgobject-2.0.0.dylib 0x01ea5136 g_closure_invoke + 527 17 libgobject-2.0.0.dylib 0x01eb624f signal_emit_unlocked_R + 896 18 libgobject-2.0.0.dylib 0x01eb7db4 g_signal_emit_valist + 1795 19 libgobject-2.0.0.dylib 0x01eb846e g_signal_emit + 41 20 libgtk-x11-2.0.0.dylib 0x018d0287 gtk_widget_map + 319 21 libgtk-x11-2.0.0.dylib 0x018e1af2 gtk_window_map + 117 22 libgtk-x11-2.0.0.dylib 0x01704c9a gtk_dialog_map + 43 23 libgobject-2.0.0.dylib 0x01ea5136 g_closure_invoke + 527 24 libgobject-2.0.0.dylib 0x01eb624f signal_emit_unlocked_R + 896 25 libgobject-2.0.0.dylib 0x01eb7db4 g_signal_emit_valist + 1795 26 libgobject-2.0.0.dylib 0x01eb846e g_signal_emit + 41 27 libgtk-x11-2.0.0.dylib 0x018d0287 gtk_widget_map + 319 28 libgtk-x11-2.0.0.dylib 0x018e19b0 gtk_window_show + 373 29 libgobject-2.0.0.dylib 0x01ea5136 g_closure_invoke + 527 30 libgobject-2.0.0.dylib 0x01eb624f signal_emit_unlocked_R + 896 31 libgobject-2.0.0.dylib 0x01eb7db4 g_signal_emit_valist + 1795 32 libgobject-2.0.0.dylib 0x01eb846e g_signal_emit + 41 33 libgtk-x11-2.0.0.dylib 0x018cfbcc gtk_widget_show + 97 34 libgtk-x11-2.0.0.dylib 0x016f14dc gtk_container_show_all + 168 35 libgtk-x11-2.0.0.dylib 0x018d008e gtk_widget_show_all + 174 36 gnome-about 0x000053e1 main + 3426 (gnome-about.c:1216) 37 gnome-about 0x00002bf6 _start + 228 (crt.c:272) 38 gnome-about 0x00002b11 start + 41
Change History (5)
comment:1 Changed 18 years ago by rhwood@…
Owner: | changed from gnome-darwinports@… to rhwood@… |
---|
comment:2 Changed 18 years ago by rhwood@…
Status: | new → assigned |
---|
comment:4 Changed 18 years ago by markd@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The port has been patched but no feedback. Closing.
A possible fix to both these bugs has been submitted to CVS. Will be seen by "port selfupdate" or "port sync" within 12 hours.