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 640105 - [PATCH] Crash showing a offscreen window with a textview inside
[PATCH] Crash showing a offscreen window with a textview inside
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-01-20 20:33 UTC by Xan Lopez
Modified: 2011-01-21 02:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test.c (340 bytes, text/plain)
2011-01-20 20:35 UTC, Xan Lopez
  Details
test.c (313 bytes, text/plain)
2011-01-20 20:35 UTC, Xan Lopez
  Details
dndregister.diff (899 bytes, patch)
2011-01-20 20:47 UTC, Xan Lopez
none Details | Review

Description Xan Lopez 2011-01-20 20:33:54 UTC
Seems there's some DnD shenanigans goin on.

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
  • #0 ??
  • #1 gdk_window_register_dnd
    at gdkwindow.c line 10674
  • #2 gtk_drag_dest_realized
    at gtkdnd.c line 2016
  • #3 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #4 g_closure_invoke
    at gclosure.c line 767
  • #5 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #6 g_signal_emit_valist
    at gsignal.c line 2983
  • #7 g_signal_emit
    at gsignal.c line 3040
  • #8 gtk_widget_realize
    at gtkwidget.c line 4388
  • #9 gtk_widget_map
    at gtkwidget.c line 4161
  • #10 gtk_window_map
    at gtkwindow.c line 4708
  • #11 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #12 g_type_class_meta_marshal
    at gclosure.c line 878
  • #13 g_closure_invoke
    at gclosure.c line 767
  • #14 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #15 g_signal_emit_valist
    at gsignal.c line 2983
  • #16 g_signal_emit
    at gsignal.c line 3040
  • #17 gtk_widget_map
    at gtkwidget.c line 4163
  • #18 gtk_offscreen_window_show
    at gtkoffscreenwindow.c line 238
  • #19 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #20 g_type_class_meta_marshal
    at gclosure.c line 878
  • #21 g_closure_invoke
    at gclosure.c line 767
  • #22 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #23 g_signal_emit_valist
    at gsignal.c line 2983
  • #24 g_signal_emit
    at gsignal.c line 3040
  • #25 gtk_widget_show
    at gtkwidget.c line 3895
  • #26 gtk_container_show_all
    at gtkcontainer.c line 3053
  • #27 gtk_widget_show_all
    at gtkwidget.c line 4059
  • #28 main

Comment 1 Xan Lopez 2011-01-20 20:35:00 UTC
Created attachment 178882 [details]
test.c

Trivial testcase.
Comment 2 Xan Lopez 2011-01-20 20:35:49 UTC
Created attachment 178883 [details]
test.c

The correct one this time...
Comment 3 Xan Lopez 2011-01-20 20:47:08 UTC
Created attachment 178885 [details] [review]
dndregister.diff

This seems to fix things.
Comment 4 Matthias Clasen 2011-01-21 02:38:35 UTC
Committed a slightly different fix