pbmtextps/pnmcrop crash

Bug #186159 reported by Richard Conway
4
Affects Status Importance Assigned to Milestone
netpbm-free (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Using x86_64 gutsy

running pbmtextps on the command line fails with the following error:

richard@Seraph:~$ pbmtextps --verbose test > test.pbm
pbmtextps: Postscript program = '/Times-Roman findfont
24 scalefont
setfont
12 36 moveto
(test) show
showpage'
pbmtextps: Running Postscript interpreter '/usr/bin/gs -g1650x250 -r150 -sDEVICE=pbm -sOutputFile=./pstextpbm.7081.tmp.pbm -q -dBATCH -dNOPAUSE ./pstextpbm.7081.tmp.ps </dev/null >/dev/null'
pbmtextps: Running crop command '/usr/bin/pnmcrop -top -right ./pstextpbm.7081.tmp.pbm'
pnmcrop: EOF / read error reading magic number
pbmtextps: a file read or write error occurred at some point
*** glibc detected *** pbmtextps: double free or corruption (!prev): 0x0000000000605fe0 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b881e4d5b0a]
/lib/libc.so.6(cfree+0x8c)[0x2b881e4d96fc]
/lib/libc.so.6(fclose+0x14c)[0x2b881e4c493c]
/usr/lib/libnetpbm.so.10(pm_close+0x29)[0x2b881e2511f9]
pbmtextps[0x401620]
/lib/libc.so.6(exit+0xe0)[0x2b881e498500]
pbmtextps[0x40143c]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2b881e481b44]
pbmtextps[0x400d89]
======= Memory map: ========
00400000-00402000 r-xp 00000000 08:12 3393795 /usr/bin/pbmtextps
00602000-00603000 rw-p 00002000 08:12 3393795 /usr/bin/pbmtextps
00603000-00626000 rw-p 00603000 00:00 0 [heap]
2b881e026000-2b881e043000 r-xp 00000000 08:12 885501 /lib/ld-2.6.1.so
2b881e043000-2b881e046000 rw-p 2b881e043000 00:00 0
2b881e242000-2b881e244000 rw-p 0001c000 08:12 885501 /lib/ld-2.6.1.so
2b881e244000-2b881e261000 r-xp 00000000 08:12 3391732 /usr/lib/libnetpbm.so.10.0
2b881e261000-2b881e460000 ---p 0001d000 08:12 3391732 /usr/lib/libnetpbm.so.10.0
2b881e460000-2b881e464000 rw-p 0001c000 08:12 3391732 /usr/lib/libnetpbm.so.10.0
2b881e464000-2b881e5b6000 r-xp 00000000 08:12 885504 /lib/libc-2.6.1.so
2b881e5b6000-2b881e7b5000 ---p 00152000 08:12 885504 /lib/libc-2.6.1.so
2b881e7b5000-2b881e7b8000 r--p 00151000 08:12 885504 /lib/libc-2.6.1.so
2b881e7b8000-2b881e7ba000 rw-p 00154000 08:12 885504 /lib/libc-2.6.1.so
2b881e7ba000-2b881e7c0000 rw-p 2b881e7ba000 00:00 0
2b881e7c0000-2b881e7cd000 r-xp 00000000 08:12 884794 /lib/libgcc_s.so.1
2b881e7cd000-2b881e9cd000 ---p 0000d000 08:12 884794 /lib/libgcc_s.so.1
2b881e9cd000-2b881e9ce000 rw-p 0000d000 08:12 884794 /lib/libgcc_s.so.1
2b8820000000-2b8820021000 rw-p 2b8820000000 00:00 0
2b8820021000-2b8824000000 ---p 2b8820021000 00:00 0
7fff8ca6e000-7fff8ca84000 rw-p 7fff8ca6e000 00:00 0 [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vdso]
Aborted

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in netpbm-free:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in netpbm-free:
status: Incomplete → Invalid
Revision history for this message
Dan Fandrich (dan-coneharvesters) wrote :

This is still valid on 9.04 and 10.04 with netpbm 2:10.0-12.1ubuntu1

Changed in netpbm-free (Ubuntu):
status: Invalid → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.