Skip to content

Instantly share code, notes, and snippets.

@iapain
Created October 6, 2012 13:26
Show Gist options
  • Save iapain/3844937 to your computer and use it in GitHub Desktop.
Save iapain/3844937 to your computer and use it in GitHub Desktop.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x000000010004a21e in std::__1::__hash_table<int, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<int> >::__deallocate (this=0x7fff5fbfb7e8, __np=0x101010101010101) at __hash_table:951
951 {
(gdb) backtrace
#0 0x000000010004a21e in std::__1::__hash_table<int, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<int> >::__deallocate (this=0x7fff5fbfb7e8, __np=0x101010101010101) at __hash_table:951
#1 0x000000010004fbbd in std::__1::__hash_table<int, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<int> >::~__hash_table (this=0x7fff5fbfb7e8) at __hash_table:910
#2 0x000000010004fb65 in std::__1::__hash_table<int, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<int> >::~__hash_table (this=0x7fff5fbfb7e8) at __hash_table:909
#3 0x000000010004fb45 in std::__1::unordered_set<int, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<int> >::~unordered_set (this=0x7fff5fbfb7e8) at unordered_set:315
#4 0x0000000100049fa5 in std::__1::unordered_set<int, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<int> >::~unordered_set (this=0x7fff5fbfb7e8) at unordered_set:315
#5 0x0000000100047d55 in pdf2htmlEX::HTMLRenderer::embed_font (this=0x101824800, filepath=@0x7fff5fbfcab0, font=0x10182ea00, info=@0x101068c88, get_metric_only=false) at /Users/iapain/prj/pdf2htmlEX/src/HTMLRenderer/text.cc:413
#6 0x0000000100034b05 in pdf2htmlEX::HTMLRenderer::install_embedded_font (this=0x101824800, font=0x10182ea00, info=@0x101068c88) at /Users/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:99
#7 0x0000000100034871 in pdf2htmlEX::HTMLRenderer::install_font (this=0x101824800, font=0x10182ea00) at /Users/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:70
#8 0x00000001000329bf in pdf2htmlEX::HTMLRenderer::check_state_change (this=0x101824800, state=0x101068960) at /Users/iapain/prj/pdf2htmlEX/src/HTMLRenderer/state.cc:98
#9 0x0000000100049584 in pdf2htmlEX::HTMLRenderer::drawString (this=0x101824800, state=0x101068960, s=0x101068c40) at /Users/iapain/prj/pdf2htmlEX/src/HTMLRenderer/text.cc:494
#10 0x0000000100131d42 in Gfx::doShowText ()
#11 0x000000010012468a in Gfx::opShowSpaceText ()
#12 0x0000000100129c57 in Gfx::go ()
#13 0x00000001001296c2 in Gfx::display ()
#14 0x000000010016d820 in Page::displaySlice ()
#15 0x000000010016d6de in Page::display ()
#16 0x00000001001702ad in PDFDoc::displayPage ()
#17 0x000000010001de0a in pdf2htmlEX::HTMLRenderer::process (this=0x101824800, doc=0x101027390) at /Users/iapain/prj/pdf2htmlEX/src/HTMLRenderer/general.cc:141
#18 0x000000010000579f in main (argc=4, argv=0x7fff5fbffaa8) at /Users/iapain/prj/pdf2htmlEX/src/pdf2htmlEX.cc:227
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment