Wierd SDL crash

I have a simple demo program that reads from a USB joystick using SDL.
It runs fine on my ubuntu linux machine, and for a short time it runs
fine on my beagleboard (running angstrom). After a short while,
however, the program crashes and this shows up in dmesg:

[ 276.366821] select 1 (init), adj 0, size 35, to kill
[ 276.371856] select 1732 (dropbear), adj 0, size 37, to kill
[ 276.378234] select 1743 (dbus-daemon), adj 0, size 53, to kill
[ 276.384155] select 1748 (hald), adj 0, size 186, to kill
[ 276.389526] select 1811 (Xorg), adj 0, size 702, to kill
[ 276.394866] select 1900 (gpe-login), adj 0, size 1852, to kill
[ 276.400756] select 2073 (hcemu), adj 0, size 54118, to kill
[ 276.406402] send sigkill to 2073 (hcemu), adj 0, size 54118

What could be causing this? it looks like it's passing through the
process tree and deciding to kill my application (hcemu) but why?

Thanks a lot.

out of memory killer?

Op 13 aug 2009 om 19:24 heeft Woodrow <woodrowdouglass@gmail.com> het
volgende geschreven:\

Woodrow wrote:

I have a simple demo program that reads from a USB joystick using SDL.
It runs fine on my ubuntu linux machine, and for a short time it runs
fine on my beagleboard (running angstrom). After a short while,
however, the program crashes and this shows up in dmesg:

[ 276.366821] select 1 (init), adj 0, size 35, to kill
[ 276.371856] select 1732 (dropbear), adj 0, size 37, to kill
[ 276.378234] select 1743 (dbus-daemon), adj 0, size 53, to kill
[ 276.384155] select 1748 (hald), adj 0, size 186, to kill
[ 276.389526] select 1811 (Xorg), adj 0, size 702, to kill
[ 276.394866] select 1900 (gpe-login), adj 0, size 1852, to kill
[ 276.400756] select 2073 (hcemu), adj 0, size 54118, to kill
[ 276.406402] send sigkill to 2073 (hcemu), adj 0, size 54118

What could be causing this? it looks like it's passing through the
process tree and deciding to kill my application (hcemu) but why?

I'd guess it is the OOM killer and it picked your app coz it used the most mem.

I'll check for memory leaks, thanks!