Bug 106518 - valgrind findings - Invalid write
Summary: valgrind findings - Invalid write
Status: RESOLVED MOVED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: 1.5.0
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-14 19:54 UTC by Dilian
Modified: 2018-06-08 23:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Dilian 2018-05-14 19:54:21 UTC
Starting weston under valgrind, opening a terminal, calling evolution, terminating evolution, typing 'exit' in the terminal, closing the terminal with the 'X' symbol, leaving weston prints the text below.

Why isn't the terminal closed, when I type 'exit'?

[19:43:24.819] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[19:43:24.828] Loading module '/usr/local/lib/weston/desktop-shell.so'
[19:43:24.939] launching '/usr/local/libexec/weston-keyboard'
[19:43:24.994] Loading module '/usr/local/lib/weston/systemd-notify.so'
[19:43:25.016] launching '/usr/local/libexec/weston-desktop-shell'
[19:43:28.282] DRM: expected property DPMS to not be an enum, but it is; ignoring
[19:43:28.285] DRM: expected property DPMS to not be an enum, but it is; ignoring
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
child 2423 exited
[19:45:27.176] panel surface gone
[19:45:27.177] background surface gone
==00:00:02:38.390 2420== Invalid write of size 8
==00:00:02:38.390 2420==    at 0x5079647: wl_list_remove (wayland-util.c:55)
==00:00:02:38.390 2420==    by 0xEFC1C00: weston_compositor_destroy_listener (systemd-notify.c:113)
==00:00:02:38.390 2420==    by 0x4E4DEB3: wl_signal_emit (wayland-server-core.h:468)
==00:00:02:38.390 2420==    by 0x4E4DEB3: weston_compositor_destroy (compositor.c:5635)
==00:00:02:38.390 2420==    by 0x40458D: main (main.c:1882)
==00:00:02:38.390 2420==  Address 0xe9fe7c0 is 64 bytes inside a block of size 88 free'd
==00:00:02:38.390 2420==    at 0x4C2DDA8: free (vg_replace_malloc.c:530)
==00:00:02:38.390 2420==    by 0x4E4DEB3: wl_signal_emit (wayland-server-core.h:468)
==00:00:02:38.390 2420==    by 0x4E4DEB3: weston_compositor_destroy (compositor.c:5635)
==00:00:02:38.390 2420==    by 0x40458D: main (main.c:1882)
==00:00:02:38.390 2420==  Block was alloc'd at
==00:00:02:38.390 2420==    at 0x4C2EAAE: calloc (vg_replace_malloc.c:711)
==00:00:02:38.390 2420==    by 0x406947: zalloc (zalloc.h:38)
==00:00:02:38.391 2420==    by 0x406947: screenshooter_create (weston-screenshooter.c:176)
==00:00:02:38.391 2420==    by 0xEBAA579: wet_shell_init (shell.c:5089)
==00:00:02:38.391 2420==    by 0x40444B: wet_load_shell (main.c:728)
==00:00:02:38.391 2420==    by 0x40444B: main (main.c:1829)
==00:00:02:38.391 2420== 
[19:45:27.210] event2  - [19:45:27.210] Power Button: [19:45:27.210] device removed
[19:45:27.223] event3  - [19:45:27.223] Video Bus: [19:45:27.223] device removed
[19:45:27.225] event0  - [19:45:27.225] Lid Switch: [19:45:27.225] device removed
[19:45:27.227] event1  - [19:45:27.227] Power Button: [19:45:27.228] device removed
[19:45:27.229] event8  - [19:45:27.229] HDA Intel HDMI HDMI/DP,pcm=3: [19:45:27.230] device removed
[19:45:27.231] event9  - [19:45:27.231] HDA Intel HDMI HDMI/DP,pcm=7: [19:45:27.231] device removed
Comment 1 GitLab Migration User 2018-06-08 23:56:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/weston/issues/111.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.