Text Encrpytion plugin causes gedit to crash while hitting X button, then can't be disabled

Bug #333558 reported by Fernando Miguel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit
New
Undecided
Unassigned
gedit (Ubuntu)
Confirmed
Medium
Ubuntu Desktop Bugs
glibc (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: gedit

$ apt-cache policy gedit
gedit:
  Installed: 2.25.7-0ubuntu1
  Candidate: 2.25.7-0ubuntu1
  Version table:
 *** 2.25.7-0ubuntu1 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy libc6
libc6:
  Installed: 2.9-0ubuntu12
  Candidate: 2.9-0ubuntu12
  Version table:
 *** 2.9-0ubuntu12 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

 apt-cache policy seahorse-plugins
seahorse-plugins:
  Installed: 2.25.90-0ubuntu1
  Candidate: 2.25.90-0ubuntu1
  Version table:
 *** 2.25.90-0ubuntu1 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy seahorse
seahorse:
  Installed: 2.25.91-0ubuntu1
  Candidate: 2.25.91-0ubuntu1
  Version table:
 *** 2.25.91-0ubuntu1 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

 0x0000000001debff0 *** ======= Backtrace: ========= /lib/libc.so.6[0x7f105c562cb8] /lib/libc.so.6(cfree+0x76)[0x7f105c565276] gedit[0x47479f] /usr/lib/libgobject-2.0.so.0(g_object_unref+0x139)[0x7f105d59c3f9] gedit[0x43c8cf] gedit[0x43c973] /usr/lib/libgobject-2.0.so.0(g_object_unref+0x139)[0x7f105d59c3f9] gedit(main+0x4a0)[0x42b830] /lib/libc.so.6(__libc_start_main+0xe6)[0x7f105c5095a6] gedit[0x42ac29] ======= Memory map: ======== 00400000-004a6000 r-xp 00000000 08:01 294062 /usr/bin/gedit 006a6000-006a8000 r--p 000a6000 08:01 294062 /usr/bin/gedit 006a8000-006ab000 rw-p 000a8000 08:01 294062 /usr/bin/gedit 00ca8000-02991000 rw-p 00ca8000 00:00 0 [heap] 7f1048000000-7f1048021000 rw-p 7f1048000000 00:00 0 7f1048021000-7f104c000000 ---p 7f1048021000 00:00 0 7f104f94e000-7f104f9da000 r--p 00000000 08:01 565417 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf 7f104f9da000-7f104fa3a000 rw-s 00000000 00:09 26476586 /SYSV00000000 (deleted) 7f104fa3a000-7f104fa84000 r--p 00000000 08:01 565420 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf 7f104fa84000-7f104fae4000 rw-s 00000000 00:09 26443816 /SYSV00000000 (deleted) 7f104fae4000-7f104faf3000 r-xp 00000000 08:01 204216 /lib/libbz2.so.1.0.4 7f104faf3000-7f104fcf3000 ---p 0000f000 08:01 204216 /lib/libbz2.so.1.0.4 7f104fcf3000-7f104fcf4000 r--p 0000f000 08:01 204216 /lib/libbz2.so.1.0.4 7f104fcf4000-7f104fcf5000 rw-p 00010000 08:01 204216 /lib/libbz2.so.1.0.4 7f104fcf5000-7f104fd2b000 r-xp 00000000 08:01 295266 /usr/lib/libcroco-0.6.so.3.0.1 7f104fd2b000-7f104ff2a000 ---p 00036000 08:01 295266 /usr/lib/libcroco-0.6.so.3.0.1 7f104ff2a000-7f104ff2e000 rw-p 00035000 08:01 295266 /usr/lib/libcroco-0.6.so.3.0.1 7f104ff2e000-7f104ff67000 r-xp 00000000 08:01 295190 /usr/lib/libgsf-1.so.114.0.11 7f104ff67000-7f1050167000 ---p 00039000 08:01 295190 /usr/lib/libgsf-1.so.114.0.11 7f1050167000-7f105016a000 r--p 00039000 08:01 295190 /usr/lib/libgsf-1.so.114.0.11 7f105016a000-7f105016b000 rw-p 0003c000 08:01 295190 /usr/lib/libgsf-1.so.114.0.11 7f105016b000-7f105016d000 rw-p 7f105016b000 00:00 0 7f105016d000-7f10501a2000 r-xp 00000000 08:01 296542 /usr/lib/librsvg-2.so.2.22.3 7f10501a2000-7f10503a1000 ---p 00035000 08:01 296542 /usr/lib/librsvg-2.so.2.22.3 7f10503a1000-7f10503a2000 r--p 00034000 08:01 296542 /usr/lib/librsvg-2.so.2.22.3 7f10503a2000-7f10503a3000 rw-p 00035000 08:01 296542 /usr/lib/librsvg-2.so.2.22.3 7f10503a3000-7f10503a5000 r-xp 00000000 08:01 327699 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so 7f10503a5000-7f10505a4000 ---p 00002000 08:01 327699 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so 7f10505a4000-7f10505a5000 r--p 00001000 08:01 327699 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so 7f10505a5000-7f10505a6000 rw-p 00002000 08:01 327699 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so 7f10505a6000-7f10505f5000 r--p 00000000 08:01 565419 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf 7f10505f5000-7f10505f6000 ---p 7f10505f5000 00:00 0 7f10505f6000-7f1050df6000 rw-p 7f10505f6000 00:00 0 7f1050df6000-7f1051135000 r-xp 00000000 08:01 298990 /usr/lib/libgucharmap.so.7.0.0 7f1051135000-7f1051335000 ---p 0033f000 08:01 298990 /usr/lib/libgucharmap.so.7.0.0 7f1051335000-7f1051336000 r--p 0033f000 08:01 298990 /usr/lib/libgucharmap.so.7.0.0 7f1051336000-7f1051337000 rw-p 00340000 08:01 298990 /usr/lib/libgucharmap.so.7.0.0 7f1051337000-7f105133b000 r-xp 00000000 08:01 46560 /usr/lib/gedit-2/plugins/libcharmap.so 7f105133b000-7f105153a000 ---p 00004000 08:01 46560 /usr/lib/gedit-2/plugins/libcharmap.so 7f105153a000-7f105153b000 r--p 00003000 08:01 46560 /usr/lib/gedit-2/plugins/libcharmap.so 7f105153b000-7f105153c000 rw-p 00004000 08:01 46560 /usr/lib/gedit-2/plugins/libcharmap.so 7f105153c000-7f105154d000 r-xp 00000000 08:01 296220 /usr/lib/libcryptui.so.0.0.0 7f105154d000-7f105174c000 ---p 00011000 08:01 296220 /usr/lib/libcryptui.so.0.0.0 7f105174c000-7f105174d000 r--p 00010000 08:01 296220 /usr/lib/libcryptui.so.0.0.0 7f105174d000-7f105174e000 rw-p 00011000 08:01 296220 /usr/lib/libcryptui.so.0.0.0 7f105174e000-7f1051754000 r-xp 00000000 08:01 40877 /usr/lib/gedit-2/plugins/libseahorse-pgp.so 7f1051754000-7f1051953000 ---p 00006000 08:01 40877 /usr/lib/gedit-2/plugins/libseahorse-pgp.so 7f1051953000-7f1051954000 r--p 00005000 08:01 40877 /usr/lib/gedit-2/plugins/libseahorse-pgp.so 7f1051954000-7f1051955000 rw-p 00006000 08:01 40877 /usr/lib/gedit-2/plugins/libseahorse-pgp.so 7f1051955000-7f1051963000 r-xp 00000000 08:01 326603 /usr/lib/gio/modules/libgioremote-volume-monitor.so 7f1051963000-7f1051b62000 ---p 0000e000 08:01 326603 /usr/lib/gio/modules/libgioremote-volume-monitor.so 7f1051b62000-7f1051b63000 r--p 0000d000 08:01 326603 /usr/lib/gio/modules/libgioremote-volume-monitor.so 7f1051b63000-7f1051b64000 rw-p 0000e000 08:01 326603 /usr/lib/gio/modules/libgioremote-volume-monitor.so 7f1051b64000-7f1051b68000 r-xp 00000000 08:01 326535 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 7f1051b68000-7f1051d68000 ---p 00004000 08:01 326535 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 7f1051d68000-7f1051d69000 r--p 00004000 08:01 326535 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 7f1051d69000-7f1051d6a000 rw-p 00005000 08:01 326535 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so 7f1051f93000-7f1051fa4000 r-xp 00000000 08:01 204168 /usr/lib/python-support/python-gtksourceview2/python2.5/gtksourceview2.so 7f1051fa4000-7f10521a3000 -Aborted (core dumped)

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: gedit 2.25.7-0ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: gedit
Uname: Linux 2.6.28-8-generic x86_64

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a valgrind log following the instructions at https://wiki.ubuntu.com/Valgrind and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

that's not a glibc issue

Changed in glibc:
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

what do you do to get the crash?

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Download full text (11.4 KiB)

$ gdb --args gedit
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) handle SIGPIPE nostop noprint
Signal Stop Print Pass to program Description
SIGPIPE No No Yes Broken pipe
(gdb) r
Starting program: /usr/bin/gedit
[Thread debugging using libthread_db enabled]
[New Thread 0x7f42224187d0 (LWP 5088)]
[New Thread 0x7f4213489950 (LWP 5120)]
*** glibc detected *** /usr/bin/gedit: double free or corruption (fasttop): 0x00000000035bc130 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f421ebebcb8]
/lib/libc.so.6(cfree+0x76)[0x7f421ebee276]
/usr/bin/gedit[0x47479f]
/usr/lib/libgobject-2.0.so.0(g_object_unref+0x139)[0x7f421fc253f9]
/usr/bin/gedit[0x43c8cf]
/usr/bin/gedit[0x43c973]
/usr/lib/libgobject-2.0.so.0(g_object_unref+0x139)[0x7f421fc253f9]
/usr/bin/gedit(main+0x4a0)[0x42b830]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f421eb925a6]
/usr/bin/gedit[0x42ac29]
======= Memory map: ========
00400000-004a6000 r-xp 00000000 08:01 294062 /usr/bin/gedit
006a6000-006a8000 r--p 000a6000 08:01 294062 /usr/bin/gedit
006a8000-006ab000 rw-p 000a8000 08:01 294062 /usr/bin/gedit
02481000-03a58000 rw-p 02481000 00:00 0 [heap]
7f420c000000-7f420c021000 rw-p 7f420c000000 00:00 0
7f420c021000-7f4210000000 ---p 7f420c021000 00:00 0
7f421206e000-7f42120ce000 rw-s 00000000 00:09 36536355 /SYSV00000000 (deleted)
7f42120ce000-7f4212118000 r--p 00000000 08:01 565420 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
7f4212118000-7f4212178000 rw-s 00000000 00:09 36503561 /SYSV00000000 (deleted)
7f4212178000-7f4212187000 r-xp 00000000 08:01 204216 /lib/libbz2.so.1.0.4
7f4212187000-7f4212387000 ---p 0000f000 08:01 204216 /lib/libbz2.so.1.0.4
7f4212387000-7f4212388000 r--p 0000f000 08:01 204216 /lib/libbz2.so.1.0.4
7f4212388000-7f4212389000 rw-p 00010000 08:01 204216 /lib/libbz2.so.1.0.4
7f4212389000-7f42123bf000 r-xp 00000000 08:01 295266 /usr/lib/libcroco-0.6.so.3.0.1
7f42123bf000-7f42125be000 ---p 00036000 08:01 295266 /usr/lib/libcroco-0.6.so.3.0.1
7f42125be000-7f42125c2000 rw-p 00035000 08:01 295266 /usr/lib/libcroco-0.6.so.3.0.1
7f42125c2000-7f42125fb000 r-xp 00000000 08:01 295190 /usr/lib/libgsf-1.so.114.0.11
7f42125fb000-7f42127fb000 ---p 00039000 08:01 295190 /usr/lib/libgsf-1.so.114.0.11
7f42127fb000-7f42127fe000 r--p 00039000 08:01 295190 /usr/lib/libgsf-1.so.114.0.11
7f42127fe000-7f42127ff000 rw-p 0003c000 08:01 295190 /usr/lib/libgsf-1.so.114.0.11
7f42127ff000-7f4212801000 rw-p 7f4...

Changed in gedit:
status: Incomplete → New
description: updated
Revision history for this message
Brian Curtis (bcurtiswx) wrote :

I can confirm this bug after enabling the text encryption plugin gedit provides. Thus I would like to recommend that all jaunty testers out there do not enable the text encryption plugin until this is fixed, otherwise gedit crashes. I was able to test this without the plugin enabled, and the problem does not appear. WARNING: Once you enable the plugin you can NOT disable it without gedit crashing.

Changed in gedit:
status: New → Confirmed
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

so far this seems related to gedit plugin "Text Encription" (that uses seahorse-plugins)

it doesnt seem possible to disable the plugin, causing a crash

Changed in gedit:
importance: Unknown → Undecided
status: Unknown → New
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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