Hi,

Thank for for your bug report.

[email protected] 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'

do_configure:
     $(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