Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619368 - app-text/tesseract segfaults when built with opencl use flag
Summary: app-text/tesseract segfaults when built with opencl use flag
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-22 13:53 UTC by schmittlauch
Modified: 2017-11-24 09:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_619368.txt,7.27 KB, text/plain)
2017-05-22 13:53 UTC, schmittlauch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schmittlauch 2017-05-22 13:53:14 UTC
Created attachment 473746 [details]
emerge --info

As I wanted to try out whether tesseract was faster with opencl support I tried recompiling tesseract with the opencl USE flag.
This leads to tesseract segfaulting:

```
$ tesseract --list-langs
[DS] Profile file not available (tesseract_opencl_profile_devices.dat); performing profiling.
[1]    32597 segmentation fault (core dumped)  tesseract --list-langs
```

building tesseract without opencl support makes tesseract work again.
Comment 1 Bernard Cafarelli gentoo-dev 2017-05-30 08:22:24 UTC
Thanks for the report!

opencl support is not the most stable part of the code.
From your emerge info, it's intel opencl with stable ebuild right? It may be worth trying with 3.05.00 (or maybe masked alpha 4), lots of changes in that part.

If it does not help, providing a useful backtrace upstream will probably help, as intel is probably not the most tested brand (with nvidia cards and binary drivers, opencl worked fine here)
Comment 2 Bernard Cafarelli gentoo-dev 2017-07-05 10:15:56 UTC
Does 3.05.01 help here? I think I saw some opencl-related fixes (4.0 branch has a lot more, but is still alpha)
Comment 3 Bernard Cafarelli gentoo-dev 2017-11-24 09:18:58 UTC
Please test with 3.05.01 (going into stable), don't hesitate to reopen if it still crashes