[Top][All Lists]

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

Re: [bug-gv] gv-3.7.1 segfaults two times

From: Markus Steinborn
Subject: Re: [bug-gv] gv-3.7.1 segfaults two times
Date: Tue, 12 Apr 2011 18:46:19 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110123 SeaMonkey/2.0.12


Thank for for your bug report.

address@hidden wrote:
My system: linux-2.6.37, X11-7.6
Version of Xaw3d? Which patches are applied to Xaw3d?
I configure gv-3.7.1 as follows:
-------------- start -----------
flags=CFLAGS='-g -O'

     $(flags) \
     ./configure --prefix=/usr/local \
     --enable-international \
     --with-print-command='/usr/local/bin/pdq -Ppostscript'
-------------  end  -----------

When 'gv' is up and I click on

  State.gv Options             or
  State.File Selection Options or
  State.Setup Options

the program segfaults.

The attached patch seems to avoid these segfaults.
This sounds like a broken Xaw3d to me. For further invastigation, the source code (including all patches) of the Xaw3d package of your distribution would certainly help.

But most probable one of the patches mentioned in README.I18N (shipped with GNU gv) is missing in the Xaw3d package.

A fast check would be to disable international mode temporary ( "GV*international: False" in "~/.gv" ). A broken Xaw3d will start working then in most cases.
When I

  Mark a page
  Click on 'Print Marked'
  Unmark that page
  Mark another page
  Click on 'Print Marked'

then a segfault is triggered. See the following frames
Please see http://git.savannah.gnu.org/cgit/gv.git/commit/?id=18af9533ad2f19e49d794505c1e544235d32ae73 for a working patch.

Well, it's time for a new GNU gv release, really :-)

Greetings from Germany

Markus Steinborn
GNU gv maintainer

reply via email to

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