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 22 Aug 2009 02:51:34 PM UTC  
 
Severity: 4 - ImportantPriority: 5 - Normal
Status: ConfirmedPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: Planned Release: None
Operating System: *nix

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

Sat 23 Jul 2011 05:39:45 AM UTC, 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 23 Jul 2011 05:30:31 AM UTC, comment #6:

duplicate: bug #18401

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

Duplicate: bug #18129

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

GTK Bugreport:

https://bugzilla.gnome.org/show_bug.cgi?id=575767

Martin Renold <martinxyz>
Project Administrator
Sun 23 Aug 2009 01:37:46 PM UTC, 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 23 Aug 2009 01:25:56 PM UTC, 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 23 Aug 2009 07:38:22 AM UTC, comment #1:

Ouch.

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 22 Aug 2009 02:51:34 PM UTC, 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 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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Jul 2011 05:32:01 AM UTCmartinxyzCarbon-Copy-=>Added morgajel
    Fri 20 Aug 2010 05:30:04 PM UTCjonnorSummaryCrash on X Window System error when unplugging tablet=>[GTK] Crash on X Window System error when unplugging tablet
    Mon 09 Aug 2010 11:33:32 PM UTCjonnorSummaryCrash on X Window System error=>Crash on X Window System error when unplugging tablet
    Sun 27 Sep 2009 12:10:55 PM UTCmartinxyzStatusNone=>Confirmed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup