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 611391 - Crashes when using Pentagram ThinType tablet (Segmentation fault)
Crashes when using Pentagram ThinType tablet (Segmentation fault)
Status: RESOLVED INCOMPLETE
Product: GIMP
Classification: Other
Component: General
2.6.8
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2010-02-28 12:09 UTC by Szymon Łukaszczyk
Modified: 2012-04-20 04:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gimp --verbose (7.95 KB, application/octet-stream)
2010-02-28 12:09 UTC, Szymon Łukaszczyk
Details

Description Szymon Łukaszczyk 2010-02-28 12:09:49 UTC
Created attachment 154893 [details]
gimp --verbose

Steps to recreate:
1. make new image
2. use pencil to draw something

The time to crash is not always the same. Sometimes it`s immediately sometimes it take sew minutes.

===== More data:

$ gimp -v
GNU Image Manipulation Program version 2.6.8

using GEGL version 0.0.20 (compiled against version 0.0.20)
using GLib version 2.22.4 (compiled against version 2.22.4)
using GTK+ version 2.18.6 (compiled against version 2.18.7)
using Pango version 1.26.2 (compiled against version 1.26.2)
using Fontconfig version 2.8.0 (compiled against version 2.8.0)

 $ gimp --stack-trace-mode=always
Removing duplicate PDB procedure 'plug-in-greycstoration' registered by '/usr/lib/gimp/2.0/plug-ins/greycstoration4gimp'        
gimp: fatal error: Segmentation fault           
  • #0 __libc_waitpid
  • #1 g_on_error_stack_trace
    from /lib/libglib-2.0.so.0
  • #2 gimp_eek
  • #3 gimp_fatal_error
  • #4 gimp_sigfatal_handler
  • #5 <signal handler called>
  • #6 ??
  • #7 ??

Package: gimp
Versions: 
2.6.8-2 (/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_binary-amd64_Packages
                  MD5: 934084a83d07cf575b43708c4ead0e53

$ apt-cache showpkg gimp 
Reverse Depends: 
  gimp-data,gimp 2.4.0~rc2-2
  gimp-data,gimp 2.4.0~rc2-2
  gimp-data,gimp
  libgimp2.0,gimp
  kipi-plugins,gimp
  imagemagick,gimp
  gworkspace-apps-wrappers,gimp
  grokking-the-gimp,gimp
  exult-studio,gimp
  xsane,gimp
  xfig,gimp
  xcftools,gimp
  xcftools,gimp
  gimp-ufraw,gimp 2.2
  stopmotion,gimp
  stereograph,gimp
  sane,gimp
  rabbit,gimp
  photon,gimp
  osgcal,gimp
  openclipart-png,gimp
  open-font-design-toolkit,gimp
  mtink,gimp
  mrwtoppm-gimp,gimp
  mirage,gimp
  gnome-office,gimp 2.6
  libgimp-perl,gimp 2.2.0+rel
  kipi-plugins,gimp
  kdesdk-misc,gimp
  imagemagick,gimp
  gworkspace-apps-wrappers,gimp
  gimp-gutenprint,gimp
  gimp-gutenprint,gimp 2.4.0~rc1-1
  gtkam-gimp,gimp
  gimp-gluas,gimp 2.6
  libgimp2.0,gimp
  gimp-dbg,gimp 2.6.8-2
  gimp-data,gimp 2.4.0~rc2-2
  gimp-data,gimp 2.4.0~rc2-2
  gimp-data,gimp
  gimp-texturize,gimp 2.0
  gimp-resynthesizer,gimp 2.0
  gimp-plugin-registry,gimp 2.6
  gimp-help-sv,gimp
  gimp-help-ru,gimp
  gimp-help-pl,gimp
  gimp-help-no,gimp
  gimp-help-nl,gimp
  gimp-help-ko,gimp
  gimp-help-it,gimp
  gimp-help-fr,gimp
  gimp-help-es,gimp
  gimp-help-en,gimp
  gimp-help-de,gimp
  gimp-gap,gimp 2.6.0
  gimp-dimage-color,gimp 2.0
  gimp-dcraw,gimp 2.0
  gimp-data-extras,gimp
  geeqie,gimp
  geeqie-gps,gimp
  ezgo-imaging,gimp
  junior-art,gimp
  education-graphics,gimp
  education-desktop-other,gimp
  education-desktop-gnome,gimp 2.4
  gimp-cbmplugs,gimp
  brdesktop-gnome,gimp
Dependencies: 
2.6.8-2 - libgimp2.0 (2 2.6.8) libgimp2.0 (1 2.6.8-z) gimp-data (2 2.6.8) gimp-data (1 2.6.8-z) python-gtk2 (2 2.8.0) libaa1 (2 1.4p5) libatk1.0-0 (2 1.20.0) libbabl-0.0-0 (0 (null)) libc6 (2 2.7) libcairo2 (2 1.2.4) libdbus-1-3 (2 1.0.2) libdbus-glib-1-2 (2 0.78) libexif12 (0 (null)) libfontconfig1 (2 2.8.0) libfreetype6 (2 2.2.1) libgegl-0.0-0 (0 (null)) libglib2.0-0 (2 2.16.0) libgtk2.0-0 (2 2.14.0) libhal1 (2 0.5.8.1) libjpeg62 (0 (null)) liblcms1 (2 1.15-1) libmng1 (2 1.0.3-1) libpango1.0-0 (2 1.18.0) libpng12-0 (2 1.2.13-4) libpoppler-glib4 (2 0.12) librsvg2-2 (2 2.26.0) libtiff4 (0 (null)) libwebkit-1.0-2 (2 1.1.1) libwmf0.2-7 (2 0.2.8.4) libx11-6 (2 0) libxext6 (2 0) libxfixes3 (2 1:4.0.1) libxmu6 (0 (null)) libxpm4 (0 (null)) zlib1g (2 1:1.1.4) python (3 2.6) python (2 2.5) python-support (2 0.90.0) gimp-help-en (16 (null)) gimp-help (0 (null)) libgimp-perl (0 (null)) gimp-data-extras (0 (null)) gvfs-backends (0 (null)) libasound2 (0 (null)) ghostscript (0 (null)) gimp-data (3 2.3.17-2) gimp-gnomevfs (3 2.6.0) gimp-help (3 2+0.13-1) gimp-helpbrowser (0 (null)) gimp-libcurl (3 2.6.0) gimp-print (1 5.0.1-3) gimp-python (3 2.6.0) gimp-svg (0 (null)) gimp-wget (3 2.3.12-1) libgimp-perl (1 2.0.dfsg+2.2pre1.dfsg-2) gimp-data (3 2.3.17-2) gimp-gnomevfs (3 2.6.0) gimp-helpbrowser (0 (null)) gimp-libcurl (3 2.6.0) gimp-print (1 5.0.1-3) gimp-python (3 2.6.0) gimp-svg (0 (null)) gimp-wget (3 2.3.12-1) libgimp-perl (1 2.0.dfsg+2.2pre1.dfsg-2) 
Provides: 
2.6.8-2 - gimp-python gimp-helpbrowser 
Reverse Provides: 

$ dmesg
usb 4-1: USB disconnect, address 4
usb 4-1: new full speed USB device using uhci_hcd and address 5
usb 4-1: New USB device found, idVendor=172f, idProduct=0034
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-1: Product: Slim Tablet
usb 4-1: Manufacturer: WALTOP International Corp.
usb 4-1: configuration #1 chosen from 1 choice
input: WALTOP International Corp. Slim Tablet as /class/input/input13
generic-usb 0003:172F:0034.0004: input,hidraw0: USB HID v1.10 Mouse [WALTOP International Corp. Slim Tablet] on usb-0000:00:1a.1-1/input0
gimp[8931]: segfault at 0 ip (null) sp 00007fff1b251ca0 error 4 in gimp-2.6[400000+466000]
Comment 1 Sven Neumann 2010-03-03 12:14:19 UTC
You should report that against GTK+ as the tablet handling code is not in GIMP itself, but in GDK. Please install GTK+ with debugging symbols and attach a stack-trace to this report. Then reassign it to GTK+. Thanks.
Comment 2 Szymon Łukaszczyk 2010-03-03 18:16:39 UTC
I have installed the gtk+ debugging symbols:

# dpkg -l | grep libgtk | grep dbg
ii  libgtk2.0-0-dbg                      2.18.7-1                            The GTK+ libraries and debugging symbols

but the gimp --stack-trace-mode=always is exactly the same as it was.
How to run gimp with gtk+ debugging symbols (the option --gtk-debug is not valid)?
Comment 3 Sven Neumann 2010-03-03 19:23:56 UTC
Please make sure that GIMP is really using the GTK+ library with debugging symbols. It seems that you have another GTK+ installation in your linker search path. You can use ldd to find out what the gimp binary is actually being linked against.
Comment 4 Szymon Łukaszczyk 2010-03-03 19:27:55 UTC
$ ldd /usr/bin/gimp | grep gtk                                                                
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007f844fc93000)


looks like it is not using it, there is a way to make gimp use it?
Comment 5 pf 2011-07-24 15:16:35 UTC
I've the following USB tablet (lsusb output)
Bus 004 Device 003: ID 172f:0034 Waltop International Corp.

gimp crashes reproducible with a SEGFAULT after a few strokes with the pen.

Unfortunately when trying to obtain a backtrace using gdb the process
is stuck in pointer grab (from a gtk callback?) and I'm unable to get to 
the stack backtrace (I had to kill the gdb process using ssh from another
computer).  
I've tried to use Xnest as recommended in 
http://developer.gnome.org/gtk-faq/stable/x461.html
but the SEGFAULT doesn't occur while running in Xnest (may be because 
the pressure sensitive pen of the tablet does not work at all in Xnest?).
Unfortunately I have no serial terminal avialable.
I really would to like to help to track this down.
Any hints how to proceed?
Comment 6 Michael Natterer 2012-01-08 04:51:47 UTC
Please try GIMP 2.7.4 and report back, we won't fix 2.6 bugs any longer.
Comment 7 Akhil Laddha 2012-02-22 13:04:47 UTC
Could you please try to reproduce problem with GIMP 2.7.4 or later version and update the bug report with your findings, tia.
Comment 8 Akhil Laddha 2012-04-20 04:39:32 UTC
Please feel free to reopen this bug if the problem still occurs with a newer
version of GIMP.