<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - weston crashes while quitting, when in software rendering mode."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81314">81314</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>weston crashes while quitting, when in software rendering mode.
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sudoman@ninthfloor.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

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

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

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=102732" name="attach_102732" title="weston core dump and executable">attachment 102732</a> <a href="attachment.cgi?id=102732&action=edit" title="weston core dump and executable">[details]</a></span>
weston core dump and executable

i set the following variable in an x11 terminal:

export LIBGL_ALWAYS_SOFTWARE=1

then ran weston.

i moved a weston terminal window around a bunch, then closed that terminal
window, then then clicked the close button for weston. then the core dumped.

i'm running debian jessie + some sid on amd64. i've attached the core dump file
and weston binary.


Program terminated with signal 5, Trace/breakpoint trap.
#0  0x00007f079501e7bb in raise (sig=5) at
../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37    ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) backtrace
#0  0x00007f079501e7bb in raise (sig=5) at
../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1  0x0000000000410119 in on_caught_signal (s=11, siginfo=0x7fff199f4d30,
context=0x7fff199f4c00) at src/compositor.c:3916
#2  <signal handler called>
#3  0x0000000000407601 in wl_signal_emit (signal=0x2208208, data=0x2208200) at
/home/sudoman/src/3rd-party/graphics/wayland/install/include/wayland-server.h:259
#4  0x000000000040af4a in weston_surface_destroy (surface=0x2208200) at
src/compositor.c:1446
#5  0x00007f078944aad7 in fade_out_done (animation=0x24a00c0, data=0x1f43ff0)
at desktop-shell/shell.c:3199
#6  0x000000000041d408 in weston_view_animation_destroy (animation=0x24a00c0)
at src/animation.c:143
#7  0x000000000041d4dd in weston_view_animation_frame (base=0x24a00c8,
output=0x16bef70, msecs=849598686) at src/animation.c:174
#8  0x000000000040c128 in weston_output_repaint (output=0x16bef70,
msecs=849598686) at src/compositor.c:1863
#9  0x000000000040c20e in weston_output_finish_frame (output=0x16bef70,
msecs=849598686) at src/compositor.c:1892
#10 0x00007f079464a6a0 in x11_output_start_repaint_loop (output=0x16bef70) at
src/compositor-x11.c:347
#11 0x00007f079464abd6 in finish_frame_handler (data=0x16bef70) at
src/compositor-x11.c:457
#12 0x00007f0795c1e485 in wl_event_source_timer_dispatch (source=0x1745100,
ep=0x7fff199f5300) at src/event-loop.c:179
#13 0x00007f0795c1eb66 in wl_event_loop_dispatch (loop=0x1668220, timeout=-1)
at src/event-loop.c:419
#14 0x00007f0795c1c9f7 in wl_display_run (display=0x1668190) at
src/wayland-server.c:969
#15 0x0000000000410ddb in main (argc=1, argv=0x7fff199f57c8) at
src/compositor.c:4326</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>