After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 784480 - Clicking on-canvas GUI with a tablet stylus crashes if "Show rulers" is disabled
Clicking on-canvas GUI with a tablet stylus crashes if "Show rulers" is disabled
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
git master
Other Linux
: Normal blocker
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
: 772005 774715 791447 791621 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-07-03 16:26 UTC by SenlinOS
Modified: 2018-01-16 20:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description SenlinOS 2017-07-03 16:26:24 UTC
GIMP 2.9.5 PPA

All transform tools, using the Enter key, can work properly.
But click on the "Transform" button on the dialog, and GIMP crashes.
Comment 1 Michael Natterer 2017-07-03 20:32:26 UTC
Just tried rotate, unified, they work fine in git master.

Anything special, like transforming a selection, linked layers?
Comment 2 SenlinOS 2017-07-04 02:26:31 UTC
(In reply to Michael Natterer from comment #1)
> Just tried rotate, unified, they work fine in git master.
> 
> Anything special, like transforming a selection, linked layers?

Thank you.

Deleted the "GIMP" folder in '~/.config'.
Using GIMP again, Transform Tools are normal.
(It may conflict with the previous settings)
Comment 3 SenlinOS 2017-07-04 04:05:46 UTC
(In reply to Michael Natterer from comment #1)
> Just tried rotate, unified, they work fine in git master.
> 
> Anything special, like transforming a selection, linked layers?

Found the problem.

Preferences > Appearance: Show rulers
When not checked "Show rulers", Using GIMP again.
All transform tools, click on the "Transform" button on the dialog, and GIMP crashes.

This should be a Bug, reopen this post.
Comment 4 Michael Natterer 2017-07-04 09:26:02 UTC
I can't reproduce that either, not in single- and not in multi-window-mode.

Can you provide a stack trace of the crash pleass?
Comment 5 SenlinOS 2017-07-04 11:39:14 UTC
(In reply to Michael Natterer from comment #4)
> I can't reproduce that either, not in single- and not in multi-window-mode.
> 
> Can you provide a stack trace of the crash pleass?

OK.

When not checked "Show rulers", Using GIMP again.
The mouse click the "transform" button, and work properly.

Wacom-tablet click the "transform" button, and GIMP crashes.
The terminal display is "Segmentation fault".
(I can't find more information!)


I can still use GIMP, just press the Enter key to complete the operation.
Comment 6 Michael Schumacher 2017-07-04 12:15:46 UTC
Updating summary to comment 3 and 5
Comment 7 Michael Natterer 2017-07-28 19:33:18 UTC
Can you attach a stack trace of the crash, from latest git master or
the latest PPA?
Comment 8 SenlinOS 2017-07-29 00:32:46 UTC
(In reply to Michael Natterer from comment #7)
> Can you attach a stack trace of the crash, from latest git master or
> the latest PPA?

I send this Bug to the forum, and I hope everyone in the forum can find more information.
------------------------
1 Edit > Input Devices
wacom-Pen stylus, Mode: Screen

2 Edit > Preferences
Image Windows - Appearance
Uncheck: Show rulers

3 Restart GIMP

4 Use Unified Transform Tool
Wacom-tablet click the "transform" button, and GIMP crashes.
The terminal display is "Segmentation fault".
(I can't find more information!)

All transform tools, using the Enter key, can work properly.
Comment 9 SenlinOS 2017-07-29 10:46:49 UTC
The forum was answered, but not sure if it is helpful!

https://www.gimp-forum.net/Thread-Wacom-tablet-click-the-transform-button-and-GIMP-crashes?pid=2657#pid2657
-----------------------
By: rich2005
Is it an extension part of this this bug?
Bug 785427 - GIMP crashes after applying any GEGL filter
https://git.gnome.org/browse/gimp/commit/?id=bb93e3401f0481dba8be80a387f04e7e8a76db07

Reported several times and fixed (yesterday) Certainly crashed the  Unified Transform Tool.

Pulled old Wacom from back of drawer, Working here with Unified Transform tool using yesterdays 2.9.5 update from the 'buntu ppa: commit bb93e34
-----------------------


Wacom-Pen stylus Mode is not set to 'screen' and does not crash.
(This is equivalent to the mouse mode.The mouse is working properly.)
Comment 10 SenlinOS 2017-08-07 02:16:53 UTC
(In reply to Michael Natterer from comment #7)
> Can you attach a stack trace of the crash, from latest git master or
> the latest PPA?

Stack Traces:

Thread 1 (Thread 0x7ffff7fbed80 (LWP 16048))

  • #0 ??
    from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
  • #1 gdk_device_get_state
    from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
  • #2 gimp_device_info_get_device_coords
  • #3 gimp_device_info_get_event_coords
  • #4 ??
  • #5 gimp_display_shell_canvas_tool_events
  • #6 ??
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #7 g_closure_invoke
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #8 ??
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #9 g_signal_emit_valist
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #10 g_signal_emit
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #11 ??
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #12 gtk_widget_send_focus_change
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #13 ??
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #14 ??
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #15 g_closure_invoke
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #16 ??
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #19 ??
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #22 gtk_widget_grab_focus
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #23 ??
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #24 ??
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #25 g_closure_invoke
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #26 ??
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #30 gtk_propagate_event
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #31 gtk_main_do_event
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
  • #32 ??
    from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
  • #33 g_main_context_dispatch
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #34 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #35 g_main_loop_run
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #36 app_run
  • #37 main

Comment 11 Michael Natterer 2017-08-07 06:10:46 UTC
Thanks.
Comment 12 Michael Natterer 2018-01-14 15:43:41 UTC
*** Bug 774715 has been marked as a duplicate of this bug. ***
Comment 13 Michael Natterer 2018-01-14 15:46:41 UTC
*** Bug 791621 has been marked as a duplicate of this bug. ***
Comment 14 Michael Natterer 2018-01-16 20:41:20 UTC
Let's make this the main bug of this class.
Comment 15 Michael Natterer 2018-01-16 20:45:09 UTC
*** Bug 772005 has been marked as a duplicate of this bug. ***
Comment 16 Michael Natterer 2018-01-16 20:47:01 UTC
*** Bug 791447 has been marked as a duplicate of this bug. ***
Comment 17 Michael Natterer 2018-01-16 20:51:11 UTC
Optimistically closing as FIXED, please test hard:

commit a8bc8d202cdca2bb8832de36362cbeee9f5762e0
Author: Michael Natterer <mitch@gimp.org>
Date:   Tue Jan 16 21:48:48 2018 +0100

    Bug 784480 - Clicking on-canvas GUI with a tablet stylus crashes...
    
    ...if "Show rulers" is disabled
    
    Add HACK to gimp_display_shell_canvas_realize() that makes sure the
    rulers are always mapped once for each new GimpDisplayShell. This
    seems to magically fix all the crashes.

 app/display/gimpdisplayshell-callbacks.c | 11 +++++++++++
 1 file changed, 11 insertions(+)