[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-18 Thread linas
Similar/same problem, except 
1) I do not have ati, I have nvidia
2) do not have apparmor, as far as I know

System hangs, sometimes in middle of night, sometimes in middle of day.
The last message in syslog is:

kernel: [13054.112526] type=1503 audit(1349642278.078:46):
operation=open pid=5234 parent=5145
profile=/usr/lib/firefox/firefox{,*[^s][^h]} requested_mask=::rw
denied_mask=::rw fsuid=1002 ouid=0 name=/dev/nvidiactl

twice; here's another:
kernel: [28822.977516] type=1503 audit(1350612822.928:39):  operation=open 
pid=4869 parent=4831 profile=/usr/lib/firefox/firefox{,*[^s][^h]} 
requested_mask=::rw denied_mask=::rw fsuid=1003 ouid=0 name=/dev/nvidiactl

For the other two crashes, the very last thing in syslog is:   NVRM: Xid
(0001:00): 6, PE0001  which comes 8 seconds after the above.

This all started happening a few weeks ago. Running lucid.

-- 
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


[Bug 938981] Re: Xorg freeze when starting Firefox

2012-09-24 Thread Jaap Versteegh
Have this issue on LMDE with legacy fglrx (8.97.100.3) on HD4950 and
firefox 14.0.1. Occasional hangs, occasional X restarts.

Kern.log:
Sep 24 11:02:46 kraken kernel: [10824.115071] [fglrx] IRQ 45 Disabled
Sep 24 11:02:46 kraken mdm[3589]: WARNING: mdm_slave_xioerror_handler: Fatal X 
error - Restarting :0

-- 
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-09-24 Thread Jaap Versteegh
... running compiz 0.8.4 as well.

-- 
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-03-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: fglrx-installer (Ubuntu)
   Status: New = Confirmed

-- 
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-03-06 Thread mr. dump
Same problem. Started to happen after the (automatic) upgrade to firefox 10, in 
my case on February 14. 
As the OP, crashes sometimes manifest as Xorg restarts, other times system 
freezes completely, showing a black rectangle on top left of the screen. It is 
deterministic: it always the third time I open Firefox (tabs do not count)

firefox is 10.0.2+build1-0ubuntu0.10.04.1
fglrx is 2:8.930-0ubuntu1 (package build from ati installer)
ubuntu is 10.04 (32bits)
 
ATI Radeon HD5450 graphics card 
 
I use 3D design tools like Blender with no problem.

kern.log is full of entries like:

Mar  6 10:12:53 titan kernel: [  176.203479] type=1503
audit(1331039573.125:34):  operation=open pid=3013 parent=3011
profile=/usr/lib/firefox-10.0.2/firefox{,*[^s][^h]}
requested_mask=::rw denied_mask=::rw fsuid=1000 ouid=0
name=/dev/ati/card0

and

Mar  6 11:35:17 titan kernel: [ 5120.649544] type=1503
audit(1331044517.573:210):  operation=open pid=3011 parent=1
profile=/usr/lib/firefox-10.0.2/firefox{,*[^s][^h]}
requested_mask=r:: denied_mask=r:: fsuid=1000 ouid=1000
name=/proc/3011/smaps

-- 
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-02-25 Thread Sam Brightman
Problem does not go away with a different profile. If X restarts instead
of the machine hanging, I see this:

[  417.197517] HDMI hot plug event: Pin=3 Presence_Detect=1 ELD_Valid=0
[  417.197543] HDMI status: Pin=3 Presence_Detect=1 ELD_Valid=1
[  417.610845] HDMI hot plug event: Pin=3 Presence_Detect=1 ELD_Valid=0
[  417.610871] HDMI status: Pin=3 Presence_Detect=0 ELD_Valid=0
[  419.133733] HDMI hot plug event: Pin=3 Presence_Detect=1 ELD_Valid=0
[  419.133759] HDMI status: Pin=3 Presence_Detect=0 ELD_Valid=0
[  419.309745] HDMI hot plug event: Pin=3 Presence_Detect=1 ELD_Valid=0
[  419.309769] HDMI status: Pin=3 Presence_Detect=1 ELD_Valid=1

-- 
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-02-23 Thread bugbot
** Package changed: xorg (Ubuntu) = fglrx-installer (Ubuntu)

-- 
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-02-22 Thread Sam Brightman
-- 
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/xorg/+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-02-22 Thread Sam Brightman
This actually also happens when opening links from other programs (e.g.
click link in Thunderbird). It doesn't seem to happen within Firefox
itself, so possibly to do with the tray animation or redrawing
fullscreen?

I answered that it happens a couple of times per week, but realistically
this happens several times per day - I avoid it by keeping Firefox open
for days at a time.

I have tried the updated fglrx driver. It appears to fail to install
(known bug #873058) but I still end up with:

ii  fglrx-updates 2:8.911-0ubuntu0.1

However, CCC reports 11.8 and the crashes still occur.

Crashes perhaps sometimes manifest as Xorg restarts (as if Ctrl-Alt-
Backspace was pressed) - I get both hard lockups (more common) and X
restarts under similar circumstances.

-- 
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/xorg/+bug/938981/+subscriptions

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