On Thu, 18 Mar 1999, [EMAIL PROTECTED] wrote:

> Hi,
> 
> I�ve had quite a lot of crashes, when I doubleclick a line to edit the
> arrows, then without closing doubleclick another, to update the lines,
> sometimes it is ok, but often it crashes. Here is a backtrace, Hope you
> can spot the problem from it! (It always cores in the same place) I use
> dia from cvs and glib/gtk 1.2.0
> 
> ----
> #0  gdk_window_get_size (window=0x39, width=0xbffff8c0, height=0xbffff8bc)
> at gdkwindow.c:1390
> 1390        *width = window_private->width;
> (gdb) bt
> #0  gdk_window_get_size (window=0x39, width=0xbffff8c0, height=0xbffff8bc)
> at gdkwindow.c:1390
> #1  0x400ecdfb in gtk_widget_clip_rect (widget=0x8116678, window=0x39,
> rect=0x80b7670, x_offset=0x0, y_offset=0x0) at gtkwidget.c:1994
> #2  0x400ed0e3 in gtk_widget_idle_draw (cb_data=0x0) at gtkwidget.c:2086
> #3  0x4015e980 in g_idle_dispatch (source_data=0x400ecf88,
> current_time=0xbffff9b4, user_data=0x0) at gmain.c:1228
> #4  0x4015dae3 in g_main_dispatch (current_time=0xbffff9b4) at gmain.c:647
> #5  0x4015e06f in g_main_iterate (block=1, dispatch=1) at gmain.c:854
> #6  0x4015e1f1 in g_main_run (loop=0x80b5228) at gmain.c:912
> #7  0x40094277 in gtk_main () at gtkmain.c:475
> #8  0x805d243 in main (argc=1, argv=0xbffffa24) at main.c:30
> ----

Here's maybe a cluon:
The bug doesn't appear when just clicking on the same line, nor if you
switch between different kinds of objects, e.g. lines and arcs.  The
problem seems to arise when gtk_option_menu_set_history is called --
comment that out, and there is no crash.  I see nothing suspicious in the
arguments.

-Lars

-- 
Lars R. Clausen ([EMAIL PROTECTED])                      H�rdgrim of Numenor
echo '[  bottles of beer]sa[  bottle of beer]sb[  take one down, pass it around
]sd[ on the wall]sc[no more]se99snlc[lalnpsnPplalnp1-snpldPln1=ylnpsnPp[]pst
ln0<x]sx[salblnpsnPplblnpsnpldPleplaPlcpq]sylxx' | dc

Reply via email to