bug-gv
[Top][All Lists]
Advanced

[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:1.9.1.9) 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
system.

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:

  <http://savannah.gnu.org/bugs/?30243>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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