<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - valgrind findings - Invalid write"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106518">106518</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>valgrind findings -  Invalid write
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.5.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>weston
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dpa-bugs@aegee.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>