Public bug reported:

Binary package hint: hp2xx

Ubuntu 6.06.1 i386, 6.10 i386, hp2xx (3.4.4)

I run hp2xx in pipe mode and I finish with core dump when picture is
closed with "any key"

$ cat file.plt | hp2xx -
....
Processing Cmd: 1 2 5 10 20 50 100 200 
X11 preview follows.
Press any key to end graphics mode
Segmentation fault
[EMAIL PROTECTED]:~$ 

You can use this script to get sample HP-GL file or run script output
directly to hp2xx

#!/bin/sh
# test.sh, to create some HP-GL picture
SIZE=1000
MAX=20
STEP=2
echo "SP 1;"
for I in $(seq 0 $STEP $MAX); do
   for J in $(seq 0 $STEP $MAX); do
      echo "PU $(expr $I \* $SIZE),0;"
      echo "PD $(expr $J \* $SIZE),$(expr $MAX \* $SIZE);"
   done
done
echo "SP;"

# sh test.sh | hp2xx -   # coredump
# sh test.sh > test.plt; cat test.plt | hp2xx -  # coredump
# sh test.sh > test.plt; hp2xx test.plt   # OK

** Affects: hp2xx (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
hp2xx creates core dump
https://launchpad.net/bugs/72334

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to