[NTG-pdftex] [ pdftex-Bugs-830 ] 'pdftex %' causes segmentation fault (1.50.0-alpha-20070709)

noreply at sarovar.org noreply at sarovar.org
Tue Jul 24 17:18:27 CEST 2007


Bugs item #830, was opened at 2007-07-13 21:51
You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=830&group_id=106

>Category: web2c
>Group: v1.40.4
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Robin Houston (robinhouston)
>Assigned to: Martin Schröder (oneiros)
Summary: 'pdftex %' causes segmentation fault (1.50.0-alpha-20070709)

Initial Comment:
Run 'pdftex %' and then press return at the prompt.
This causes a segmentation fault on my machine.

I will recompile with debugging, and try to locate the
source of the fault.

----------------------------------------------------------------------

Comment By: Robin Houston (robinhouston)
Date: 2007-07-13 22:59

Message:
Logged In: YES 
user_id=4579

Is it possible that this bug is actually present in
honest-to-goodness TeX? The end_name procedure does not seem
to have been changed by pdfTeX, and:

[robin pdftex]$ tex %
This is TeX, Version 3.141592 (Web2C 7.5.6)

*
Segmentation fault

On the other hand, I cannot reproduce it with either
 pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
or
 TeX, Version 3.14159 (Web2C 7.4.5)
on Linux, so perhaps Web2C is actually to blame.

I am hoping that one of you understands this better than I do!

Robin

----------------------------------------------------------------------

Comment By: Robin Houston (robinhouston)
Date: 2007-07-13 22:27

Message:
Logged In: YES 
user_id=4579

I was thwarted for a while by the fact that build.sh strips
the executables! Anyway, here is the backtrace:


Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x01737000
0x0004f1a4 in endname () at pdftex1.c:4441
4441          mustquote = strpool [j ]== 32 ;
(gdb) bt
#0  0x0004f1a4 in endname () at pdftex1.c:4441
#1  0x000502e8 in scanfilename () at pdftex1.c:4722
#2  0x00050f30 in startinput () at pdftex1.c:4941
#3  0x0002043c in mainbody () at pdftexini.c:5750
#4  0x000bbe1c in main (ac=2, av=0xbffff900) at
pdftexextra.c:353


----------------------------------------------------------------------

You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=830&group_id=106


More information about the ntg-pdftex mailing list