ddd
[Top][All Lists]
Advanced

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

RE: Segfault when a gnuplot graph is closed?


From: Atwood, Robert C
Subject: RE: Segfault when a gnuplot graph is closed?
Date: Tue, 25 Nov 2003 12:51:12 -0000


>I even tried running
>ddd in valgrind and following your procedure, and nothing
>shows up.


Valgrind... that is new to me, so I just grabbed it and gave it a try ...
this could be a very useful addiditon to my debugging arsenal! 

 

Attatched is the output, with the default suppression and then with a
modified suppression file with some X library suppressions removed. 

Does all this imply that it is actually a bug in this version of the X
library rather than DDD? or an incompatibility between versions??


 Here is a little excerpt of the part where it segfaults (the whole file is
attatched):

==3703==
==3703== Use of uninitialised value of size 4
==3703==    at 0x4051E319: XGetGCValues (in /usr/X11R6/lib/libX11.so.6.2)
==3703==    by 0x402FD2F6: set_values (SeparatoG.c:695)
==3703==    by 0x4049E298: (within /usr/X11R6/lib/libXt.so.6.0)
==3703==    by 0x4049E7A2: XtSetValues (in /usr/X11R6/lib/libXt.so.6.0)
==3703==
==3703== Invalid read of size 4
==3703==    at 0x4051E319: XGetGCValues (in /usr/X11R6/lib/libX11.so.6.2)
==3703==    by 0x402FD2F6: set_values (SeparatoG.c:695)
==3703==    by 0x4049E298: (within /usr/X11R6/lib/libXt.so.6.0)
==3703==    by 0x4049E7A2: XtSetValues (in /usr/X11R6/lib/libXt.so.6.0)
==3703==    Address 0x682F6F1D is not stack'd, malloc'd or free'd
Segmentation fault (core dumped)
==3703==
==3703== ERROR SUMMARY: 10577 errors from 81 contexts (suppressed: 17347
from 7)
==3703==
==3703== 1 errors in context 1 of 81:
==3703== Invalid read of size 4
==3703==    at 0x4051E319: XGetGCValues (in /usr/X11R6/lib/libX11.so.6.2)
==3703==    by 0x402FD2F6: set_values (SeparatoG.c:695)
==3703==    by 0x4049E298: (within /usr/X11R6/lib/libXt.so.6.0)
==3703==    by 0x4049E7A2: XtSetValues (in /usr/X11R6/lib/libXt.so.6.0)
==3703==    Address 0x682F6F1D is not stack'd, malloc'd or free'd
==3703==

Attachment: valgrind-out.tgz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]