<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash: Internal Error (0): Call to Object where the object was type 7, not the expected type 9"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91344">91344</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash: Internal Error (0): Call to Object where the object was type 7, not the expected type 9
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>pdftohtml
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>legarrec.vincent@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=117131" name="attach_117131" title="crash.pdf">attachment 117131</a> <a href="attachment.cgi?id=117131&action=edit" title="crash.pdf">[details]</a></span>
crash.pdf
Dear,
I was playing with AFL (American Fuzzy Lop) and after some time, it found a
testcase where pdftohtml crashes.
Syntax Error: End of file inside dictionary
Syntax Error: End of file inside dictionary
Syntax Error: Pages top-level is a single Page. The document is mal-formet,
trying to recover...
Internal Error (0): Call to Object where the object was type 7, not the
expected type 9
Abandon (core dumped)
Program received signal SIGABRT, Aborted.
#0 0x00007ffff6efad9b in __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007ffff6efc261 in __GI_abort () at abort.c:89
#2 0x00007ffff76f3fce in getRef (this=<optimized out>, this=<optimized out>)
at /home/legarrec/info/programmation/tmp/afl/poppler/poppler/Object.h:211
#3 Catalog::getNumPages (this=0x6714f0)
at /home/legarrec/info/programmation/tmp/afl/poppler/poppler/Catalog.cc:831
#4 0x00007ffff78f6296 in PDFDoc::getNumPages (this=this@entry=0x670e10)
at /home/legarrec/info/programmation/tmp/afl/poppler/poppler/PDFDoc.cc:1878
#5 0x000000000040a680 in main (argc=2, argv=<optimized out>)
at /home/legarrec/info/programmation/tmp/afl/poppler/utils/pdftohtml.cc:329
I worked with poppler from git.
I also find a testcase where a 863 bytes file run into infinity loop. Should I
also send another bug report ?
Regards,</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>