After downloading todays image and running it in the emulator i get this:

root@10:~# journalctl -f
Segmentation fault
root@10:~# systemctl
Segmentation fault

Not only that, weston is not starting due to various errors (Starting from the 
DRM backend errors and ending up with input device errors)

Some stack trace dumps from the kernel whenever anything log related is touched:
[  573.230400] kernel BUG at kernel/auditsc.c:1471!
[  573.231138] invalid opcode: 0000 [#24] PREEMPT 
[  573.231663] Modules linked in:
[  573.231971] CPU: 0 PID: 3071 Comm: journalctl Tainted: G      D      
3.12.18-3.28-common-i386-emulator #1
[  573.232882] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Bochs 01/01/2011
[  573.233654] task: f60c23e0 ti: f3582000 task.ti: f3582000
[  573.234264] EIP: 0060:[<c1075ec7>] EFLAGS: 00010202 CPU: 0
[  573.234789] EIP is at __audit_syscall_entry+0x2e/0xc4
[  573.235318] EAX: 40000003 EBX: f36afc00 ECX: b770783d EDX: 00000005
[  573.235915] ESI: 00000010 EDI: f60c23e0 EBP: f3583fb0 ESP: f3583fa4
[  573.236512]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
[  573.237031] CR0: 80050033 CR2: b898e404 CR3: 363d1000 CR4: 00000690
[  573.237613] Stack:
[  573.237613]  b770783d 00000010 b752a000 f3582000 c15ef743 00088100 00000000 
00000010
[  573.237613]  b752a000 bfe92138 00000005 0000007b 0000007b 00000000 00000000 
00000005
[  573.237613]  b7657424 00000073 00000206 bfe92100 0000007b 00000000 00000000
[  573.237613] Call Trace:
[  573.237613]  [<c15ef743>] sysenter_audit+0x1e/0x25
[  573.237613] Code: 57 56 53 3e 8d 74 26 00 8b 3d 60 b4 8b c1 8b 9f b0 03 00 
00 85 db 0f 84 a0 00 00 00 83 7b 04 00 75 09 83 bb d0 01 00 00 00 74 02 <0f> 0b 
83 3d 0c 41 b4 c1 00 0f 84 82 00 00 00 89 83 24 02 00 00
[  573.237613] EIP: [<c1075ec7>] __audit_syscall_entry+0x2e/0xc4 SS:ESP 
0068:f3583fa4
[  573.244670] ---[ end trace a1650fa997950da3 ]---


Simple weston run from root:
root@10:~# weston --tty=1
Date: 2015-06-15 PDT
[04:52:53.855] weston 1.7.0
               http://wayland.freedesktop.org
               Bug reports to: 
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.7.0
               Build: unknown (not built from git or tarball)
[04:52:53.855] OS: Linux, 3.12.18-3.28-common-i386-emulator, #1 PREEMPT Thu Jun 
4 16:30:03 UTC 2015, i686
[04:52:53.855] warning: XDG_RUNTIME_DIR "/run/display" is not configured
correctly.  Unix access mode must be 0700 (current mode is 700),
and must be owned by the user (current owner is UID 381).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[04:52:53.856] Using config file '/etc/xdg/weston/weston.ini'
[04:52:53.856] Loading module '/usr/lib/weston/drm-backend.so'
[04:52:53.857] initializing drm backend
[04:52:53.862] using /dev/dri/card0
[04:52:53.862] Loading module '/usr/lib/weston/gl-renderer.so'
[04:52:53.865] warning: EGL_EXT_swap_buffers_with_damage not supported. 
Performance could be affected.
[04:52:53.866] input device 'Power Button', /dev/input/event0 not tagged as 
input device
[04:52:53.932] failed to create input device '/dev/input/event0'.
[04:52:53.932] input device 'Maru Virtio Hwkey', /dev/input/event3 not tagged 
as input device
[04:52:54.012] failed to create input device '/dev/input/event3'.
[04:52:54.013] input device 'Maru Virtio Touchscreen', /dev/input/event2 not 
tagged as input device
[04:52:54.092] failed to create input device '/dev/input/event2'.
[04:52:54.093] input device 'AT Translated Set 2 keyboard', /dev/input/event1 
not tagged as input device
[04:52:54.172] failed to create input device '/dev/input/event1'.
[04:52:54.172] input device 'ImExPS/2 Generic Explorer Mouse', 
/dev/input/event4 not tagged as input device
[04:52:54.252] failed to create input device '/dev/input/event4'.
[04:52:54.252] warning: no input devices on entering Weston. Possible causes:
        - no permissions to read /dev/input/event*
        - seats misconfigured (Weston backend option 'seat', udev device 
property ID_SEAT)
[04:52:54.252] failed to create input devices
*** Error in `weston': double free or corruption (!prev): 0x08621c50 ***
======= Backtrace: =========
/lib/libc.so.6(+0x706f4)[0xb74406f4]
/lib/libc.so.6(+0x78cbc)[0xb7448cbc]
/lib/libc.so.6(cfree+0x58)[0xb744da78]
/usr/lib/weston/gl-renderer.so(+0x2605)[0xb72b0605]
weston(weston_compositor_shutdown+0x78)[0x805a5b8]
/usr/lib/weston/drm-backend.so(backend_init+0xd38)[0xb7356978]
weston[0x804ee7f]
/lib/libc.so.6(__libc_start_main+0xe8)[0xb73e88e8]
weston[0x804f5bd]
======= Memory map: ========
08048000-08074000 r-xp 00000000 fe:00 10106      /usr/bin/weston
08074000-08075000 r--p 0002b000 fe:00 10106      /usr/bin/weston
08075000-08076000 rw-p 0002c000 fe:00 10106      /usr/bin/weston
08619000-0863a000 rw-p 00000000 00:00 0          [heap]
41000000-41023000 r-xp 00000000 fe:00 13885      /usr/lib/ld-2.21.so
41023000-41024000 r--p 00023000 fe:00 13885      /usr/lib/ld-2.21.so
41024000-41025000 rw-p 00024000 fe:00 13885      /usr/lib/ld-2.21.so
b7211000-b721d000 r-xp 00000000 fe:00 2612       
/usr/lib/libwayland-client.so.0.3.0
b721d000-b721e000 r--p 0000c000 fe:00 2612       
/usr/lib/libwayland-client.so.0.3.0
b721e000-b721f000 rw-p 0000d000 fe:00 2612       
/usr/lib/libwayland-client.so.0.3.0
b721f000-b7220000 r-xp 00000000 fe:00 3203       
/usr/lib/libwayland-egl.so.1.0.0
b7220000-b7221000 r--p 00000000 fe:00 3203       
/usr/lib/libwayland-egl.so.1.0.0
b7221000-b7222000 rw-p 00001000 fe:00 3203       
/usr/lib/libwayland-egl.so.1.0.0
b7222000-b7229000 r-xp 00000000 fe:00 2474       
/usr/lib/libcapi-base-common.so.0.2.0
b7229000-b722b000 r--p 00006000 fe:00 2474       
/usr/lib/libcapi-base-common.so.0.2.0
b722b000-b722c000 rw-p 00008000 fe:00 2474       
/usr/lib/libcapi-base-common.so.0.2.0
b722c000-b7237000 r-xp 00000000 fe:00 2859       /usr/lib/libtbm.so.1.0.0
b7237000-b7239000 r--p 0000a000 fe:00 2859       /usr/lib/libtbm.so.1.0.0
b7239000-b723a000 rw-p 0000c000 fe:00 2859       /usr/lib/libtbm.so.1.0.0
b723a000-b728c000 r-xp 00000000 fe:00 3196       /usr/lib/libGLESv2.so.2.0
b728c000-b728d000 r--p 00051000 fe:00 3196       /usr/lib/libGLESv2.so.2.0
b728d000-b728f000 rw-p 00052000 fe:00 3196       /usr/lib/libGLESv2.so.2.0
b728f000-b72ac000 r-xp 00000000 fe:00 3188       /usr/lib/libEGL.so.1.0
b72ac000-b72ad000 r--p 0001c000 fe:00 3188       /usr/lib/libEGL.so.1.0
b72ad000-b72ae000 rw-p 0001d000 fe:00 3188       /usr/lib/libEGL.so.1.0
b72ae000-b72b8000 r-xp 00000000 fe:00 17677      /usr/lib/weston/gl-renderer.so
b72b8000-b72b9000 r--p 00009000 fe:00 17677      /usr/lib/weston/gl-renderer.so
b72b9000-b72ba000 rw-p 0000a000 fe:00 17677      /usr/lib/weston/gl-renderer.so
b72ba000-b72bf000 r-xp 00000000 fe:00 2808       /usr/lib/libattr.so.1.1.0
b72bf000-b72c0000 r--p 00004000 fe:00 2808       /usr/lib/libattr.so.1.1.0
b72c0000-b72c1000 rw-p 00005000 fe:00 2808       /usr/lib/libattr.so.1.1.0
b72c1000-b72cf000 r-xp 00000000 fe:00 9473       /usr/lib/libevdev.so.2.0.3
b72cf000-b72d2000 r--p 0000e000 fe:00 9473       /usr/lib/libevdev.so.2.0.3
b72d2000-b72d3000 rw-p 00011000 fe:00 9473       /usr/lib/libevdev.so.2.0.3
b72d3000-b72d6000 r-xp 00000000 fe:00 2526       /usr/lib/libdrm_vigs.so.10.0.0
b72d6000-b72d7000 r--p 00002000 fe:00 2526       /usr/lib/libdrm_vigs.so.10.0.0
b72d7000-b72d8000 rw-p 00003000 fe:00 2526       /usr/lib/libdrm_vigs.so.10.0.0
b72d8000-b72dc000 r-xp 00000000 fe:00 2812       /usr/lib/libcap.so.2.24
b72dc000-b72dd000 r--p 00003000 fe:00 2812       /usr/lib/libcap.so.2.24
b72dd000-b72de000 rw-p 00004000 fe:00 2812       /usr/lib/libcap.so.2.24
b72de000-b72f4000 r-xp 00000000 fe:00 3406       /usr/lib/libva.so.1.3600.0
b72f4000-b72f5000 r--p 00015000 fe:00 3406       /usr/lib/libva.so.1.3600.0
b72f5000-b72f6000 rw-p 00016000 fe:00 3406       /usr/lib/libva.so.1.3600.0
b72f6000-b72f8000 r-xp 00000000 fe:00 3398       /usr/lib/libva-drm.so.1.3600.0
b72f8000-b72f9000 r--p 00001000 fe:00 3398       /usr/lib/libva-drm.so.1.3600.0
b72f9000-b72fa000 rw-p 00002000 fe:00 3398       /usr/lib/libva-drm.so.1.3600.0
b72fa000-b7306000 r-xp 00000000 fe:00 2522       /usr/lib/libdrm.so.2.4.0
b7306000-b7307000 r--p 0000b000 fe:00 2522       /usr/lib/libdrm.so.2.4.0
b7307000-b7308000 rw-p 0000c000 fe:00 2522       /usr/lib/libdrm.so.2.4.0
b7308000-b7322000 r-xp 00000000 fe:00 9475       /usr/lib/libinput.so.7.2.0
b7322000-b7323000 r--p 00019000 fe:00 9475       /usr/lib/libinput.so.7.2.0
b7323000-b7324000 rw-p 0001a000 fe:00 9475       /usr/lib/libinput.so.7.2.0
b7324000-b7329000 r-xp 00000000 fe:00 2890       /usr/lib/libmtdev.so.1.0.0
b7329000-b732a000 r--p 00004000 fe:00 2890       /usr/lib/libmtdev.so.1.0.0
b732a000-b732b000 rw-p 00005000 fe:00 2890       /usr/lib/libmtdev.so.1.0.0
b732b000-b732e000 r-xp 00000000 fe:00 3200       /usr/lib/libgbm.so.1.0.0
b732e000-b732f000 r--p 00002000 fe:00 3200       /usr/lib/libgbm.so.1.0.0
b732f000-b7330000 rw-p 00003000 fe:00 3200       /usr/lib/libgbm.so.1.0.0
b7330000-b7349000 r-xp 00000000 fe:00 3184       /usr/lib/libudev.so.1.6.2
b7349000-b734a000 r--p 00018000 fe:00 3184       /usr/lib/libudev.so.1.6.2
b734a000-b734b000 rw-p 00019000 fe:00 3184       /usr/lib/libudev.so.1.6.2
b734b000-b7361000 r-xp 00000000 fe:00 17674      /usr/lib/weston/drm-backend.so
b7361000-b7363000 r--p 00015000 fe:00 17674      /usr/lib/weston/drm-backend.so
b7363000-b7364000 rw-p 00017000 fe:00 17674      /usr/lib/weston/drm-backend.so
b7364000-b7366000 rw-p 00000000 00:00 0 
b7366000-b7380000 r-xp 00000000 fe:00 2466       /usr/lib/libgcc_s.so.1
b7380000-b7381000 r--p 00019000 fe:00 2466       /usr/lib/libgcc_s.so.1
b7381000-b7382000 rw-p 0001a000 fe:00 2466       /usr/lib/libgcc_s.so.1
b7382000-b739c000 r-xp 00000000 fe:00 2435       /usr/lib/libpthread-2.21.so
b739c000-b739d000 r--p 00019000 fe:00 2435       /usr/lib/libpthread-2.21.so
b739d000-b739e000 rw-p 0001a000 fe:00 2435       /usr/lib/libpthread-2.21.so
b739e000-b73a0000 rw-p 00000000 00:00 0 
b73a0000-b73a7000 r-xp 00000000 fe:00 2439       /usr/lib/librt-2.21.so
b73a7000-b73a8000 r--p 00006000 fe:00 2439       /usr/lib/librt-2.21.so
b73a8000-b73a9000 rw-p 00007000 fe:00 2439       /usr/lib/librt-2.21.so
b73a9000-b73b0000 r-xp 00000000 fe:00 2608       /usr/lib/libffi.so.6.0.2
b73b0000-b73b1000 r--p 00006000 fe:00 2608       /usr/lib/libffi.so.6.0.2
b73b1000-b73b2000 rw-p 00007000 fe:00 2608       /usr/lib/libffi.so.6.0.2
b73b2000-b73b3000 rw-p 00000000 00:00 0 
b73b3000-b73b9000 r-xp 00000000 fe:00 3474       
/usr/lib/libtzplatform-config-2.0.so.2.0.0
b73b9000-b73ba000 r--p 00005000 fe:00 3474       
/usr/lib/libtzplatform-config-2.0.so.2.0.0
b73ba000-b73bb000 rw-p 00006000 fe:00 3474       
/usr/lib/libtzplatform-config-2.0.so.2.0.0
b73bb000-b73c5000 r-xp 00000000 fe:00 8932       /usr/lib/libunwind.so.8.0.1
b73c5000-b73c6000 r--p 0000a000 fe:00 8932       /usr/lib/libunwind.so.8.0.1
b73c6000-b73c7000 rw-p 0000b000 fe:00 8932       /usr/lib/libunwind.so.8.0.1
b73c7000-b73d0000 rw-p 00000000 00:00 0 
b73d0000-b7597000 r-xp 00000000 fe:00 2409       /usr/lib/libc-2.21.so
b7597000-b7599000 r--p 001c7000 fe:00 2409       /usr/lib/libc-2.21.so
b7599000-b759a000 rw-p 001c9000 fe:00 2409       /usr/lib/libc-2.21.so
b759a000-b759d000 rw-p 00000000 00:00 0 
b759d000-b75ed000 r-xp 00000000 fe:00 2417       /usr/lib/libm-2.21.so
b75ed000-b75ee000 r--p 0004f000 fe:00 2417       /usr/lib/libm-2.21.so
b75ee000-b75ef000 rw-p 00050000 fe:00 2417       /usr/lib/libm-2.21.so
b75ef000-b75f2000 r-xp 00000000 fe:00 2415       /usr/lib/libdl-2.21.so
b75f2000-b75f3000 r--p 00002000 fe:00 2415       /usr/lib/libdl-2.21.so
b75f3000-b75f4000 rw-p 00003000 fe:00 2415       /usr/lib/libdl-2.21.so
b75f4000-b763f000 r-xp 00000000 fe:00 2598       /usr/lib/libxkbcommon.so.0.0.0
b763f000-b7640000 r--p 0004b000 fe:00 2598       /usr/lib/libxkbcommon.so.0.0.0
b7640000-b7641000 rw-p 0004c000 fe:00 2598       /usr/lib/libxkbcommon.so.0.0.0
b7641000-b76f1000 r-xp 00000000 fe:00 2801       /usr/lib/libpixman-1.so.0.32.6
b76f1000-b76f6000 r--p 000b0000 fe:00 2801       /usr/lib/libpixman-1.so.0.32.6
b76f6000-b76f7000 rw-p 000b5000 fe:00 2801       /usr/lib/libpixman-1.so.0.32.6
b76f7000-b7707000 r-xp 00000000 fe:00 2855       
/usr/lib/libwayland-server.so.0.1.0
b7707000-b7708000 r--p 0000f000 fe:00 2855       
/usr/lib/libwayland-server.so.0.1.0
b7708000-b7709000 rw-p 00010000 fe:00 2855       
/usr/lib/libwayland-server.so.0.1.0
b7711000-b7712000 rw-p 00000000 00:00 0 
b7712000-b7713000 rw-s 00001000 00:05 7156       /dev/yagl
b7713000-b7714000 rw-s 00000000 00:05 7156       /dev/yagl
b7714000-b771a000 r-xp 00000000 fe:00 8935       /usr/lib/libsys-assert.so
b771a000-b771b000 r--p 00005000 fe:00 8935       /usr/lib/libsys-assert.so
b771b000-b771c000 rw-p 00006000 fe:00 8935       /usr/lib/libsys-assert.so
b771c000-b771e000 rw-p 00000000 00:00 0 
b771e000-b771f000 r-xp 00000000 00:00 0          [vdso]
bfa20000-bfa41000 rwxp 00000000 00:00 0          [stack]
[sys-assert]cannot make /usr/share/crash/curbs.log !


When trying to start weston with the fbdev backnd and pixmian (btw --use-pixman 
is reported as an unhandled option?)

root@10:~# weston --tty=1 --use-pixman --backend=fbdev-backend.so
Date: 2015-06-15 PDT
[04:53:49.119] weston 1.7.0
               http://wayland.freedesktop.org
               Bug reports to: 
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.7.0
               Build: unknown (not built from git or tarball)
[04:53:49.119] OS: Linux, 3.12.18-3.28-common-i386-emulator, #1 PREEMPT Thu Jun 
4 16:30:03 UTC 2015, i686
[04:53:49.119] warning: XDG_RUNTIME_DIR "/run/display" is not configured
correctly.  Unix access mode must be 0700 (current mode is 700),
and must be owned by the user (current owner is UID 381).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[04:53:49.120] Using config file '/etc/xdg/weston/weston.ini'
[04:53:49.120] Loading module '/usr/lib/weston/fbdev-backend.so'
[04:53:49.121] initializing fbdev backend
[04:53:49.126] Creating fbdev output.
[04:53:49.126] Opening fbdev frame buffer.
[04:53:49.126] Calculating pixman format from:
                - type: 0 (aux: 0)
                - visual: 2
                - bpp: 32 (grayscale: 0)
                - red: offset: 16, length: 8, MSB: 0
                - green: offset: 8, length: 8, MSB: 0
                - blue: offset: 0, length: 8, MSB: 0
                - transp: offset: 0, length: 0, MSB: 0
[04:53:49.126] Mapping fbdev frame buffer.
[04:53:49.126] fbdev output 1920×1080 px
               guessing 60 Hz and 96 dpi
[04:53:49.126] input device 'Power Button', /dev/input/event0 not tagged as 
input device
[04:53:49.192] failed to create input device '/dev/input/event0'.
[04:53:49.192] input device 'Maru Virtio Hwkey', /dev/input/event3 not tagged 
as input device
[04:53:49.272] failed to create input device '/dev/input/event3'.
[04:53:49.273] input device 'Maru Virtio Touchscreen', /dev/input/event2 not 
tagged as input device
[04:53:49.352] failed to create input device '/dev/input/event2'.
[04:53:49.352] input device 'AT Translated Set 2 keyboard', /dev/input/event1 
not tagged as input device
[04:53:49.432] failed to create input device '/dev/input/event1'.
[04:53:49.432] input device 'ImExPS/2 Generic Explorer Mouse', 
/dev/input/event4 not tagged as input device
[04:53:49.512] failed to create input device '/dev/input/event4'.
[04:53:49.512] warning: no input devices on entering Weston. Possible causes:
        - no permissions to read /dev/input/event*
        - seats misconfigured (Weston backend option 'seat', udev device 
property ID_SEAT)
[04:53:49.512] fatal: unhandled option: --use-pixman
[04:53:49.512] Destroying fbdev output.
[04:53:49.512] Disabling fbdev output.
[04:53:49.512] Destroying fbdev frame buffer.

Should we update the emulator ? are there any major changes in the YAGL/VIGS 
subsystem that would cause issues like that ? If so is there some web page or 
some place where we can find out that we need to update our workstation 
software ?

best regards

-- 
--------------
 Roman Kubiak
--------------
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to