[apport] gtk-ocr crashed with SIGSEGV when converting

Bug #105418 reported by Thomas Bleher
20
Affects Status Importance Assigned to Milestone
gocr (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: gocr-gtk

I clicked on settings, and the path to gocr looked correct, so I didn't change anything but hit "OK". When I tried to convert an image, the error on the command line was "sh: /usr/bin/goc: not found" and in the settings dialog, "/usr/bin/goc" appeared, with a strange rectangle appended to it. I replaced this rectangle with an "r", and hit "convert" again. Then it died with
"*** glibc detected *** gtk-ocr: munmap_chunk(): invalid pointer: 0x080801a0 ***
Segmentation fault (core dumped)"

I tried it again (while filling out this form) and this time I got:
*** glibc detected *** gtk-ocr: free(): invalid next size (fast): 0x0807f7b0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7b657cd]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7b68e30]
/usr/lib/libglib-1.2.so.0(g_free+0x21)[0xb7d862c1]
/usr/lib/libglib-1.2.so.0[0xb7d847d9]
/usr/lib/libglib-1.2.so.0(g_hook_free+0xbc)[0xb7d81d3c]
/usr/lib/libglib-1.2.so.0(g_hook_unref+0x16f)[0xb7d81f2f]
/usr/lib/libglib-1.2.so.0[0xb7d84c5f]
/usr/lib/libglib-1.2.so.0[0xb7d8548d]
/usr/lib/libglib-1.2.so.0(g_main_run+0x3f)[0xb7d8568f]
/usr/lib/libgtk-1.2.so.0(gtk_main+0xba)[0xb7e6c466]
gtk-ocr(main+0x2a)[0x804b5fa]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7b13ebc]
gtk-ocr[0x8049d01]
======= Memory map: ========
08048000-0804c000 r-xp 00000000 03:07 1262051 /usr/bin/gtk-ocr
0804c000-0804d000 rw-p 00003000 03:07 1262051 /usr/bin/gtk-ocr
0804d000-080af000 rw-p 0804d000 00:00 0 [heap]
b7900000-b7921000 rw-p b7900000 00:00 0
b7921000-b7a00000 ---p b7921000 00:00 0
b7a9d000-b7aa8000 r-xp 00000000 03:07 113357 /lib/libgcc_s.so.1
b7aa8000-b7aa9000 rw-p 0000a000 03:07 113357 /lib/libgcc_s.so.1
b7aa9000-b7aad000 r-xp 00000000 03:07 1248190 /usr/lib/libXfixes.so.3.1.0
b7aad000-b7aae000 rw-p 00003000 03:07 1248190 /usr/lib/libXfixes.so.3.1.0
b7aae000-b7ab5000 r-xp 00000000 03:07 1254850 /usr/lib/libXrender.so.1.3.0
b7ab5000-b7ab6000 rw-p 00006000 03:07 1254850 /usr/lib/libXrender.so.1.3.0
b7ab6000-b7abe000 r-xp 00000000 03:07 1247855 /usr/lib/libXcursor.so.1.0.2
b7abe000-b7abf000 rw-p 00007000 03:07 1247855 /usr/lib/libXcursor.so.1.0.2
b7abf000-b7ac8000 r-xp 00000000 03:07 114546 /lib/tls/i686/cmov/libnss_files-2.5.so
b7ac8000-b7aca000 rw-p 00008000 03:07 114546 /lib/tls/i686/cmov/libnss_files-2.5.so
b7aca000-b7ad2000 r-xp 00000000 03:07 114550 /lib/tls/i686/cmov/libnss_nis-2.5.so
b7ad2000-b7ad4000 rw-p 00007000 03:07 114550 /lib/tls/i686/cmov/libnss_nis-2.5.so
b7ad4000-b7ae7000 r-xp 00000000 03:07 113704 /lib/tls/i686/cmov/libnsl-2.5.so
b7ae7000-b7ae9000 rw-p 00012000 03:07 113704 /lib/tls/i686/cmov/libnsl-2.5.so
b7ae9000-b7aeb000 rw-p b7ae9000 00:00 0
b7aeb000-b7af2000 r-xp 00000000 03:07 113706 /lib/tls/i686/cmov/libnss_compat-2.5.so
b7af2000-b7af4000 rw-p 00006000 03:07 113706 /lib/tls/i686/cmov/libnss_compat-2.5.so
b7af4000-b7af5000 rw-p b7af4000 00:00 0
b7af5000-b7af9000 r-xp 00000000 03:07 1249322 /usr/lib/libXdmcp.so.6.0.0
b7af9000-b7afa000 rw-p 00003000 03:07 1249322 /usr/lib/libXdmcp.so.6.0.0
b7afa000-b7afb000 rw-p b7afa000 00:00 0
b7afb000-b7afd000 r-xp 00000000 03:07 1246893 /usr/lib/libXau.so.6.0.0
b7afd000-b7afe000 rw-p 00001000 03:07 1246893 /usr/lib/libXau.so.6.0.0
b7afe000-b7c39000 r-xp 00000000 03:07 113632 /lib/tls/i686/cmov/libc-2.5.so
b7c39000-b7c3a000 r--p 0013b000 03:07 113632 /lib/tls/i686/cmov/libc-2.5.so
b7c3a000-b7c3c000 rw-p 0013c000 03:07 113632 /lib/tls/i686/cmov/libc-2.5.so
b7c3c000-b7c3f000 rw-p b7c3c000 00:00 0
b7c3f000-b7c64000 r-xp 00000000 03:07 113647 /lib/tls/i686/cmov/libm-2.5.so
b7c64000-b7c66000 rw-p 00024000 03:07 113647 /lib/tls/i686/cmov/libm-2.5.so
b7c66000-b7d53000 r-xp 00000000 03:07 1246973 /usr/lib/libX11.so.6.2.0
b7d53000-b7d57000 rw-p 000ed000 03:07 1246973 /usr/lib/libX11.so.6.2.0
b7d57000-b7d64000 r-xp 00000000 03:07 1249355 /usr/lib/libXext.so.6.4.0
b7d64000-b7d65000 rw-p 0000d000 03:07 1249355 /usr/lib/libXext.so.6.4.0
b7d65000-b7d66000 rw-p b7d65000 00:00 0
b7d66000-b7d6d000 r-xp 00000000 03:07 1248469 /usr/lib/libXi.so.6.0.0
b7d6d000-b7d6e000 rw-p 00006000 03:07 1248469 /usr/lib/libXi.so.6.0.0
b7d6e000-b7d70000 r-xp 00000000 03:07 113646 /lib/tls/i686/cmov/libdl-2.5.so
b7d70000-b7d72000 rw-p 00001000 03:07 113646 /lib/tls/i686/cmov/libdl-2.5.so
b7d72000-b7d97000 r-xp 00000000 03:07 1259251 /usr/lib/libglib-1.2.so.0.0.10
b7d97000-b7d98000 rw-p 00025000 03:07 1259251 /usr/lib/libglib-1.2.so.0.0.10
b7d98000-b7d9a000 r-xp 00000000 03:07 1259256 /usr/lib/libgmoduleAborted (core dumped)

