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 151696 - Crash with Navigation Window
Crash with Navigation Window
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.94
Other other
: Normal critical
: 0.95
Assigned To: Hans Breuer
Dia maintainers
: 303388 317911 322582 326664 328278 328895 331570 336593 339176 348039 352038 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-09-02 16:16 UTC by andrew
Modified: 2006-08-19 14:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description andrew 2004-09-02 16:16:37 UTC
From: Andrew Bennetts <andrew-bugbuddy@puzzling.org>
To: submit@bugs.gnome.org
X-Mailer: bug-buddy 2.7.91
Subject: Crash quickly reclicking on the mini-preview window

Distribution: Debian testing/unstable
Package: dia
Severity: normal
Version: GNOME2.7.92 0.93
Gnome-Distributor: Ubuntu
Synopsis: Crash quickly reclicking on the mini-preview window
Bugzilla-Product: dia
Bugzilla-Component: general
Bugzilla-Version: 0.93
BugBuddy-GnomeVersion: 2.0 (2.7.92)
Description:
Description of the crash:
(I'm not sure what the right terminology is; there's a little preview
window that's accessible by clicking at the bottom-right corner of a
diagram's window which can be used to pan around the diagram quickly. 
That's what I'm referring to when I say "preview window")

Quickly clicking on the preview window repeatedly, so that it doesn't
have time to redraw, caused dia to crash for me.  I did this by
accidentally letting go of my mouse button, and very quickly clicking it
again.

Steps to reproduce the crash:
1. Open a diagram (this one is relatively complex, roughly 20
interconnected boxes from the UML set)
2. Click and hold on the bottom right of the window to bring up the
preview window, and then very quickly release and then click and hold
again

Expected Results:
No crash :)

How often does this happen?
This is the first time I've seen it, so it might be quite rare.

Additional Information:
$ dpkg -l dia-gnome | grep dia
ii  dia-gnome      0.93-4ubuntu2  Diagram editor (GNOME version)



Debugging Information:

Backtrace was generated from '/usr/bin/dia'

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...[Thread debugging using
libthread_db enabled]
[New Thread 1088382688 (LWP 7608)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...0x40ac2f2e in __waitpid_nocancel
() from /lib/tls/libpthread.so.0

Thread 1 (Thread 1088382688 (LWP 7608))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 g_object_unref
    from /usr/lib/libgobject-2.0.so.0
  • #4 navigation_popup_new
  • #5 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #10 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 _gtk_button_paint
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #18 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #22 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #23 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #24 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #25 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #26 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 main
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-09-02 12:16 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "dia".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was andrew@fuchsia.puzzling.org.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Hans Breuer 2004-09-19 13:18:18 UTC
fixed subject
Comment 2 Lars Clausen 2005-07-16 18:48:03 UTC
Managed to reproduce by clicking *many* times quickly.  Top of stack trace:

  • #0 gtk_widget_destroy
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #1 on_button_navigation_popup_released
    at navigation.c line 411
  • #2 g_cclosure_marshal_VOID__VOID
    from /opt/gnome/lib/libgobject-2.0.so.0

Comment 3 Sebastien Bacher 2005-09-12 13:21:09 UTC
Ubuntu bug about this: http://bugzilla.ubuntu.com/show_bug.cgi?id=14545

no need to click clicking to get the crash using dia 0.94-11 package with GNOME
2.12 on current Ubuntu.

Backtrace of the crash:

(dia:2133): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (ob
ject)' failed

(dia:2133): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (ob
ject)' failed
sys:1: GtkWarning: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed

(dia:2133): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (ob
ject)' failed

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 2133)

  • #0 IA__g_object_unref
    at gobject.c line 1651
  • #1 navigation_popup_new
  • #2 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #3 IA__g_closure_invoke
    at gclosure.c line 492
  • #4 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #5 IA__g_signal_emit_valist
    at gsignal.c line 2244
  • #6 IA__g_signal_emit
    at gsignal.c line 2288
  • #7 IA__gtk_button_released
    at gtkbutton.c line 826
  • #8 gtk_button_button_release
    at gtkbutton.c line 1262
  • #9 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #10 g_type_class_meta_marshal
  • #11 IA__g_closure_invoke
    at gclosure.c line 492
  • #12 signal_emit_unlocked_R
    at gsignal.c line 2523
  • #13 IA__g_signal_emit_valist
    at gsignal.c line 2254
  • #14 IA__g_signal_emit
    at gsignal.c line 2288
  • #15 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #16 IA__gtk_propagate_event
    at gtkmain.c line 2160
  • #17 IA__gtk_main_do_event
    at gtkmain.c line 1397
  • #18 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #19 IA__g_main_context_dispatch
    at gmain.c line 1934
  • #20 g_main_context_iterate
  • #21 IA__g_main_loop_run
    at gmain.c line 2769
  • #22 IA__gtk_main
    at gtkmain.c line 976
  • #23 main

Comment 4 Sebastien Bacher 2005-09-12 13:24:36 UTC
*** Bug 303388 has been marked as a duplicate of this bug. ***
Comment 5 Hans Breuer 2005-12-27 16:51:35 UTC
With gtk+ > 2.6.x it seems to reliably crash every single time.
Which should make it an easy fix ;) It seems as if I've already
found a work-around, not sure if this issue also should be
reported as gtk bug. But apparently it was possible to make
the release_event handler called twice in earlier versions, too.
Comment 6 Hans Breuer 2005-12-27 17:29:25 UTC
2005-12-27  Hans Breuer  <hans@breuer.org>

	* app/navigation.c : protect on_da_button_release_event() against being
	called twice. Also only popdown the navigation window after the first 
	draw (reusing nav->is_first_expose). Fixes bug #151696
Comment 7 Hans Breuer 2005-12-28 10:41:06 UTC
*** Bug 322582 has been marked as a duplicate of this bug. ***
Comment 8 Hans Breuer 2005-12-28 10:42:23 UTC
*** Bug 317911 has been marked as a duplicate of this bug. ***
Comment 9 Hans Breuer 2006-01-12 00:14:15 UTC
*** Bug 326664 has been marked as a duplicate of this bug. ***
Comment 10 Hans Breuer 2006-01-23 19:59:01 UTC
*** Bug 328278 has been marked as a duplicate of this bug. ***
Comment 11 Hans Breuer 2006-01-27 21:04:11 UTC
*** Bug 328895 has been marked as a duplicate of this bug. ***
Comment 12 Hans Breuer 2006-02-17 18:08:19 UTC
*** Bug 331570 has been marked as a duplicate of this bug. ***
Comment 13 Karsten Bräckelmann 2006-03-30 11:38:50 UTC
*** Bug 336593 has been marked as a duplicate of this bug. ***
Comment 14 Hans Breuer 2006-05-13 21:19:59 UTC
*** Bug 339176 has been marked as a duplicate of this bug. ***
Comment 15 Hans Breuer 2006-07-19 21:42:11 UTC
*** Bug 348039 has been marked as a duplicate of this bug. ***
Comment 16 Hans Breuer 2006-08-19 14:54:47 UTC
*** Bug 352038 has been marked as a duplicate of this bug. ***