This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: Nested(wayland-backend) wayland is not working

Tool/software: Linux

Hello.

I'm working dra75x EVM with processor sdk(included wayland 1.9.0)

We need implement application on wayland. but nested wayland look not working on GLSDK

Below is working flow.

step1: weston --tty=1 --backend=drm-backend.so &  // desktop-shell showing successfully

step2: weston-simple-egl   // egl application worked successfully

step3: weston --backend=wayland-backend.so --use-pixman   // nested wayland launched successfully.

step4: Cancel the nested weston and launch it again without --use-pixman to use gl-renderer

step5: weston --backend=wayland-backend.so   // segmentation fault printed in function "gl_renderer->create(compositor,..."  in "compositor-wayland.c"

I think, gl_renderer-create was success with drm-backend., but it is fail with wayland-backend

Please help me.

Below is backtrace:

Program received signal SIGSEGV, Segmentation fault.
0xb6d97cd4 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0xb6d97cd4 in strlen () from /lib/libc.so.6
#1 0xb6d97b14 in strdup () from /lib/libc.so.6
#2 0xb6a33164 in wayland_drm_init () from /usr/lib/libIMGegl.so
#3 0xb6a2ba70 in ?? () from /usr/lib/libIMGegl.so
#4 0xb6a2ba70 in ?? () from /usr/lib/libIMGegl.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)