Bug 21754 - pdftotext crashed with signal 24 in Lexer::lookChar()
Summary: pdftotext crashed with signal 24 in Lexer::lookChar()
Status: RESOLVED WORKSFORME
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: poppler-bugs
QA Contact:
URL: https://bugs.edge.launchpad.net/ubunt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 11:59 UTC by Pedro Villavicencio
Modified: 2010-08-22 14:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pedro Villavicencio 2009-05-15 11:59:58 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/poppler/+bug/376799

"
Here is the minimal command to reproduce the crash:

  pdftotext -q nopgbrk 2001_these_mezouar.pdf

Without the "-q nopgbrk" the crash does not happen.
"

File:

http://launchpadlibrarian.net/26748206/2001_these_mezouar.pdf

Stacktrace:

"#0  0x41685e84 in Lexer::lookChar (this=<value optimized out>) at Lexer.cc:148
No locals.
#1  0x41686762 in Lexer::getObj (this=<value optimized out>, 
    obj=<value optimized out>, objNum=<value optimized out>) at Lexer.cc:193
	p = <value optimized out>
	c = <value optimized out>
	c2 = <value optimized out>
	comment = <value optimized out>
	neg = <value optimized out>
	done = <value optimized out>
	numParen = <value optimized out>
	xi = <value optimized out>
	xf = <value optimized out>
	scale = <value optimized out>
	s = <value optimized out>
	n = <value optimized out>
	m = <value optimized out>
#2  0x41694727 in Parser::shift (this=<value optimized out>, objNum=)
    at Parser.cc:250
No locals.
#3  0x41694b3a in Parser::getObj (this=<value optimized out>, 
    obj=<value optimized out>, fileKey=<value optimized out>, 
    encAlgorithm=<value optimized out>, keyLength=<value optimized out>, 
    objNum=<value optimized out>, objGen=<value optimized out>)
    at Parser.cc:156
	key = <value optimized out>
	str = <value optimized out>
	obj2 = $2 = -99
.
Thread 1 (process 8628):
#0  0x41685e84 in Lexer::lookChar (this=<value optimized out>) at Lexer.cc:148
No locals.
#1  0x41686762 in Lexer::getObj (this=<value optimized out>, 
    obj=<value optimized out>, objNum=<value optimized out>) at Lexer.cc:193
	p = <value optimized out>
	c = <value optimized out>
	c2 = <value optimized out>
	comment = <value optimized out>
	neg = <value optimized out>
	done = <value optimized out>
	numParen = <value optimized out>
	xi = <value optimized out>
	xf = <value optimized out>
	scale = <value optimized out>
	s = <value optimized out>
	n = <value optimized out>
	m = <value optimized out>
#2  0x41694727 in Parser::shift (this=<value optimized out>, objNum=)
    at Parser.cc:250
No locals.
#3  0x41694b3a in Parser::getObj (this=<value optimized out>, 
    obj=<value optimized out>, fileKey=<value optimized out>, 
    encAlgorithm=<value optimized out>, keyLength=<value optimized out>, 
    objNum=<value optimized out>, objGen=<value optimized out>)
    at Parser.cc:156
	key = <value optimized out>
	str = <value optimized out>
	obj2 = $3 = -99
"
Comment 1 Albert Astals Cid 2009-05-15 14:57:27 UTC
Can't reproduce any crash with poppler 0.10.6.

Can you reproduce it with a debug build and give a bit more of info? Maybe even run valgrind on it? Actually at  Lexer.cc:148 there's no code at all
Comment 2 Albert Astals Cid 2010-08-22 14:09:27 UTC
No answer in a year. If it still crashes for you please reopen the bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.