Page MenuHome

Blender crashes when I unplug my genius tablet
Closed, ResolvedPublic


System Information
GNU/Linux Ubuntu 14.04 x86_64 with Linux 3.16.0-30-generic

Blender Version
Broken: 2.77a abf6f08

When the blender is started after the Genius PenSketch 9x12 was connected, and then disconnect the tablet from USB, blender will crash

Exact steps for others to reproduce the error

  1. Connect tablet (Genius PenSketch 9x12 in my case);
  2. Run blender;
  3. Work with tablet in blender;
  4. Disconnect the tablet from USB.


Event Timeline (acvarium) updated the task description. (Show Details) (acvarium) raised the priority of this task from to Needs Triage by Developer.
Campbell Barton (campbellbarton) triaged this task as Needs Information from User priority.Jun 28 2016, 2:45 AM

I'll check to see if I can redo the error with a Wacom tablet.
In the meantime, could you get a back-trace of the error?

Blender will create a crash log, it would be helpful if you could attach this to the report.

Should I open a report that blender recognize the pressure sensitivity of my tablet only if the tablet has been connected before running the blender?

This is not critical, but still an issue.

The sofaBonaparte.crash.txt file points to subsurf code as causing the crash. Can you redo the crash on the default startup scene? (with a simple cube).

Currently we don't support connecting tablets while Blender runs. more a TODO then a bug.

I can not find where blender save crash file. In /tmp only "sofaBonaparte.crash.txt", but realy it can by from other crash.

But I found this in output:

X Error of failed request: XI_BadDevice (invalid Device parameter)

Major opcode of failed request:  131 (XInputExtension)
Minor opcode of failed request:  30 (X_QueryDeviceState)
Device id in failed request: 0x4600002
Serial number of failed request:  4540
Current serial number in output stream:  4540

Is this mean that it is not a blender bug?

Only blender crash in similar situation. I tested krita, mypaint and gimp.

Added docs regarding the crash log

The XI_BadDevice is X11 exiting Blender, we should be able to resolve the error however we need to be able to redo the bug.

Update, can redo the crash. Checking on a fix.