[Top][All Lists]

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

[bug-gv] [bug #30243] gv-3.7.1 segfaults when printing

From: Markus Steinborn
Subject: [bug-gv] [bug #30243] gv-3.7.1 segfaults when printing
Date: Fri, 25 Jun 2010 05:56:59 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100317 SeaMonkey/2.0.4

Follow-up Comment #6, bug #30243 (project gv):

Well, the valgrind run helps:

Now I am sure that no known Xaw3d bug causes the crash. You see, in the past
we had bug reports where Xaw3d wrongly freed some strings.

Firthermore we guess that there is no buffer overflow (valgrind would have
reported that the adress is n bytes after an allocated area).

Together with your new gdb output, I can find the problem: YouÄ're right, n
is uninitialized, so obviously HAVE_XAW3D_INTERNATIONAL is undefined in your

HAVE_XAW3D_INTERNATIONAL should be defined for Xaw3d 1.5E, but undefined for
Xaw3d 1.5. Xaw3d 1.5E has some useful new fearures, enabling GNU gv to use
UTF-8 encoding in international mode for the user interface and thus being
able to show any UTF-8 filenames to the user.

I think I'll move "n=0" before the #ifdef.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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