seg fault with viewfax under AIX (when pressing 'u')

Michael Staats (michael@thp.uni-duisburg.de)
Wed, 29 May 1996 16:58:20 +0200




Hello,
recently I found a bug in viewfax (the version distributed with
mgetty-0.99).

When pressing 'u' in the viewfax window the program dumps core.
dbx tells me:

dbx Version 3.1.
Type 'help' for help.
reading symbolic information ...warning: no source compiled with -g

(dbx) run /var/spool/fax/incoming/fn1ac5d95y0-+49-0203426464.01

segmentation violation in ptrgl._ptrgl [viewfax] at 0x1000683c
0x1000683c (_ptrgl)    800b0000          l   r0,0x0(r11)
(dbx) s

segmentation violation in ptrgl._ptrgl [viewfax] at 0x1000683c
0x1000683c (_ptrgl)    800b0000          l   r0,0x0(r11)
(dbx) t
ptrgl._ptrgl() at 0x1000683c
FreeImage(0x1) at 0x10003cfc
ShowLoop(0x1) at 0x100019d8
main(0x1, 0x200a5c70) at 0x100007a4

If I compile with -g everything works fine (as usual :-).

Maybe someone has the time to trace the bug.

Bye,
	Michael

-- 
Michael Staats, Theoretical Physics, Uni-GH Duisburg 
email: michael@thp.Uni-Duisburg.DE
<a href="http://WWW.thp.Uni-Duisburg.DE/">The THP homepage!</a>