{"action":"created","issue":{"url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/521","labels_url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/521/comments","events_url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/521/events","html_url":"https://github.com/coolwanglu/pdf2htmlEX/issues/521","id":74876187,"number":521,"title":"Segmentation Fault","user":{"login":"leomayleomay","id":48898,"avatar_url":"https://avatars.githubusercontent.com/u/48898?v=3","gravatar_id":"","url":"https://api.github.com/users/leomayleomay","html_url":"https://github.com/leomayleomay","followers_url":"https://api.github.com/users/leomayleomay/followers","following_url":"https://api.github.com/users/leomayleomay/following{/other_user}","gists_url":"https://api.github.com/users/leomayleomay/gists{/gist_id}","starred_url":"https://api.github.com/users/leomayleomay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leomayleomay/subscriptions","organizations_url":"https://api.github.com/users/leomayleomay/orgs","repos_url":"https://api.github.com/users/leomayleomay/repos","events_url":"https://api.github.com/users/leomayleomay/events{/privacy}","received_events_url":"https://api.github.com/users/leomayleomay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-10T09:20:03Z","updated_at":"2015-05-11T02:34:38Z","closed_at":"2015-05-10T21:36:02Z","body":"I just encounter a segfault error while trying to convert a pdf file, btw, i have went through https://github.com/coolwanglu/pdf2htmlEX/wiki/Troubleshooting-Crashes, and i tried to generate font using latest FontForge on a Mac OSX machine, no crash for the FontForge\r\n\r\n* the pdf2htmlEX version:\r\n```\r\npdf2htmlEX version 0.12\r\nCopyright 2012-2014 Lu Wang <coolwanglu@gmail.com> and other contributors\r\nLibraries:\r\n  poppler 0.26.4\r\n  libfontforge 20140928\r\nDefault data-dir: /usr/local/Cellar/pdf2htmlex/0.12/share/pdf2htmlEX\r\nSupported image format: png jpg\r\n```\r\n\r\n* the pdf file i am trying to convert\r\nhttp://www.mofa.go.jp/j_info/visit/visa/pdfs/application5.pdf\r\n\r\n* the backtrace are:\r\n```\r\ntemporary dir: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw\r\nPreprocessing: 1/1\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__css\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__outline\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__pages\r\nInstall font 1: (101 0) ArialMT\r\nEmbed font: /Library/Fonts/Arial.ttf 1\r\nThe following table(s) in the font have been ignored by FontForge\r\n  Ignoring 'DSIG' digital signature table\r\n  Ignoring 'LTSH' linear threshold table\r\n  Ignoring 'PCLT' PCL 5 data table\r\n  Ignoring 'VDMX' vertical device metrics table\r\n  Ignoring 'hdmx' horizontal device metrics table\r\nThis font contains both a 'kern' table and a 'GPOS' table.\r\n  The 'kern' table will only be read if there is no 'kern' feature in 'GPOS'.\r\nThe glyph named periodcentered is mapped to U+2219.\r\nBut its name indicates it should be mapped to U+00B7.\r\nThe glyph named macron is mapped to U+02C9.\r\nBut its name indicates it should be mapped to U+00AF.\r\nThe glyph named Delta is mapped to U+0394.\r\nBut its name indicates it should be mapped to U+2206.\r\nThe glyph named Omega is mapped to U+03A9.\r\nBut its name indicates it should be mapped to U+2126.\r\nThe glyph named mu is mapped to U+03BC.\r\nBut its name indicates it should be mapped to U+00B5.\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__raw_font_1.ttf\r\nem size: 2048\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f1.map\r\nspace width: 0.278\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__tmp_font1.ttf\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__tmp_font2.ttf\r\nLookup subtable contains unused glyph dotlessi making the whole subtable invalid\r\nLookup subtable contains unused glyph dotlessi making the whole subtable invalid\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f1.woff\r\nThe glyph named Delta is mapped to U+0394.\r\nBut its name indicates it should be mapped to U+2206.\r\nThe glyph named Omega is mapped to U+03A9.\r\nBut its name indicates it should be mapped to U+2126.\r\nThe glyph named mu is mapped to U+03BC.\r\nBut its name indicates it should be mapped to U+00B5.\r\nInstall font 2: (103 0) TimesNewRomanPS-BoldMT\r\nEmbed font: /Library/Fonts/Times New Roman Bold.ttf 2\r\nThe following table(s) in the font have been ignored by FontForge\r\n  Ignoring 'DSIG' digital signature table\r\n  Ignoring 'LTSH' linear threshold table\r\n  Ignoring 'PCLT' PCL 5 data table\r\n  Ignoring 'VDMX' vertical device metrics table\r\n  Ignoring 'hdmx' horizontal device metrics table\r\nThis font contains both a 'kern' table and a 'GPOS' table.\r\n  The 'kern' table will only be read if there is no 'kern' feature in 'GPOS'.\r\nThe glyph named periodcentered is mapped to U+2219.\r\nBut its name indicates it should be mapped to U+00B7.\r\nThe glyph named macron is mapped to U+02C9.\r\nBut its name indicates it should be mapped to U+00AF.\r\nThe glyph named Omega is mapped to U+03A9.\r\nBut its name indicates it should be mapped to U+2126.\r\nThe glyph named mu is mapped to U+03BC.\r\nBut its name indicates it should be mapped to U+00B5.\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__raw_font_2.ttf\r\nem size: 2048\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f2.map\r\nspace width: 0.25\r\nLookup subtable contains unused glyph dotlessi making the whole subtable invalid\r\nLookup subtable contains unused glyph dotlessi making the whole subtable invalid\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f2.woff\r\nThe glyph named Omega is mapped to U+03A9.\r\nBut its name indicates it should be mapped to U+2126.\r\nThe glyph named mu is mapped to U+03BC.\r\nBut its name indicates it should be mapped to U+00B5.\r\nInstall font 3: (105 0) TimesNewRomanPSMT\r\nEmbed font: /Library/Fonts/Times New Roman.ttf 3\r\nThe following table(s) in the font have been ignored by FontForge\r\n  Ignoring 'DSIG' digital signature table\r\n  Ignoring 'LTSH' linear threshold table\r\n  Ignoring 'PCLT' PCL 5 data table\r\n  Ignoring 'VDMX' vertical device metrics table\r\n  Ignoring 'hdmx' horizontal device metrics table\r\nThis font contains both a 'kern' table and a 'GPOS' table.\r\n  The 'kern' table will only be read if there is no 'kern' feature in 'GPOS'.\r\nThe glyph named periodcentered is mapped to U+2219.\r\nBut its name indicates it should be mapped to U+00B7.\r\nThe glyph named macron is mapped to U+02C9.\r\nBut its name indicates it should be mapped to U+00AF.\r\nThe glyph named Omega is mapped to U+03A9.\r\nBut its name indicates it should be mapped to U+2126.\r\nThe glyph named mu is mapped to U+03BC.\r\nBut its name indicates it should be mapped to U+00B5.\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__raw_font_3.ttf\r\nem size: 2048\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f3.map\r\nspace width: 0.25\r\nLookup subtable contains unused glyph dotlessi making the whole subtable invalid\r\nLookup subtable contains unused glyph dotlessi making the whole subtable invalid\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f3.woff\r\nThe glyph named Omega is mapped to U+03A9.\r\nBut its name indicates it should be mapped to U+2126.\r\nThe glyph named mu is mapped to U+03BC.\r\nBut its name indicates it should be mapped to U+00B5.\r\nInstall font 4: (99 0) GJBKFG+MS-PGothic\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f4.ttf\r\nEmbed font: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f4.ttf 4\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__raw_font_4.ttf\r\nem size: 256\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f4.map\r\nspace width: 0.305\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f4.woff\r\nInstall font 5: (107 0) TimesNewRoman\r\nEmbed font: /Library/Fonts/Times New Roman.ttf 5\r\nThe following table(s) in the font have been ignored by FontForge\r\n  Ignoring 'DSIG' digital signature table\r\n  Ignoring 'LTSH' linear threshold table\r\n  Ignoring 'PCLT' PCL 5 data table\r\n  Ignoring 'VDMX' vertical device metrics table\r\n  Ignoring 'hdmx' horizontal device metrics table\r\nThis font contains both a 'kern' table and a 'GPOS' table.\r\n  The 'kern' table will only be read if there is no 'kern' feature in 'GPOS'.\r\nThe glyph named periodcentered is mapped to U+2219.\r\nBut its name indicates it should be mapped to U+00B7.\r\nThe glyph named macron is mapped to U+02C9.\r\nBut its name indicates it should be mapped to U+00AF.\r\nThe glyph named Omega is mapped to U+03A9.\r\nBut its name indicates it should be mapped to U+2126.\r\nThe glyph named mu is mapped to U+03BC.\r\nBut its name indicates it should be mapped to U+00B5.\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__raw_font_5.ttf\r\nem size: 2048\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f5.map\r\nspace width: 0.25\r\nLookup subtable contains unused glyph dotlessi making the whole subtable invalid\r\nLookup subtable contains unused glyph dotlessi making the whole subtable invalid\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f5.woff\r\nThe glyph named Omega is mapped to U+03A9.\r\nBut its name indicates it should be mapped to U+2126.\r\nThe glyph named mu is mapped to U+03BC.\r\nBut its name indicates it should be mapped to U+00B5.\r\nInstall font 6: (51 0) KozMinProVI-Regular\r\nEmbed font: /Library/Fonts/Arial Unicode.ttf 6\r\nThe following table(s) in the font have been ignored by FontForge\r\n  Ignoring 'DSIG' digital signature table\r\n  Ignoring 'LTSH' linear threshold table\r\n  Ignoring 'hdmx' horizontal device metrics table\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/__raw_font_6.ttf\r\nem size: 2048\r\nAdd new temporary file: /var/folders/9t/nsvv22bx541brltb382wygyw0000gn/T//pdf2htmlEX-FWbwnw/f6.map\r\nMissing space width in font 6: set to 0.278\r\nspace width: 0.278\r\nLookup subtable contains unused glyph uniFE35 making the whole subtable invalid\r\nLookup subtable contains unused glyph uniFE36 making the whole subtable invalid\r\nLookup subtable contains unused glyph uniFE33 making the whole subtable invalid\r\nLookup subtable contains unused glyph uniFE37 making the whole subtable invalid\r\nLookup subtable contains unused glyph uniFE38 making the whole subtable invalid\r\n```"},"comment":{"url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/comments/100743507","html_url":"https://github.com/coolwanglu/pdf2htmlEX/issues/521#issuecomment-100743507","issue_url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/521","id":100743507,"user":{"login":"leomayleomay","id":48898,"avatar_url":"https://avatars.githubusercontent.com/u/48898?v=3","gravatar_id":"","url":"https://api.github.com/users/leomayleomay","html_url":"https://github.com/leomayleomay","followers_url":"https://api.github.com/users/leomayleomay/followers","following_url":"https://api.github.com/users/leomayleomay/following{/other_user}","gists_url":"https://api.github.com/users/leomayleomay/gists{/gist_id}","starred_url":"https://api.github.com/users/leomayleomay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leomayleomay/subscriptions","organizations_url":"https://api.github.com/users/leomayleomay/orgs","repos_url":"https://api.github.com/users/leomayleomay/repos","events_url":"https://api.github.com/users/leomayleomay/events{/privacy}","received_events_url":"https://api.github.com/users/leomayleomay/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T02:34:38Z","updated_at":"2015-05-11T02:34:38Z","body":"@duanyao i have upgrade to latest on my Mac machine using `brew upgrade pdf2htmlEX`, the current version is:\r\n```\r\npdf2htmlEX version 0.12\r\nCopyright 2012-2014 Lu Wang <coolwanglu@gmail.com> and other contributors\r\nLibraries:\r\n  poppler 0.29.0\r\n  libfontforge 20141227\r\nDefault data-dir: /usr/local/Cellar/pdf2htmlex/0.12/share/pdf2htmlEX\r\nSupported image format: png jpg\r\n```"}}