[Bug 938981] Re: Xorg freeze when starting Firefox

2012-10-19 Thread Mihaly Biro
The messages are produced by Apparmor, so its running.
Check for the presence of profile abstractions/nvidia
and open the profile usr.bin.firefox if the nvidia profile is included #include 
abstractions/nvidia

Apparmor profiles are located in /etc/apparmor.d/ and subdirectories.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/938981

Title:
  Xorg freeze when starting Firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/938981/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 938981] Re: Xorg freeze when starting Firefox

2012-10-18 Thread Mihaly Biro
This fix seems to work. Since adapting the Apparmor profile to the ATI grafics 
card as described above I had no single crash of Firefox nor Gnome neither on 
FF startup nor on opening links from Thunderbird. Everything is working as its 
supposed to be.
All messages in the syslogs are clean. Seems like this case at least on my 
machine is solved.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/938981

Title:
  Xorg freeze when starting Firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/938981/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 938981] Re: Xorg freeze when starting Firefox

2012-10-07 Thread Mihaly Biro
Ok, bad news. Had a severe crash on firefox today. 
Good news: Its the first crash that was reported in the system message log, see 
the excerpt at the end.
First segfault in fglrx_dri.so happens at firefox startoff and has no 
consequences, firefox still firing up and running.
Second crash rebooted GNOME (or maybe Xorg itsself?)

Oct  7 16:18:49 ubuntu kernel: [ 2054.698418] type=1503 
audit(1349619529.700:24):  operation=open pid=3012 parent=3010 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/modules
Oct  7 16:18:49 ubuntu kernel: [ 2054.699412] type=1503 
audit(1349619529.700:25):  operation=open pid=3012 parent=3010 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/ati/major
Oct  7 16:18:49 ubuntu kernel: [ 2054.699436] type=1503 
audit(1349619529.700:26):  operation=open pid=3012 parent=3010 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/ati/major
Oct  7 16:18:49 ubuntu kernel: [ 2054.736432] firefox[3012]: segfault at 
ce0dcd2 ip 0ce0dcd2 sp bfe6a06c error 4 in fglrx_dri.so[18c79000+1976000]
Oct  7 16:19:05 ubuntu kernel: [ 2070.980223] type=1503 
audit(1349619545.980:27):  operation=open pid=3063 parent=1 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/modules
Oct  7 16:19:05 ubuntu kernel: [ 2070.981657] type=1503 
audit(1349619545.984:28):  operation=open pid=3063 parent=1 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/ati/major
Oct  7 16:19:05 ubuntu kernel: [ 2070.981688] type=1503 
audit(1349619545.984:29):  operation=open pid=3063 parent=1 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/ati/major
Oct  7 16:19:06 ubuntu kernel: [ 2071.090196] firefox[3063]: segfault at 
1829acd2 ip 1829acd2 sp bfcb0fdc error 4
Oct  7 16:19:35 ubuntu kernel: [ 2100.446244] type=1503 
audit(1349619575.448:30):  operation=open pid=3072 parent=3070 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/modules
Oct  7 16:19:35 ubuntu kernel: [ 2100.508865] type=1503 
audit(1349619575.512:31):  operation=open pid=3072 parent=1 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/ati/major
Oct  7 16:19:35 ubuntu kernel: [ 2100.508892] type=1503 
audit(1349619575.512:32):  operation=open pid=3072 parent=1 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/ati/major
Oct  7 16:19:35 ubuntu kernel: [ 2100.560625] firefox[3072]: segfault at 
a876cd2 ip 0a876cd2 sp bfa77d9c error 4 in fglrx_dri.so[175cb000+1976000]
Oct  7 16:20:04 ubuntu pulseaudio[3262]: pid.c: Stale PID file, overwriting.
Oct  7 16:20:13 ubuntu kernel: [ 2138.758415] type=1503 
audit(1349619613.759:33):  operation=open pid=3361 parent=3359 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/modules
Oct  7 16:20:13 ubuntu kernel: [ 2138.759387] type=1503 
audit(1349619613.759:34):  operation=open pid=3361 parent=3359 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/ati/major
Oct  7 16:20:13 ubuntu kernel: [ 2138.759409] type=1503 
audit(1349619613.759:35):  operation=open pid=3361 parent=3359 
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::r 
denied_mask=::r fsuid=1000 ouid=0 name=/proc/ati/major
Oct  7 16:20:13 ubuntu kernel: [ 2138.798746] firefox[3361]: segfault at 
1256ccd2 ip 1256ccd2 sp bfbfebfc error 4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/938981

Title:
  Xorg freeze when starting Firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/938981/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 938981] Re: Xorg freeze when starting Firefox

2012-10-07 Thread Mihaly Biro
After adding /proc/modules and /proc/ati/major as readable to the
apparmor profile there are no more segfaults logged in the syslog. Maybe
this time it works?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/938981

Title:
  Xorg freeze when starting Firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/938981/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 938981] Re: Xorg freeze when starting Firefox

2012-10-04 Thread Mihaly Biro
I do have this bug also since some time (ok, some months, maybe over a year). 
Recently I stumble upon Bug#926906 and Bug#712584, both on Firefox accessing 
the grafix card and AppArmor blocking the access. Since all my crashed seemed 
to be preceded by a ratelimit and some audit denies (like the poster above 
stated) I reasoned, if the bugs are connected in some weird way, lets say 
AppArmor block firefox from accessing /dev/ati/card0 and the overflow on 
ratelimit crashes the system ?
At least I now adapted my firefox apparmor profile and gave it access to 
/dev/ati/card0. The audit messages are gone and so is the ratelimit msg. I'll 
watch the situation and post back, if my crashes are gone.

For NVidia the bug was fixed with a new abstraction for apparmor.

Links to the bugs
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/926906
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/712584

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/938981

Title:
  Xorg freeze when starting Firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/938981/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs