bugMyPaint - Bugs: bug #14169, [GTK] Crash on X Window System...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #14169: [GTK] Crash on X Window System error when unplugging tablet

Submitted by:  Clement Skau <cskau>
Submitted on:  Sat Aug 22 14:51:34 2009  
Severity: 4 - ImportantPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: Planned Release: None
Operating System: *nix

(Jump to the original submission Jump to the original submission)

Wed Jun 18 19:34:39 2014, comment #8:

Just reading through bugs in preparation for a full triage pass, but I noticed the other day that this is gone under GTK 3.12. I knew there was a reason why I updated the code!

Andrew Chadwick <achadwick>
Project Administrator
Sat Jul 23 05:39:45 2011, comment #7:

For the record: I don't think it is possible to work around this in MyPaint, it needs to be fixed in GTK.

Martin Renold <martinxyz>
Project Administrator
Sat Jul 23 05:30:31 2011, comment #6:

duplicate: bug #18401

Martin Renold <martinxyz>
Project Administrator
Thu May 12 21:06:03 2011, comment #5:

Duplicate: bug #18129

Jon Nordby <jonnor>
Project Administrator
Sun Sep 27 12:10:55 2009, comment #4:

GTK Bugreport:


Martin Renold <martinxyz>
Project Administrator
Sun Aug 23 13:37:46 2009, comment #3:

First step is to trace the crash and see exactly where in the code it happens. The workaround should probably be made in GTK, depending on what it is, or even in XOrg...

Martin Renold <martinxyz>
Project Administrator
Sun Aug 23 13:25:56 2009, comment #2:

oh my.. Gimp crash and burn exactly the same.
But maybe it's possible to do some kind of work-around to avoid a direct crash - maybe somehow catching the bug/scenario before it results in termination ?

Clement Skau <cskau>
Project Member
Sun Aug 23 07:38:22 2009, comment #1:


Do other GTK programs (in particular, GIMP with pressure sensitivity enabled) handle the situation better? (I don't have upgraded my XOrg to a version that supports hotplugging yet.)

Martin Renold <martinxyz>
Project Administrator
Sat Aug 22 14:51:34 2009, original submission:

I was able to replicate this crash in 3 simple step:

1. Start mypaint with tablet plugged in.
2. Unplug tablet.
3. Do mouse input from touchpad (possible just standart mouse input)

At this point mypaint terminates without warning, producing the following terminal output:

The program 'mypaint' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDevice, invalid or uninitialized input device'.
(Details: serial 2318 error_code 148 request_code 141 minor_code 30)
(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.)

A possible quick-fix could be to make this error non-terminating.

Clement Skau <cskau>
Project Member


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by achadwick (Posted a comment)
  • -unavailable- added by martinxyz
  • -unavailable- added by jonnor (Updated the item)
  • -unavailable- added by martinxyz (Posted a comment)
  • -unavailable- added by cskau (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Jun 18 19:34:39 2014achadwickStatusConfirmed=>Fixed
    Sat Jul 23 05:32:01 2011martinxyzCarbon-Copy-=>Added morgajel
    Fri Aug 20 17:30:04 2010jonnorSummaryCrash on X Window System error when unplugging tablet=>[GTK] Crash on X Window System error when unplugging tablet
    Mon Aug 9 23:33:32 2010jonnorSummaryCrash on X Window System error=>Crash on X Window System error when unplugging tablet
    Sun Sep 27 12:10:55 2009martinxyzStatusNone=>Confirmed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup