Mailinglist Archive: opensuse-buildservice (351 mails)

< Previous Next >
Re: [opensuse-buildservice] Dinotrace crashes in X on X86_64/2 CPU Opensuse 11
  • From: Philipp Thomas <pth@xxxxxxx>
  • Date: Wed, 16 Jul 2008 13:03:36 +0200
  • Message-id: <20080716110336.GN5268@xxxxxxxxxxxxxxxx>
* Marcus Meissner (meissner@xxxxxxx) [20080716 10:47]:

Is this for building dinotrace or for building xorg-x11-libXt?

For building dinotrace.

In this loop

/* loop forever */
/*This code ~= XtAppMainLoop (global->appcontext);*/
while (1) {
XEvent event;

if (global->redraw_needed && !XtAppPending (global->appcontext)
&& (!global->redraw_manually || (global->redraw_needed &
GRD_MANUAL))) {
draw_perform();
}

XtAppNextEvent (global->appcontext, &event);
/*if (DTPRINT) { printf ("[Event %s] ",
/events[event.type]);fflush(stdout); }*/
XtDispatchEvent (&event);
}

At some point in the loop the lower four bytes of the address of event passed
to XtAppNextEvent are cleared and a later memcpy leads to a segfault.

Philipp
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >