Opened 8 years ago

Closed 21 months ago

#52191 closed defect (worksforme)

gimp2 2.8.18_0 Crashes when using mouse with Ink tool

Reported by: madebyollin@… Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: gimp2

Description

The Ink tool functions normally when using my tablet, but crashes instantly when using the mouse. This crash also occurred in 2.8.16. It does not occur in the mac build from gimp.org (which lacks pressure support entirely). I've attached a demo video, crash report, and my toolrc file. My tablet is a Huion H610Pro.

Attachments (4)

attachment.mp4 (512.1 KB) - added by madebyollin@… 8 years ago.
screen recording of crash. it's entirely reproducible on my system.
gimp-2.8_2016-09-08-222456_Carbon.crash (76.3 KB) - added by madebyollin@… 8 years ago.
crash report
devicerc (28.1 KB) - added by madebyollin@… 8 years ago.
input device configuration file from GIMP's Application Support folder
xquartz_virtual_pointer_mode.mp4 (1.4 MB) - added by madebyollin@… 8 years ago.
a more thorough demonstration of the setting which causes the bug

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by madebyollin@…

Attachment: attachment.mp4 added

screen recording of crash. it's entirely reproducible on my system.

Changed 8 years ago by madebyollin@…

crash report

Changed 8 years ago by madebyollin@…

Attachment: devicerc added

input device configuration file from GIMP's Application Support folder

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: gimp gimp2 tablet mouse removed
Owner: changed from macports-tickets@… to devans@…

In the future, please Cc the port maintainers (port info --maintainers gimp2), if any.

comment:2 Changed 8 years ago by dbevans (David B. Evans)

Status: newassigned

You'll have to bear with me here -- you're obviously a much more advanced user of GIMP than I am. I've watched the video but it isn't clear to me when you are using the tablet and when you are using the mouse. I am assuming, however, that all drawing up to and including Mouse: is using the tablet and at that point you switch to mouse and the crash occurs.

Questions:

  • Does the crash always occur when doing any drawing with your mouse in Ink tool?
  • Or the does the crash only occur when switching from tablet to mouse?
  • Can you use the mouse successfully in Ink tool if the tablet is not configured?
  • Exactly which version of upstream GIMP binary are you using for comparison when you say that it works correctly?
  • Anything else unique about your installation or configuration?
  • Have you reported this issue to the developers upstream?

I see that that you are running 10.11.6 (El Capitan) on your machine. Are you using the +x11 or +quartz build of the port? What does this command return?

port installed gimp2

Changed 8 years ago by madebyollin@…

a more thorough demonstration of the setting which causes the bug

comment:3 in reply to:  2 Changed 8 years ago by madebyollin@…

I did some more thorough testing and was able to identify a (mis?)configuration which causes this crash.

In my input device settings (which correspond to ~/Library/Application Support/GIMP/2.8/devicerc), I initially had "xquartz virtual pointer" mode set to "screen". Not sure why.

Changing the mode of "xquartz virtual pointer" to "disabled" prevents the crash. Changing the mode to "screen" from a default GIMP config enables the crash.

I've attached a video demonstrating this with stock settings (renamed my ~/Library/Application Support/GIMP/ folder): https://trac.macports.org/attachment/ticket/52191/xquartz_virtual_pointer_mode.mp4

Sorry for not doing more thorough testing earlier–the fact that I can avoid the crash by adjusting settings is great news! Hopefully this limits the scope of the issue substantially (and since it's a configuration-specific issue, the priority is much less than I initially thought).


To answer your questions:

I am assuming, however, that all drawing up to and including Mouse: is using the tablet and at that point you switch to mouse and the crash occurs.

Yes. I switch to mouse at 0:11 in the original video. In the new video I've used a table to make this more clear.

Does the crash always occur when doing any drawing with your mouse in Ink tool?

Or the does the crash only occur when switching from tablet to mouse?

Can you use the mouse successfully in Ink tool if the tablet is not configured?

Even if I restart GIMP and use the mouse for everything (never switching) it will still crash.

Adjusting the ink tool settings (e.g. turning all sensitivities to 0 or 1, turning off smoothing) does not prevent the crash.

Correcting my device settings (changing "xquartz virtual pointer" mode to "disabled") fixes the crash.

Exactly which version of upstream GIMP binary are you using for comparison when you say that it works correctly?

All tests were performed on GIMP 2.8.18. The binary is http://download.gimp.org/mirror/pub/gimp/v2.8/osx/gimp-2.8.18-x86_64.dmg.

Anything else unique about your installation or configuration?

I've reset my GIMP config for this video. I'm using a custom GTK theme. I'm not aware of anything else unique that could be relevant.

Have you reported this issue to the developers upstream?

Not yet. The official binaries are all standalone (no XQuartz), so they don't have a "XQuartz Virtual Pointer" input device to configure. The GIMP.org download page says "we have not investigated if it's feasible to build GIMP 2.8 from Macports". But I can get in touch with them if you feel that's a more appropriate place for this bug.

Are you using the +x11 or +quartz build of the port? What does port installed gimp2 return?

The following ports are currently installed:
  gimp2 @2.8.16_2+help_browser+python27
  gimp2 @2.8.16_3+help_browser+python27
  gimp2 @2.8.16_4+help_browser+python27
  gimp2 @2.8.18_0+help_browser+python27 (active)

Thanks for your help!

comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to mascguy

comment:5 Changed 21 months ago by mascguy (Christopher Nielsen)

Resolution: worksforme
Status: assignedclosed

Given how old this ticket is - and the number of updates to GIMP and the rest of the GNOME stack over the past six years - let's close this ticket.

If it's still an issue, please reopen.

Note: See TracTickets for help on using tickets.