ProblemType: Crash
Architecture: i386
Date: Wed Apr 11 11:02:33 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gtk-ocr
Package: gocr-gtk 0.41-1ubuntu1
PackageArchitecture: i386
ProcCmdline: gtk-ocr hier.pcx
ProcCwd: /home/thomas
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/thomas/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=de_DE.UTF-8
 LANGUAGE=de_DE:de:en_GB:en
Signal: 11
SourcePackage: gocr
StacktraceTop:
 ?? () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /usr/lib/libgtk-1.2.so.0
 ?? ()
 ?? () from /usr/lib/libgtk-1.2.so.0
 ?? ()
Uname: Linux thorium2 2.6.20-14-generic #2 SMP Mon Apr 2 20:37:49 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev scanner video

Revision history for this message
Thomas Bleher (tbleher) wrote :
Revision history for this message
Martin Pitt (pitti) wrote : Symbolic stack trace

StacktraceTop:malloc_consolidate () from /lib/tls/i686/cmov/libc.so.6
_int_malloc () from /lib/tls/i686/cmov/libc.so.6
calloc () from /lib/tls/i686/cmov/libc.so.6
?? () from /lib/ld-linux.so.2
?? ()

Revision history for this message
Martin Pitt (pitti) wrote : Symbolic threaded stack trace
Revision history for this message
Gonzhauser (gonzhauser) wrote : Re: [apport] gtk-ocr crashed with SIGSEGV

Crashed while gutsy update today.

Changed in gocr:
importance: Undecided → Medium
Daniel T Chen (crimsun)
Changed in gocr:
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

gtk-gocr is replaced by gocr-tk.

Changed in gocr (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.