{"action":"created","issue":{"url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/1265","repository_url":"https://api.github.com/repos/Alexpux/MINGW-packages","labels_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/1265/labels{/name}","comments_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/1265/comments","events_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/1265/events","html_url":"https://github.com/Alexpux/MINGW-packages/issues/1265","id":144820336,"number":1265,"title":"pango: segfault in libpangoft2-1.0-0.dll","user":{"login":"Shreeshrii","id":5095331,"avatar_url":"https://avatars.githubusercontent.com/u/5095331?v=3","gravatar_id":"","url":"https://api.github.com/users/Shreeshrii","html_url":"https://github.com/Shreeshrii","followers_url":"https://api.github.com/users/Shreeshrii/followers","following_url":"https://api.github.com/users/Shreeshrii/following{/other_user}","gists_url":"https://api.github.com/users/Shreeshrii/gists{/gist_id}","starred_url":"https://api.github.com/users/Shreeshrii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shreeshrii/subscriptions","organizations_url":"https://api.github.com/users/Shreeshrii/orgs","repos_url":"https://api.github.com/users/Shreeshrii/repos","events_url":"https://api.github.com/users/Shreeshrii/events{/privacy}","received_events_url":"https://api.github.com/users/Shreeshrii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-31T08:06:35Z","updated_at":"2016-03-31T13:33:17Z","closed_at":null,"body":"Is a debug version of pango available? Tesseract training tools (text2image) segfault when used under MSYS2. They work fine under linux, the problem seems to be with libpangoft2-1.0-0.dll\r\n```\r\n\r\n(gdb) run --fonts_dir=C:/WINDOWS/fonts/ --text ../langdata/eng/eng.training_text --font Arial --outputbase eng.Arial.exp0\r\nStarting program: C:\\msys64\\home\\ra\\text2tif\\text2tif.exe --fonts_dir=C:/WINDOWS/fonts/ --text ../langdata/eng/eng.training_text --font Arial --outputbase eng.Arial.exp0\r\n[New Thread 8608.0x1134]\r\n[New Thread 8608.0x1ed0]\r\n[New Thread 8608.0x1b18]\r\n[New Thread 8608.0xfe8]\r\n\r\nThread 1 received signal SIGSEGV, Segmentation fault.\r\n0x000000006d702227 in ?? () from C:\\msys64\\mingw64\\bin\\libpangoft2-1.0-0.dll\r\n(gdb) backtrace\r\n#0  0x000000006d702227 in ?? ()\r\n   from C:\\msys64\\mingw64\\bin\\libpangoft2-1.0-0.dll\r\n#1  0x0000000000407992 in tesseract::PangoFontInfo::CanRenderString (\r\n    this=0x8ef780,\r\n    utf8_word=0x9d4d70 \"different New Articles page 23 a To Service ~~ a details DC that don't as 7 «« Date: #1 : AZ\\n___ Music am search this Please time each How at Online (7) get quality Advanced can | may such\\na August \"...,\r\n    len=9, graphemes=0x8ef0c0) at ./training/pango_font_info.cpp:442\r\n#2  0x00000000004076f9 in tesseract::PangoFontInfo::CanRenderString (\r\n    this=0x8ef780,\r\n    utf8_word=0x9d4d70 \"different New Articles page 23 a To Service ~~ a details DC that don't as 7 «« Date: #1 : AZ\\n___ Music am search this Please time each How at Online (7) get quality Advanced can | may such\\na August \"...,\r\n    len=9) at ./training/pango_font_info.cpp:384\r\n#3  0x000000000040b901 in tesseract::StringRenderer::StripUnrenderableWords (\r\n    this=0x8ef780, utf8_text=0x8ef1a0) at ./training/stringrenderer.cpp:621\r\n#4  0x000000000040c1d0 in tesseract::StringRenderer::RenderToImage (\r\n    this=0x8ef780,\r\n    text=0x987c50 \"different New Articles page 23 a To Service ~~ a details DC that don't as 7 «« Date: #1 : AZ\\n___ Music am search this Please time each How at Online (7) get quality Advanced can | may such\\na August \"...,\r\n    text_length=6801, pix=0x8ef6e0) at ./training/stringrenderer.cpp:763\r\n#5  0x000000000040eece in main (argc=1, argv=0x9199a8)\r\n    at ./training/text2image.cpp:591\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/comments/203937829","html_url":"https://github.com/Alexpux/MINGW-packages/issues/1265#issuecomment-203937829","issue_url":"https://api.github.com/repos/Alexpux/MINGW-packages/issues/1265","id":203937829,"user":{"login":"Shreeshrii","id":5095331,"avatar_url":"https://avatars.githubusercontent.com/u/5095331?v=3","gravatar_id":"","url":"https://api.github.com/users/Shreeshrii","html_url":"https://github.com/Shreeshrii","followers_url":"https://api.github.com/users/Shreeshrii/followers","following_url":"https://api.github.com/users/Shreeshrii/following{/other_user}","gists_url":"https://api.github.com/users/Shreeshrii/gists{/gist_id}","starred_url":"https://api.github.com/users/Shreeshrii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shreeshrii/subscriptions","organizations_url":"https://api.github.com/users/Shreeshrii/orgs","repos_url":"https://api.github.com/users/Shreeshrii/repos","events_url":"https://api.github.com/users/Shreeshrii/events{/privacy}","received_events_url":"https://api.github.com/users/Shreeshrii/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T13:33:17Z","updated_at":"2016-03-31T13:33:17Z","body":"the program works fine under cygwin64 also."}}