Re: Dia v0.95+cvs crash



Hi Lars

I experience the same crash as Yong Wang, using Mandriva 2007 with
GTK+ 2.10.3
pango 1.14.3
libart 2.3.17

and since we are getting closer to christmas I also have a stack trace for 
you :

#0  0xbfffe410 in __kernel_vsyscall ()
#1  0xb752303e in pthread_exit () from /lib/i686/libc.so.6
#2  0xb7f9c0bc in _dl_map_object_deps (map=0x94994e8, preloads=0x0, 
npreloads=Variable "npreloads" is not available.
)
    at dl-deps.c:495
#3  0xb7fa031c in dl_open_worker (a=0xbf827ca4) at dl-open.c:292
#4  0xb7f9cc45 in _dl_catch_error (objname=0xbf827ccc, errstring=0xbf827cc8,
    mallocedp=0xbf827cd3, operate=0xb7fa01f0 <dl_open_worker>, 
args=0xbf827ca4)
    at dl-error.c:178
#5  0xb7f9feb2 in _dl_open (file=0xb7566512 "libgcc_s.so.1", 
mode=Variable "mode" is not available.
)
    at dl-open.c:550
#6  0xb754a1c2 in _dl_mcount_wrapper () from /lib/i686/libc.so.6
#7  0xb7f9cc45 in _dl_catch_error (objname=0xbf827e0c, errstring=0xbf827e08,
    mallocedp=0xbf827e13, operate=0xb754a160 <_dl_mcount_wrapper+64>,
    args=0xbf827dfc) at dl-error.c:178
#8  0xb754a375 in __libc_dlopen_mode () from /lib/i686/libc.so.6
#9  0xb75289c9 in __nss_passwd_lookup () from /lib/i686/libc.so.6
#10 0xb785b84b in pthread_once () from /lib/i686/libpthread.so.0
#11 0xb7528ac8 in backtrace () from /lib/i686/libc.so.6
#12 0xb74a9431 in __fsetlocking () from /lib/i686/libc.so.6
#13 0xb74b0dad in mallopt () from /lib/i686/libc.so.6
#14 0xb74b0f33 in free () from /lib/i686/libc.so.6
#15 0xb7739741 in g_free () from /usr/lib/libglib-2.0.so.0
#16 0xb7f39447 in text_line_adjust_layout_line (line=0x9816b38,
---Type <return> to continue, or q <return> to quit---
    layoutline=0x9825798, scale=1) at textline.c:390
#17 0xb7f6dd71 in draw_text_line (object=0x980f108, text_line=0x9816b38,
    pos=0xbf828708, color=0x9821e2c) at diagdkrenderer.c:729
#18 0xb7f69fa7 in draw_text (renderer=0x980f108, text=0x9821e00)
    at diarenderer.c:415
#19 0xb7f372bf in text_draw (text=0x9821e00, renderer=0x980f108) at text.c:622
#20 0xb716ae22 in textobj_draw (textobj=0x9822138, renderer=0x980f108)
    at textobj.c:236
#21 0xb7f6ceea in draw_object (renderer=0x980f108, object=0x9822138)
    at diagdkrenderer.c:961
#22 0x0807139e in ddisplay_obj_render (obj=0x9822138, renderer=0x980f108,
    active_layer=1, data=0x9806910) at display.c:630
#23 0xb7f3195b in layer_render (layer=0x9574f90, renderer=0x980f108,
    update=0xbf8288f8, obj_renderer=0x8071380 <ddisplay_obj_render>,
    data=0x9806910, active_layer=1) at diagramdata.c:693
#24 0xb7f31aac in data_render (data=0x80d3120, renderer=0x980f108,
    update=0xbf8288f8, obj_renderer=0x8071380 <ddisplay_obj_render>,
    gdata=0x9806910) at diagramdata.c:625
#25 0x080712e6 in ddisplay_render_pixmap (ddisp=0x9806910, update=0xbf8288f8)
    at display.c:673
#26 0x08072c2f in ddisplay_update_handler (ddisp=0x9806910) at display.c:590
#27 0xb77303e0 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
#28 0xb77321b5 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#29 0xb77351d2 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#30 0xb7735544 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#31 0xb7ca599f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x0809e42f in main (argc=Cannot access memory at address 0x0


Regards Torben

On Wednesday 29 November 2006 11:23, Lars Clausen wrote:
On Wed, 2006-11-29 at 02:11 -0800, YONG WANG wrote:
I downloaded the CVS version, compiled and installed. Everything seems
to be OK. and I can start Dia. However, I met two problems

Which versions of GTK, Pango and LibArt are you using?

1. when I start Dia from a terminal, there are many warnings as
follows,

(dia:22669): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)' failed

(dia:22669): Gtk-CRITICAL **: gtk_pixmap_set: assertion
`gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET
(pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))'
failed

(dia:22669): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)' failed

when i used Dia v0.94 before, there are similar warnings but seems it
does
not affect my usage.

2. I can start Dia and use it, but when I try to input some text in my
diagram, Dia just crash. Under terminal I can see the following
messages
before crashing

Could you try doing

export DEBUGGER=gdb
app/run_dia.sh
(in the debugger) run
(enter some text so it crashes and then) bt

-Lars

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]