Hi all,
when running the mupdf demo on base-linux/x86_64 (make run/mupdf), I get the following error:
genode build completed using 'core-linux' as 'core' using 'ld-linux.lib.so' as 'ld.lib.so' using 'linux_timer_drv' as 'timer' spawn ./core Genode 17.08 17592186044415 MiB RAM and 8998 caps assigned to init [init] child "timer" announces service "Timer" [init -> fb_sdl] creating virtual framebuffer for mode 1024x768@...487... [init] child "fb_sdl" announces service "Framebuffer" [init] child "fb_sdl" announces service "Input" [init -> mupdf] Error: libc suspend() called from non-user context (0x1180506) - aborting [init] child "mupdf" exited with exit value 1
An alternative PDF file made no difference, the same happens on base-nova. I tested with Genode 17.08.
Any ideas?
Cheers, Alex
Hi Alex,
when running the mupdf demo on base-linux/x86_64 (make run/mupdf), I get the following error: ... [init -> mupdf] Error: libc suspend() called from non-user context (0x1180506) - aborting
this is another occurrence of a missing 'with_libc' call that is needed whenever a native Genode component calls into potentially blocking libc functions (like 'read'). I fixed the problem at the staging branch [1] now.
[1] https://github.com/genodelabs/genode/commit/349c87eda95a9913940272bdee990bb1...
Cheers Norman
That fixed it, thanks for the quick response!
On 05.09.2017 16:17, Norman Feske wrote:
Hi Alex,
when running the mupdf demo on base-linux/x86_64 (make run/mupdf), I get the following error: ... [init -> mupdf] Error: libc suspend() called from non-user context (0x1180506) - aborting
this is another occurrence of a missing 'with_libc' call that is needed whenever a native Genode component calls into potentially blocking libc functions (like 'read'). I fixed the problem at the staging branch [1] now.
[1] https://github.com/genodelabs/genode/commit/349c87eda95a9913940272bdee990bb1...
Cheers Norman