Menu

#295 segfaults while trying to print moreverb.dvi, read from fifo

incorrect behaviour
closed-fixed
5
2007-07-15
2006-04-07
No

see http://bugs.debian.org/361218

If xdvi is invoked to read from a file descriptor in
/dev/fd/, it segfaults while trying to print. For
testing,
http://svn.debian.org/wsvn/debian-tex/tetex-bin/trunk/debian/xdvi-pl?op=file&rev=0&sc=0

this is the Perl script we use to uncompress gzipped
files on-the fly into a FIFO and open xdvi on it.

Discussion

  • Stefan Ulrich

    Stefan Ulrich - 2006-04-07
    • labels: --> file handling
    • milestone: --> incorrect behaviour
    • assigned_to: nobody --> stefanulrich
     
  • Stefan Ulrich

    Stefan Ulrich - 2006-04-07

    Logged In: YES
    user_id=177175

    Thanks, I can reproduce this. Investigating ...

     
  • Stefan Ulrich

    Stefan Ulrich - 2007-07-15

    Logged In: YES
    user_id=177175
    Originator: NO

    Fixed in 22.84.13-CVS16; reason was memory corruption by silently assuming file had .dvi extension, which the FIFO didn't have. Used new function get_extension() to prevent this.

     
  • Stefan Ulrich

    Stefan Ulrich - 2007-07-15
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB