Launchpad has imported 86 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=728044.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-08-04T01:38:34+00:00 Bojan wrote:

Description of problem:
On suspend, kernel hangs. If iwlagn is put in SUSPEND_MODULES, suspend will 
succeed, but other problems are encountered on resume, such as gnome-terminals 
going away (probably because GConf dies in the background).

Version-Release number of selected component (if applicable):
2.6.40.1-0.fc15.x86_64
2.6.40-4.fc15.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Boot into Gnome.
2. Try to suspend.
  
Actual results:
Hangs on suspend after VT switch.

Expected results:
Did not hang with 2.6.38.8-35.fc15.x86_64.

Additional info:
Listing iwlagn in SUSPEND_MODULES helps only marginally, as explained above.

Similar problems reported here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/811214
https://bugzilla.kernel.org/show_bug.cgi?id=40072
http://lists.debian.org/debian-kernel/2011/07/msg00639.html

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/0

------------------------------------------------------------------------
On 2011-08-09T04:46:36+00:00 Bojan wrote:

Kernel kernel-2.6.40.1-1.fc15.x86_64 from koji indeed fixes the suspend
problem.

However, on resume, all gnome-terminals are gone. I still don't know why
that is.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/1

------------------------------------------------------------------------
On 2011-08-10T05:03:36+00:00 Bojan wrote:

Kernel 2.6.40.1-2.fc15.x86_64 is not much better. On resume, nautius
died this time. On second resume/suspend cycle, gnome-panel died and was
automatically restarted (i.e. I can see a different PID for it).

So, something is still very wrong on suspend/resume here.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/2

------------------------------------------------------------------------
On 2011-08-13T05:58:08+00:00 Hans wrote:

Not sure of this is an oversight, or deliberate since this bug is still
being worked on, but judging from the kernel spec changelog , this patch
has not been added to F-16, I guess we want it there too?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/3

------------------------------------------------------------------------
On 2011-08-13T06:28:57+00:00 Bojan wrote:

(In reply to comment #3)
> Not sure of this is an oversight, or deliberate since this bug is still being
> worked on, but judging from the kernel spec changelog , this patch has not 
> been
> added to F-16, I guess we want it there too?

I'm having a feeling upstream is working on a different, more
complicated fix for this. So, maybe that will go into F-16 when upstream
finalises it?

Anyway, as I said before, even with the fix, I'm losing processes on
resume, so things are still not as good as on .38.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/4

------------------------------------------------------------------------
On 2011-08-14T01:31:27+00:00 Bojan wrote:

Just tried 2.6.40.2-0.fc15.x86_64. Still no good. It comes back from
suspend and a whole lot of stuff dies. I'll attach a screenshot of what
popped up, but Evo died, gnome-terminals did too and more.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/5

------------------------------------------------------------------------
On 2011-08-14T01:32:22+00:00 Bojan wrote:

Created attachment 518164
Programs die on resume in Gnome

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/6

------------------------------------------------------------------------
On 2011-08-16T12:46:48+00:00 Fedora wrote:

kernel-2.6.40.3-0.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kernel-2.6.40.3-0.fc15

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/7

------------------------------------------------------------------------
On 2011-08-17T01:17:24+00:00 Fedora wrote:

Package kernel-2.6.40.3-0.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-2.6.40.3-0.fc15'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/kernel-2.6.40.3-0.fc15
then log in and leave karma (feedback).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/8

------------------------------------------------------------------------
On 2011-08-18T02:29:42+00:00 Fedora wrote:

kernel-2.6.40.3-0.fc15 has been pushed to the Fedora 15 stable
repository.  If problems still persist, please make note of it in this
bug report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/9

------------------------------------------------------------------------
On 2011-08-18T02:41:54+00:00 Bojan wrote:

Reopening, changing what the problem actually is.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/10

------------------------------------------------------------------------
On 2011-08-18T02:43:21+00:00 Bojan wrote:

Note that with kernel-2.6.40.3-0.fc15 the problem is less severe, but it
still happens. I have seen gnome-panel and nautilus die on resume thus
far. The widespread process death (as seen in the screenshots) is not
happening any more, but there is no doubt that the problem still
persists.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/11

------------------------------------------------------------------------
On 2011-08-18T18:01:03+00:00 Dave wrote:

please attach a dmesg from after the resume when things have been
killed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/12

------------------------------------------------------------------------
On 2011-08-19T02:58:52+00:00 Bojan wrote:

Created attachment 518969
dmesg on resume when processes die

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/13

------------------------------------------------------------------------
On 2011-08-19T02:59:37+00:00 Bojan wrote:

Note that in this particular case, I had gnome-terminal, nautilus,
gnome-panel and a whole bunch of applets die.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/14

------------------------------------------------------------------------
On 2011-08-24T19:16:55+00:00 Dave wrote:

I don't see anything obvious in that log to explain why things are
dying.

abrtd[968]: Unrecognized variable 'DumpLocation' in
'/etc/abrt/abrt.conf'

You might want to fix that up, to see if that makes abrt start catching
the crashes, perhaps that'll give some clues.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/15

------------------------------------------------------------------------
On 2011-08-24T23:17:19+00:00 Bojan wrote:

(In reply to comment #15)
> I don't see anything obvious in that log to explain why things are dying.
> 
> abrtd[968]: Unrecognized variable 'DumpLocation' in '/etc/abrt/abrt.conf'
> 
> You might want to fix that up, to see if that makes abrt start catching the
> crashes, perhaps that'll give some clues.

Haven't touched this file. Didn't even know I had one there, to be
honest.

BTW, abrt does work for me. I logged plenty of bugs with it. Will look a
bit more.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/16

------------------------------------------------------------------------
On 2011-08-27T08:45:20+00:00 Bojan wrote:

I just tried kernel-2.6.40.3-2.fc15.x86_64 from koji. I know I'm going
to regret saying this, but haven't seen any crashes/restarts except for
pidgin, which appears to be reloaded on resume. Note sure whether
anything from stable queue should make a difference here.

Will keep testing...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/17

------------------------------------------------------------------------
On 2011-08-28T00:32:20+00:00 Bojan wrote:

(In reply to comment #17)
> I know I'm going to regret saying this

Yup. Resumed after the machine has been asleep overnight and many Gnome
apps are gone, including nautilus, gnome-panel etc. Back to square one.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/18

------------------------------------------------------------------------
On 2011-08-29T01:07:52+00:00 Bojan wrote:

>From ~/.xsession-errors:
----------------------------------------
(gnome-terminal:1915): Gdk-WARNING **: The program 'gnome-terminal' received an 
X Window System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 10608 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


(gnome-power-manager:1845): Gdk-WARNING **: The program 'gnome-power-manager' 
received an X Window System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 1540 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


(gnome-panel:1781): Gdk-WARNING **: The program 'gnome-panel' received an X 
Window System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 6140 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


(nautilus:1863): Gdk-WARNING **: The program 'nautilus' received an X Window 
System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 1724 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
----------------------------------------

This _only_ happens with 3.0.x (i.e. 2.6.40.x) kernels. Looks like other
folks are seeing this too, in bug #720792.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/19

------------------------------------------------------------------------
On 2011-08-29T02:06:09+00:00 Bojan wrote:

Maybe we need the latest Intel graphics drivers
(http://intellinuxgraphics.org/2011Q3.html) with kernel 3.0? If there is
a build for F-15 floating around, I wouldn't mind trying it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/20

------------------------------------------------------------------------
On 2011-08-29T17:35:16+00:00 Dave wrote:

I'm going to reassign this to X to see if those guys have any insight.
It may still be a kernel change that causes the problem, but X should be able 
to handle devices coming and going without apps caring.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/21

------------------------------------------------------------------------
On 2011-08-31T01:24:12+00:00 Bojan wrote:

X folks,

Any ideas here? Look from comment #19 onwards.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/22

------------------------------------------------------------------------
On 2011-09-02T00:24:35+00:00 Matěj wrote:

Well, I would guess more data could help.

Please attach

* your X server config file (/etc/X11/xorg.conf, if available), and
* X server log file (/var/log/Xorg.*.log*; check with grep Backtrace 
/var/log/Xorg* which logs might be the most interesting ones, send us at least 
Xorg.0.log)

to the bug report as individual uncompressed file attachments using the
bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this
information.

Thanks in advance.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/23

------------------------------------------------------------------------
On 2011-09-05T00:06:45+00:00 Bojan wrote:

That grep doesn't match anything in any of the files, so I'm just going
to attach Xorg.0.log and Xorg.0.log.old (this is with the .38 kernel),
for comparison. I will also attach the latest .xession-errors file, for
reference.

It took 3 suspend/resume cycles this time to trigger this. Kernel was
kernel-2.6.40.4-5.fc15.x86_64.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/24

------------------------------------------------------------------------
On 2011-09-05T00:07:46+00:00 Bojan wrote:

Created attachment 521414
X session errors

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/25

------------------------------------------------------------------------
On 2011-09-05T00:08:47+00:00 Bojan wrote:

Created attachment 521415
X11 log of the session where programs die on resume (kernel 2.6.40)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/26

------------------------------------------------------------------------
On 2011-09-05T00:09:22+00:00 Bojan wrote:

Created attachment 521416
X11 log of the session where programs do not die on resume (kernel 2.6.38)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/27

------------------------------------------------------------------------
On 2011-09-05T00:12:08+00:00 Bojan wrote:

Oh, and I don't have /etc/X11/xorg.conf file. It's all configured
automatically.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/28

------------------------------------------------------------------------
On 2011-09-05T10:57:58+00:00 Bojan wrote:

(In reply to comment #15)
> abrtd[968]: Unrecognized variable 'DumpLocation' in '/etc/abrt/abrt.conf'
> 
> You might want to fix that up, to see if that makes abrt start catching the
> crashes, perhaps that'll give some clues.

FYI - it's a bug #715456.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/29

------------------------------------------------------------------------
On 2011-09-07T07:58:04+00:00 Bojan wrote:

And now that I have new abrt, the darn thing won't crash on me. Will
keep trying.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/30

------------------------------------------------------------------------
On 2011-09-07T22:26:09+00:00 Bojan wrote:

(In reply to comment #30)
> And now that I have new abrt, the darn thing won't crash on me. Will keep
> trying.

Just happened again. As usual, I got:
-----------------------------
Window manager warning: Log level 8: meta_window_focus: assertion 
`!window->override_redirect' failed

(nm-applet:1866): Gdk-WARNING **: The program 'nm-applet' received an X Window 
System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 53493 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


(nautilus:1932): Gdk-WARNING **: The program 'nautilus' received an X Window 
System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 3083 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

** (notification-daemon:1918): DEBUG: Adding id 3
** (notification-daemon:1918): DEBUG: Bubble destroyed
** (notification-daemon:1918): DEBUG: No queued notifications
-----------------------------

Nothing significant in the Xorg.0.log. Nothing significant in
/var/log/messages. New abrt didn't pick up the crashes at all.

What do I do next?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/31

------------------------------------------------------------------------
On 2011-09-07T23:35:47+00:00 Bojan wrote:

One more piece of info here. I tried stracing the apps that crash and I
even tried debugging them with GDB on other VTs. Found nothing from
strace and they wouldn't crash when being debugged with GDB.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/32

------------------------------------------------------------------------
On 2011-09-09T04:28:13+00:00 Bojan wrote:

Some more FYI, I switched to xorg-x11-drv-intel-2.16.0-2.fc15.x86_64,
which I built locally form the F-16 RPM. Also running xorg-x11-server-
Xorg-1.10.4-1.fc15.x86_64. We'll see how that combo goes.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/33

------------------------------------------------------------------------
On 2011-09-09T13:54:48+00:00 Bojan wrote:

(In reply to comment #33)
> Some more FYI, I switched to xorg-x11-drv-intel-2.16.0-2.fc15.x86_64, which I
> built locally form the F-16 RPM. Also running
> xorg-x11-server-Xorg-1.10.4-1.fc15.x86_64. We'll see how that combo goes.

Didn't help.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/34

------------------------------------------------------------------------
On 2011-09-09T15:54:45+00:00 Sergio wrote:

since I got an arrandale 
[    91.820] (II) intel(0): Integrated Graphics Chipset: Intel(R) Arrandale
[    91.820] (--) intel(0): Chipset: "Arrandale"

I don't had any of this problems , with F15 updated (in kde).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/35

------------------------------------------------------------------------
On 2011-09-09T23:11:01+00:00 Bojan wrote:

(In reply to comment #35)
> since I got an arrandale 
> [    91.820] (II) intel(0): Integrated Graphics Chipset: Intel(R) Arrandale
> [    91.820] (--) intel(0): Chipset: "Arrandale"
> 
> I don't had any of this problems , with F15 updated (in kde).

Then this must be a Gnome specific problem. Just resumed and lost gnome-
terminal this time:

(gnome-terminal:27963): Gdk-WARNING **: The program 'gnome-terminal' received 
an X Window System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 42085 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/36

------------------------------------------------------------------------
On 2011-09-09T23:13:21+00:00 Bojan wrote:

Assigning back to xorg-x11-server. Maybe folks will have some more
pointers for me.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/37

------------------------------------------------------------------------
On 2011-09-09T23:24:37+00:00 Bojan wrote:

It just occurred to me that I run an unusual bit of configuration: Gnome
fallback mode with Mutter as a window manager (which obviously was not a
problem before 2.6.40 kernel).

Could it be that I'm hitting some bugs in Mutter that otherwise never
show (i.e. because it's normally run under gnome-shell)?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/38

------------------------------------------------------------------------
On 2011-09-09T23:31:11+00:00 Bojan wrote:

I'll bet this fixed it:

http://pkgs.fedoraproject.org/gitweb/?p=libXi.git;a=commitdiff;h=e9e6be20f0f57a75c8a70eb52b40a005af1afac9

Rebooting in a few...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/39

------------------------------------------------------------------------
On 2011-09-11T04:50:06+00:00 Bojan wrote:

(In reply to comment #35)

> I don't had any of this problems , with F15 updated (in kde).

Or, maybe you just have different input devices.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/40

------------------------------------------------------------------------
On 2011-09-11T04:58:37+00:00 Bojan wrote:

In the meantime, I had an X crash on resume (got gdm login screen
again). Not sure whether it's related to this in any way. Nothing useful
in the logs, abrt didn't pick anything up either.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/41

------------------------------------------------------------------------
On 2011-09-13T08:02:48+00:00 Bojan wrote:

(In reply to comment #39)
> I'll bet this fixed it:
> 
> http://pkgs.fedoraproject.org/gitweb/?p=libXi.git;a=commitdiff;h=e9e6be20f0f57a75c8a70eb52b40a005af1afac9
> 
> Rebooting in a few...

Nope:
------------------------------
(notification-daemon:1890): Gdk-WARNING **: The program 'notification-daemon' 
received an X Window System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 11024 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


(gnome-panel:1825): Gdk-WARNING **: The program 'gnome-panel' received an X 
Window System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 45770 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


(gnome-screensaver:1892): Gdk-WARNING **: The program 'gnome-screensaver' 
received an X Window System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 11026 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
------------------------------

Back to square one.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/42

------------------------------------------------------------------------
On 2011-09-20T02:41:32+00:00 Bojan wrote:

No progress, so let's see what libXi people think of this.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/43

------------------------------------------------------------------------
On 2011-09-26T00:05:35+00:00 Bojan wrote:

Anyone has any idea on how to debug and eventually fix this?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/44

------------------------------------------------------------------------
On 2011-09-28T22:47:21+00:00 Bojan wrote:

This must be something in one of the libraries. For the first time I had Evo 
die as well:
--------------------------
(evolution:1995): Gdk-WARNING **: The program 'evolution' received an X Window 
System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 236980 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
--------------------------

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/45

------------------------------------------------------------------------
On 2011-09-29T23:29:38+00:00 Bojan wrote:

And again, X crash on resume. Nothing worth reporting in the log. Abrt
didn't catch anything.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/46

------------------------------------------------------------------------
On 2011-10-05T21:40:05+00:00 Bojan wrote:

Ditto with 2.6.40.6-0.fc15.x86_64.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/47

------------------------------------------------------------------------
On 2011-10-06T03:02:00+00:00 Bojan wrote:

Not sure whether this is a fluke, but I cannot replicate this with F-16
Beta Live on the same hardware. Suspended/resumed many times. Hmm...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/48

------------------------------------------------------------------------
On 2011-10-10T21:23:59+00:00 Bojan wrote:

(In reply to comment #46)
> And again, X crash on resume. Nothing worth reporting in the log. Abrt didn't
> catch anything.

Another crash of X on resume, this time with no Gnome sessions opened
(i.e. at GDM login screen).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/49

------------------------------------------------------------------------
On 2011-10-11T23:10:40+00:00 Fedora wrote:

This package has changed ownership in the Fedora Package Database.
Reassigning to the new owner of this component.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/50

------------------------------------------------------------------------
On 2011-10-12T04:48:03+00:00 Peter wrote:

I'm just going to reassign this to gtk for now. XI_BadDevice is the
standard error clients will get when they use an invalid device
parameter for an X Input extension request. Even if there's a bug in the
server or libXi, since devices can disappear at any time, any client
must expect such an error to happen and handle it appropriately.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/51

------------------------------------------------------------------------
On 2011-10-12T15:38:10+00:00 Matthias wrote:

(In reply to comment #45)
> This must be something in one of the libraries. For the first time I had Evo
> die as well:
> --------------------------
> (evolution:1995): Gdk-WARNING **: The program 'evolution' received an X Window
> System error.
> This probably reflects a bug in the program.
> The error was 'XI_BadDevice (invalid Device parameter)'.
>   (Details: serial 236980 error_code 149 request_code 141 minor_code 48)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error() function.)
> --------------------------


Can you do what GTK+ is asking you to do in those messages you posted ?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/52

------------------------------------------------------------------------
On 2011-10-12T22:11:39+00:00 Bojan wrote:

(In reply to comment #52)

> Can you do what GTK+ is asking you to do in those messages you posted
?

I actually tried this (although some programs that are crashing were not
aware of --sync option), but was unable to replicate the problem. I'll
try again.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/53

------------------------------------------------------------------------
On 2011-10-13T07:00:08+00:00 Bojan wrote:

nautilus: doesn't understand --sync
gnome-terminal: doesn't understand --sync
gnome-panel: doesn't understand --sync

These crash most often. Any other ideas?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/54

------------------------------------------------------------------------
On 2011-10-13T17:12:30+00:00 Matthias wrote:

Oh bummer. Looks like that error message is outdated in gdk.

You can set the GDK_SYNCHRONIZE env var to achieve the same, nowadays.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/55

------------------------------------------------------------------------
On 2011-10-16T22:07:59+00:00 Bojan wrote:

Running things like that now. I set break gdk_x_error() in gdb instances
that are tracing several binaries that usually crash. Of course, now
they won't crash - isn't it always like this? :-(

Will keep running my system like this in the hope that they do
eventually crash. Keep you posted.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/56

------------------------------------------------------------------------
On 2011-10-17T09:09:02+00:00 Luca wrote:

I think I'm hitting this bug on my Thinkpad T510 with F15 and gnome. It
happens frequently after resuming from suspend, sometimes the whole Xorg
session crashes while some others just some program gets terminated.

Excerpt from my .xsession-errors:

(gnome-power-manager:12475): Gdk-WARNING **: The program 'gnome-power-manager' 
received an X Window System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 24339 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


(gnome-screensaver:12420): Gdk-WARNING **: The program 'gnome-screensaver' 
received an X Window System error.
This probably reflects a bug in the program.
The error was 'XI_BadDevice (invalid Device parameter)'.
  (Details: serial 25521 error_code 149 request_code 141 minor_code 48)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

gnome-session[12202]: WARNING: Detected that screensaver has left the
bus

(gnome-settings-daemon:12366): media-keys-plugin-WARNING **: Unable to get 
default sink
** (deja-dup-monitor:12421): DEBUG: monitor.vala:263: Invalid next run date.  
Not scheduling a backup.
Error getting primary device: GDBus.Error:org.gnome.PowerManager.Failed: There 
is no primary device to reflect system state (don't show any UI)
gnome-session[12202]: WARNING: Detected that screensaver has left the bus
gnome-session[12202]: WARNING: Detected that screensaver has left the bus
gnome-session[12202]: WARNING: Detected that screensaver has left the bus

Please let me know if there is anything I can do to help identifying the
root cause of the issue.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/57

------------------------------------------------------------------------
On 2011-10-18T21:53:40+00:00 Bojan wrote:

I was tracing notification area applet in gdb with that environment
variable set to 1, but got nothing - the program did not break on
gdk_x_error() function at all - just existed. No stack.

No idea what to do next.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/58

------------------------------------------------------------------------
On 2011-10-18T21:54:10+00:00 Bojan wrote:

I meant to say, just exited, not just existed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/59

------------------------------------------------------------------------
On 2011-10-26T11:17:22+00:00 Dag wrote:

Hans de Goede forwarded me to this problem, I am not sure if this is
related.

On RHEL 6.2 Beta I have had a few incidents that after a resume I
immediately get a complaint of Gnome that was XKB related. The window
reappears immediately after close for about 15 times.

Meanwhile, any Gnome application complains about unable to write (eg.
LibreOffice etc...). While inside a terminal window there are no I/O
related issues, all file systems are mounted r/w and I can still perform
writes to disk. So it's as if the gnome-vfs back-end died or something ?

If there's anything I can do to increase verbosity in order to analyse
this better next time, let me know. If this deserves another bug report,
I'll do that as well.

PS Looking at .xsession-errors.old I find (among others) the below, but
I am not entirely sure that this was a direct result from the problem
(ie. it might have been due to a shutdown). The fact that this file has
no timestamps makes it hard to relate it with incidents after the fact:

----

 (polkit-gnome-authentication-agent-1:2627): polkit-gnome-1-WARNING **: Error 
enumerating temporary authorizations: Remote Exception invoking  
org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on 
/org/freedesktop/PolicyKit1/Authority at name org.freedesktop.Po licyKit1: 
org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is 
in
 gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on 
X server :0.0.
 gpk-update-icon: Fatal IO error 11 (Resource temporarily unavailable) on X 
server :0.0.
 gnome-volume-control-applet: Fatal IO error 11 (Resource temporarily 
unavailable) on X server :0.0.
 gdu-notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) 
on X server :0.0.
 local:  fatal IO error 11 (Resource temporarily unavailable) or KillClient on 
X server ":0.0"
 polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily 
unavailable) on X server :0.0.
 bluetooth-applet: Fatal IO error 11 (Resource temporarily unavailable) on X 
server :0.0.
 seapplet: Fatal IO error 11 (Resource temporarily unavailable) on X server 
:0.0.
 applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server 
:0.0.
 abrt-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server 
:0.0.
 gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X 
server :0.0.
 nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server 
:0.0.
 Stopping Bluetooth ObexFTP server failed: Did not receive a reply. Possible 
causes include: the remote application did not send a reply, the  message bus 
security policy blocked the reply, the reply timeout expired, or the network 
connection was broken.
----

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/60

------------------------------------------------------------------------
On 2011-10-26T11:31:37+00:00 Hans wrote:

While trying to find this bug for Dag, I did a google search and I also
found this archlinux bug, which almost certainly is the same issue, and
which *may* contain relevant info:

https://bugs.archlinux.org/task/24096

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/61

------------------------------------------------------------------------
On 2011-10-27T04:40:35+00:00 Bojan wrote:

(In reply to comment #61)
> While trying to find this bug for Dag, I did a google search and I also found
> this archlinux bug, which almost certainly is the same issue, and which *may*
> contain relevant info:
> 
> https://bugs.archlinux.org/task/24096

Yeah, that looks like the same thing.

Dag's RHEL 6.2 problem, don't think so.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/62

------------------------------------------------------------------------
On 2011-11-02T04:29:55+00:00 Bojan wrote:

I upgraded my laptop to F-16 now. Didn't have this problem on resume
yet, but it might be just a fluke.

PS. I am running metacity again, because of bug #750476. As we've seen
from other people's reports here, it shouldn't matter, but just for the
record.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/67

------------------------------------------------------------------------
On 2011-11-03T14:09:42+00:00 Ernesto wrote:

Hi.

I had a similar issue:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/882956

(see https://bugs.launchpad.net/ubuntu/+source/gnome-
session/+bug/882956/comments/4)

I could resolve it by unloading kernel modules before suspend. That
removes X input devices. After wakeup, I just load modules again.

Regards.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/70

------------------------------------------------------------------------
On 2011-11-05T00:01:53+00:00 Bojan wrote:

(In reply to comment #64)
> Hi.
> 
> I had a similar issue:
> https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/882956
> 
> (see
> https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/882956/comments/4)
> 
> I could resolve it by unloading kernel modules before suspend. That removes X
> input devices. After wakeup, I just load modules again.

Thanks for the tips. These sound like workarounds more than solutions to
me, to be honest.

Anyhow, I'm now on Fedora 16 and I haven't had this happen once. So,
maybe there is hope. :-)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/72

------------------------------------------------------------------------
On 2011-11-09T20:47:48+00:00 Bojan wrote:

(In reply to comment #65)
 
> Anyhow, I'm now on Fedora 16 and I haven't had this happen once. So, maybe
> there is hope. :-)

Still haven't seen this in F-16. I know I'm going to regret saying this,
but it looks like it's been fixed there.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/75

------------------------------------------------------------------------
On 2011-11-10T20:38:50+00:00 Bojan wrote:

(In reply to comment #66)
> I know I'm going to regret saying this, but it
> looks like it's been fixed there.

I knew I'd eat my words here. Yeah, it happened - essentially everything
went down and I got logged off. I'll attach .xsession-errors form F-16.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/76

------------------------------------------------------------------------
On 2011-11-10T20:39:42+00:00 Bojan wrote:

Created attachment 532925
X session errors from F-16 (got completely logged out)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/77

------------------------------------------------------------------------
On 2011-11-11T03:39:49+00:00 Matthias wrote:

Unfortunately, all those xsession-errors, and X logs are of no use here.
I really need a stack trace from a crashing client, to show which X
request is triggering the BadDevice.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/78

------------------------------------------------------------------------
On 2011-11-11T03:48:27+00:00 Bojan wrote:

(In reply to comment #69)
> Unfortunately, all those xsession-errors, and X logs are of no use here. I
> really need a stack trace from a crashing client, to show which X request is
> triggering the BadDevice.

As you can see from comment #58 and above, I tried. Got absolutely
nothing in gdb. No idea what to do next.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/79

------------------------------------------------------------------------
On 2011-11-23T23:01:48+00:00 Bojan wrote:

Just FYI, new Intel X graphics drivers didn't make a difference here.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/83

------------------------------------------------------------------------
On 2011-11-23T23:18:32+00:00 Ernesto wrote:

No, it's a input device. Does the computer has a fingerprint reader?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/84

------------------------------------------------------------------------
On 2011-11-23T23:37:23+00:00 Bojan wrote:

(In reply to comment #72)
> No, it's a input device. Does the computer has a fingerprint reader?

It does.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/85

------------------------------------------------------------------------
On 2011-11-27T23:29:35+00:00 Bojan wrote:

Created attachment 537274
Kernel divide error when trying to replicate this problem in F-16

This happened probably after about 50 suspend/resume cycles. The box
hung. 3.1.2-1.fc16.x86_64. Just FYI.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/89

------------------------------------------------------------------------
On 2011-11-29T05:07:32+00:00 Samuel wrote:

I get this regularly with F16.  It may be be aggravated by the fact that
I'm suspending it while docked and resuming without.  The laptop has a
fingerprint reader, but it isn't supported, so that's most likely not
relevant.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/91

------------------------------------------------------------------------
On 2011-11-29T06:33:56+00:00 Bojan wrote:

(In reply to comment #74)
> Created attachment 537274 [details]
> Kernel divide error when trying to replicate this problem in F-16
> 
> This happened probably after about 50 suspend/resume cycles. The box hung.
> 3.1.2-1.fc16.x86_64. Just FYI.

And again. Looks like newer kernel are even more rotten on this
hardware.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/92

------------------------------------------------------------------------
On 2011-11-29T15:08:17+00:00 Matthias wrote:

The only thing that will help fix this bug is an actual stacktrace...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/93

------------------------------------------------------------------------
On 2011-11-29T17:38:48+00:00 Samuel wrote:

I have no idea what to get a stacktrace on.  The last time this happened
there was no indication in any of the logs to suggest what happened.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/94

------------------------------------------------------------------------
On 2011-11-29T21:28:59+00:00 Bojan wrote:

(In reply to comment #77)
> The only thing that will help fix this bug is an actual stacktrace...

Been running nautilus, gnome-terminal and gnome-panel like this for a
while, under the gdb, with GDK_SYNCHRONIZE=1. It either doesn't happen
(did suspend/resume in the vicinity of 300 times like that) or when it
does, there is no usable trace.

Will keep trying...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/95

------------------------------------------------------------------------
On 2011-11-29T21:49:23+00:00 Bojan wrote:

(In reply to comment #79)

> Will keep trying...

For instance, I just switched user a few times, which crashed my X
session. Got no usable traces from that.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/96

------------------------------------------------------------------------
On 2011-11-30T04:55:34+00:00 Samuel wrote:

Upstream bug for the chipset I have:
https://bugs.freedesktop.org/show_bug.cgi?id=40625

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/97

------------------------------------------------------------------------
On 2011-11-30T05:41:54+00:00 Fedora wrote:

gtk3-3.2.2-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/gtk3-3.2.2-2.fc16

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/98

------------------------------------------------------------------------
On 2011-12-02T21:27:57+00:00 Fedora wrote:

Package gtk3-3.2.2-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gtk3-3.2.2-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16634/gtk3-3.2.2-2.fc16
then log in and leave karma (feedback).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/101

------------------------------------------------------------------------
On 2011-12-03T08:07:51+00:00 Bojan wrote:

Thank you for pushing this update. Of course, it will take a while to
verify that the problem is fixed. Will keep you posted.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/102

------------------------------------------------------------------------
On 2011-12-10T19:38:31+00:00 Fedora wrote:

gtk3-3.2.2-2.fc16 has been pushed to the Fedora 16 stable repository.
If problems still persist, please make note of it in this bug report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/882956/comments/103


** Changed in: gnome-session (Fedora)
       Status: Unknown => Fix Released

** Changed in: gnome-session (Fedora)
   Importance: Unknown => High

** Bug watch added: Linux Kernel Bug Tracker #40072
   https://bugzilla.kernel.org/show_bug.cgi?id=40072

** Bug watch added: freedesktop.org Bugzilla #40625
   https://bugs.freedesktop.org/show_bug.cgi?id=40625

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

Title:
  GTK errors out with XI_BadDevice error

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-session/+bug/882956/+subscriptions

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

Reply via email to