Re: [Bug 4081] New: OpenOffice crashes while starting due to a threading error

From: Richard Hughes
Date: Sat Jan 29 2005 - 06:43:31 EST


On Fri, 28 Jan 2005 15:57:13 -0800, Stephen Hemminger wrote:
> Note: on 2.6.10
> /dev/dri/card0 crw-rw-rw-
> on 2.6.11-rc2
> /dev/dri/card0 crw-rw----
> /dev/dri/card1 crw-rw----
>
> Changing permissions seems to fix (it for startup), will try more and see
> if udev remembers not to turn them back.

Me too. (2.6.11-rc2-bk3, openoffice.org-1.1.3) I straced soffice and found
it hanging on /dev/dri:

geteuid32() = 500
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
stat64("/dev/dri/card14", 0xbff9c8bc) = -1 ENOENT (No such file or directory)
munmap(0x9b4838, 8192) = -1 EINVAL (Invalid argument)
munmap(0x949e248, 3220820000) = -1 EINVAL (Invalid argument)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

and with a chmod a+rw /dev/dri/card* everything is okay until I reboot,
and it defaults back to crw-rw----

What is at fault? Certainly oo shouldn't just seg-fault, but should the
permissions on /dev/dri/card* be crw-rw---- or crw-rw-rw-?

Richard Hughes

--

http://www.hughsie.com/PUBLIC-KEY


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/