bug-a2ps
[Top][All Lists]
Advanced

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

Segfault by wrong option -Efoo+


From: ITO Tsuyoshi
Subject: Segfault by wrong option -Efoo+
Date: Sat, 26 Jan 2002 17:27:04 +0900 (JST)

Hello,

I am using a2ps 4.13 on Solaris 2.6 run on Sparc machine.  When I
invoked a2ps with a wrong -E (or equivalent --pretty-print) option
which ended with ``+'', it failed with a segmentation fault.

Here is a terminal log:
> $ a2ps -Efoo+ /dev/null
> a2ps: cannot find file `foo.ssh'
> a2ps: cannot find style sheet `foo': using plain style
> Segmentation Fault(coredump)
> $ a2ps --version
> GNU a2ps 4.13
> Written by Akim Demaille, Miguel Santana.
> 
> Copyright (c) 1988-1993 Miguel Santana
> Copyright (c) 1995-2000 Akim Demaille, Miguel Santana
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(Note that the ``/dev/null'' is just an example.  You can pass any
 valid file to get the same result.)

I do not know if this behavior is specific to my system, but it not,
this may be undesirable.

I came across this behavior when I tried ``--pretty-print=c++'' by
mistake.

I hope this report will help you.

I do not subscribe this mailing list (address@hidden).  If you want
to contact me, please send a mail directly to me.

Best regards,
-- ITO Tsuyoshi  <address@hidden> --
-- Department of Information Science           --
--                  in the University of Tokyo --



reply via email to

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