Debugging von Segmentation fault in XPDF
Florian Lohoff
flo at rfc822.org
Wed Feb 9 14:33:43 CET 2005
On Wed, Feb 09, 2005 at 02:04:31PM +0100, Bernd Fehling wrote:
> "Geheim"???
> Nö, frei verfügbar:
> http://epub.ub.uni-muenchen.de/archive/00000003/01/schlicht_isolation.pdf
>
> User Passwort: No
> Master Passwort: Yes
> Printing: Fully Allowed
> Changing: Not Allowed
> Copying: Not Allowed
> Encryption: 40-bit RC4
>
> xpdf selbst zeigt die Datei klaglos an.
> Ja, ich weiss, "Copying: Not Allowed" dann geht "pdftotext" nicht.
> --> Wurde schon korrigiert.
Valgrind wirft dieses:
==10536== Invalid read of size 4
==10536== at 0x8075B7E: JArithmeticDecoder::readByte() (JArithmeticDecoder.cc:107)
==10536== by 0x8075627: JArithmeticDecoder::~JArithmeticDecoder() (JArithmeticDecoder.cc:96)
==10536== by 0x80783F7: JBIG2Stream::~JBIG2Stream() (JBIG2Stream.cc:1144)
==10536== by 0x808B90C: Object::free() (Object.cc:129)
==10536== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==10536==
==10536== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==10536== Access not within mapped region at address 0x0
==10536== at 0x8075B7E: JArithmeticDecoder::readByte() (JArithmeticDecoder.cc:107)
==10536== by 0x8075627: JArithmeticDecoder::~JArithmeticDecoder() (JArithmeticDecoder.cc:96)
==10536== by 0x80783F7: JBIG2Stream::~JBIG2Stream() (JBIG2Stream.cc:1144)
==10536== by 0x808B90C: Object::free() (Object.cc:129)
1123 JBIG2Stream::~JBIG2Stream() {
[...]
1141 delete huffDecoder;
1142 delete mmrDecoder;
1143 if (pageBitmap) {
1144 delete pageBitmap;
1145 }
1146 if (segments) {
1147 deleteGList(segments, JBIG2Segment);
1148 }
object.cc
109 void Object::free() {
[...]
126 break;
127 case objStream:
128 if (!stream->decRef()) {
129 delete stream;
130 }
131 break;
Flo
--
Florian Lohoff flo at rfc822.org +49-171-2280134
Heisenberg may have been here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20050209/1369dc62/attachment.sig>
More information about the Linux
mailing list