Hi all,
i wanted to run the "selfmade/built" DIA (0.86) on my SUN/Solaris 2.7-WS (Ultra 10)
and ran into following problems:
started DIA in gdb:
"
56
56
56
56
56
56
56
56
.
.
.
56
56
56
56
56
56
56
56
Gdk-WARNING **: shmat failed!
Gdk-WARNING **: shmat failed!
Gdk-WARNING **: shmat failed!
Gdk-WARNING **: shmat failed!
.
.
.
"
So as you see, it printed several "56"s, then came a lot of these warnings and finally
it started
with the well know gui (i know it from Linux very well).
But, if i want to add most of the components, i get either an Bus error or a Segafault
when trying to
add components. For example, with the class-object in the UML-choice there are no such
problems.
But e.g. for the next one, the
Program received signal SIGSEGV, Segmentation fault.
umlclass_draw (umlclass`�=0x1155e8, renderer`����l=0x112818) at class.c:281
281 y = elem->corner.y - umlclass->templates_height + 0.3;
(gdb)
(gdb)
(gdb) bt
#0 umlclass_draw (umlclass`�=0x1155e8, renderer`����l=0x112818)
at class.c:281
#1 0x2b5d0 in ddisplay_obj_render (obj=0x1155e8, renderer=0x112818,
active_layer=1, data=0x112eb0) at display.c:396
#2 0x4c308 in layer_render (layer=0x1147ac, rendererB�=0x112818,
update=0xffbee838, obj_renderer=0x2b5b8 <ddisplay_obj_render>,
data=0x112eb0, active_layer=1) at diagramdata.c:382
#3 0x4c280 in data_render (data=0xfaeb0, renderer?�=0x112818,
update=0xffbee838, obj_renderer=0x2b5b8 <ddisplay_obj_render>,
gdata=0x112eb0) at diagramdata.c:349
#4 0x2b2d4 in ddisplay_render_pixmap (ddisp=0x112eb0, update=0xffbee838)
at display.c:429
#5 0x298bc in ddisplay_flush (ddisp=0x112eb0) at display.c:360
#6 0x21244 in diagram_flush (dia=0x1061f8) at diagram.c:509
#7 0x35760 in create_object_button_press (tool=0xdf568, event=0x10f0e8,
ddisp=0x112eb0) at create_object.c:72
#8 0x26a48 in ddisplay_canvas_events (canvas=0x0, event=0x10f0e8,
ddisp=0x112eb0) at disp_callbacks.c:494
#9 0xff0ca5a4 in gtk_marshal_BOOL__POINTER ()
from /usr/local/lib/libgtk-1.2.so.0
#10 0xff10e7ec in gtk_handlers_run () from /usr/local/lib/libgtk-1.2.so.0
#11 0xff10d8d0 in gtk_signal_real_emit () from /usr/local/lib/libgtk-1.2.so.0
#12 0xff10af7c in gtk_signal_emit () from /usr/local/lib/libgtk-1.2.so.0
---Type <return> to continue, or q <return> to quit---
#13 0xff15a058 in gtk_widget_event () from /usr/local/lib/libgtk-1.2.so.0
#14 0xff0c99b4 in gtk_propagate_event () from /usr/local/lib/libgtk-1.2.so.0
#15 0xff0c9098 in gtk_main_do_event () from /usr/local/lib/libgtk-1.2.so.0
#16 0xfefcb750 in gdk_event_dispatch () from /usr/local/lib/libgdk-1.2.so.0
#17 0xfef761e8 in g_main_dispatch () from /usr/local/lib/libglib-1.2.so.0
#18 0xfef76b10 in g_main_iterate () from /usr/local/lib/libglib-1.2.so.0
#19 0xfef773d0 in g_main_run () from /usr/local/lib/libglib-1.2.so.0
#20 0xff0c888c in gtk_main () from /usr/local/lib/libgtk-1.2.so.0
#21 0x4b954 in main (argc=0, argv=0xffbef404) at main.c:38
(gdb) l
278
279 if (umlclass->template) {
280 x = elem->corner.x + elem->width - 2.3;
281 y = elem->corner.y - umlclass->templates_height + 0.3;
282
283 p1.x = x;
284 p1.y = y;
285 p2.x = x + umlclass->templates_width;
it seems that it crashes always when it handles points...
Does anyone know why i have these problems ? Since a long time i tried by myself but i
ran from one problem into the other and now i do not know anymore what to do except
asking the list...
So any help it highly appreciated.
Thanks in advance,
Marc