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 402117 - Crash when clicking the shape "vertical switch"
Crash when clicking the shape "vertical switch"
Status: RESOLVED DUPLICATE of bug 402974
Product: dia
Classification: Other
Component: general
0.96-pre3
Other Windows
: Normal critical
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-29 14:45 UTC by Christian Ridderström
Modified: 2007-02-03 17:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Ridderström 2007-01-29 14:45:13 UTC
I've found a crash that's quite easy to reproduce in dia0.96pre in Windows.

1. Open the diagram

        http://www.md.kth.se/~chr/dia/bug2.dia

2. Select everything by pressing Ctrl-a (this selects 3 objects)
3. Copy the selected objects by pressing ctrl-c
3. Paste the copied objects by pressing Ctrl-v
4. Click on an empty part of the diagram to select nothing
5. Among the objects you just pasted, click on the 'vertical switch'
   that is located inside the square.

        =>Crash

And you've lost all changes as well :-(

I've lost data a few times now... How can I make Dia perform auto-saves more
frequently?

For the future: Even better than auto-save would be if Dia managed to do an
emergency save, like e.g. LyX. I started with LyX at v0.12, used it for 6
years and only lost data twice I think.  As an aside, it'd be good if Dia
detected a recent crash, looked for auto-saved files and asked the user if
they should be opened and used to replace the originals.

cheers
/Christian
Comment 1 Hans Breuer 2007-01-29 22:55:18 UTC
I can reproduce the crash:

LIBGLIB-2.0-0! 0078f944()
get_text_width(_DiaRenderer * 0x02e35860, const char * 0x02e79820, int 48732192) line 789 + 13 bytes
text_set_cursor(_Text * 0x02a69168, _Point * 0x0012f7b8, _DiaRenderer * 0x02e35860) line 618 + 46 bytes
textedit_activate_object(_DDisplay * 0x02b52b00, _DiaObject * 0x016aad98, _Point * 0x0012f7b8) line 119 + 26 bytes
click_select_object(_DDisplay * 0x02b52b00, _Point * 0x0012f7b8, _GdkEventButton * 0x02dfeb20) line 160 + 17 bytes
modify_button_press(_ModifyTool * 0x02d6ce28, _GdkEventButton * 0x02dfeb20, _DDisplay * 0x02b52b00) line 249 + 17 bytes
ddisplay_canvas_events(_GtkWidget * 0x02dfeda0, _GdkEvent * 0x02dfeb20, _DDisplay * 0x02b52b00) line 585 + 23 bytes
LIBGTK-WIN32-2.0-0! 0050e9b8()
g_closure_invoke(_GClosure * 0x02e66468, _GValue * 0x0012fa30, unsigned int 2, const _GValue * 0x0012fbbc, void * 0x0012fa14) line 494 + 27 bytes
signal_emit_unlocked_R(_SignalNode * 0x00bbc340, unsigned int 0, void * 0x02dfeda0, _GValue * 0x0012fb28, const _GValue * 0x0012fbbc) line 2444 + 42 bytes
g_signal_emit_valist(void * 0x02dfeda0, unsigned int 25, unsigned int 0, char * 0x0012fd7c) line 2209 + 31 bytes
g_signal_emit(void * 0x02dfeda0, unsigned int 25, unsigned int 0) line 2243 + 21 bytes
Comment 2 Lars Clausen 2007-02-03 17:50:27 UTC

*** This bug has been marked as a duplicate of 402974 ***