[Mesa-dev] FlightGear r300 GPU lockup CP stall for more than 10000msec

2012-03-21 Thread David Fries
ff 45 31 e4 eb 1e 49 8b 46 68 48 8b 34 cb 48 8b 4c 24 28 4c 03 78 30 4c 89 ff a4 89 6b 30 42 89 6c ab 08 48 83 c4 38 44 89 e0 5b 5d 41 5c RIP [] radeon_cs_update_pages+0x103/0x120 [radeon] RSP CR2: c9c1d000 ---[ end trace 78cce38bd9a7f31d ]--- -- David Fries PGP pub CB1EE8F0

Re: [Mesa-dev] [Bug 46596] New: Set close on exec flag FD_CLOEXEC

2012-02-24 Thread David Fries
Set the close on exec flag when opening dri character devices, so they will be closed and free any resouces allocated in exec. Signed-off-by: David Fries Reviewed-by: Adam Jackson --- patch for above bug report src/egl/drivers/dri2/platform_wayland.c| 11 ++- src/egl

[Mesa-dev] [PATCH] Set close on exec flag FD_CLOEXEC

2012-02-18 Thread David Fries
Set the close on exec flag when opening dri character devices, so they will be closed and free any resouces allocated in exec. Signed-off-by: David Fries Reviewed-by: Adam Jackson --- I had posted this in November/December, got feedback, redid the patch, posted an update, but now I don't s

Re: [Mesa-dev] Bug#651370: libgl1-mesa-glx: need close on exec for dri device

2011-12-11 Thread David Fries
| O_CLOEXEC); + if (psc->fd == -1 && errno == EINVAL) +#endif + { + psc->fd = open(deviceName, O_RDWR); + if (psc->fd != -1) + fcntl(psc->fd, F_SETFD, fcntl(psc->fd, F_GETFD) | FD_CLOEXEC); + } if (psc->fd < 0) { ErrorMessageF(&