﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
457,SDL crashes,scottmc,scottmc,"While running some games and some of the SDL tests, they will crash out to gdb.

This is from running testgl and then moving the cursor outside of the SDL window:
{{{
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type ""show copying"" to see the conditions.
There is absolutely no warranty for GDB.  Type ""show warranty"" for details.
This GDB was configured as ""i586-pc-haiku""...
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 15638 caused an exception: Segment violation
Reading symbols from /boot/system/runtime_loader...done.
Loaded symbols for /boot/system/runtime_loader
Reading symbols from /boot/common/lib/libSDL-1.2.so.0.11.3...done.
Loaded symbols for /boot/common/lib/libSDL-1.2.so.0.11.3
Reading symbols from /boot/system/lib/libGL.so...done.
Loaded symbols for /boot/system/lib/libGL.so
Reading symbols from /boot/system/lib/libroot.so...done.
Loaded symbols for /boot/system/lib/libroot.so
Reading symbols from /boot/common/lib/libiconv.so.2.5.0...done.
Loaded symbols for /boot/common/lib/libiconv.so.2.5.0
Reading symbols from /boot/system/lib/libbe.so...done.
Loaded symbols for /boot/system/lib/libbe.so
Reading symbols from /boot/system/lib/libmedia.so...done.
Loaded symbols for /boot/system/lib/libmedia.so
Reading symbols from /boot/system/lib/libgame.so...done.
Loaded symbols for /boot/system/lib/libgame.so
Reading symbols from /boot/system/lib/libdevice.so...done.
Loaded symbols for /boot/system/lib/libdevice.so
Reading symbols from /boot/system/lib/libtextencoding.so...done.
Loaded symbols for /boot/system/lib/libtextencoding.so
Reading symbols from /boot/system/lib/libstdc++.r4.so...done.
Loaded symbols for /boot/system/lib/libstdc++.r4.so
Reading symbols from /boot/system/add-ons/opengl/Mesa Software Renderer...done.
Loaded symbols for /boot/system/add-ons/opengl/Mesa Software Renderer
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
[Switching to team ./testgl (15632) thread w>SDL GL test (15638)]
0x0023354e in SDL_EraseCursorNoLock (screen=0x1801a2d0)
    at ./src/video/SDL_cursor.c:702
702                       SDL_memcpy(dst, src, w);
(gdb) bt
#0  0x0023354e in SDL_EraseCursorNoLock (screen=0x1801a2d0)
    at ./src/video/SDL_cursor.c:702
#1  0x002335eb in SDL_EraseCursor (screen=0x1801a2d0)
    at ./src/video/SDL_cursor.c:726
#2  0x0023d342 in SDL_BWin::DispatchMessage (this=0x1804b240, msg=0x18019f10, 
    target=0xffffffff) at ./src/video/bwindow/SDL_sysevents.cc:207
#3  0x006c0d28 in BWindow::task_looper () from /boot/system/lib/libbe.so
#4  0x00883413 in BDirectWindow::task_looper ()
   from /boot/system/lib/libgame.so
#5  0x005f10fb in BLooper::_task0_ () from /boot/system/lib/libbe.so
#6  0x0035b562 in thread_entry () from /boot/system/lib/libroot.so
#7  0x700c1fec in ?? ()
(gdb) 

}}}",defect,closed,normal,LibPak 1.0,media-libs/libsdl,,normal,fixed,,
