Bug#676575: gedit segfaults when started both via CLI and Nautilus and a tab is dragged outside the window

Anton Eliasson devel at antoneliasson.se
Thu Jun 7 21:43:28 UTC 2012


Package: gedit
Version: 3.4.2-1
Severity: important

To reproduce:
1. Start gedit from the command line (with or without a file as argument).
2. Double-click a text file in Nautilus to open it in a new gedit window
(creating a new thread in the same process I believe).
3. Attempt to drag the tab representing the opened file outside the second
gedit window.
4. The process segfaults and both windows close.

I crashed gedit this way while running it in gdb, producing this log:
http://paste.debian.net/173382/
The procedure was:
1. Change to VT1.
2. $ DISPLAY=:0 gdb gedit
3. (gdb) set logging file /home/anton/gdb.txt
(gdb) set logging overwrite on
(gdb) set logging off
(gdb) set logging on
(gdb) run
4. Change to VT7, crash gedit, change back to VT1.
5. (gdb) backtrace
(gdb) quit
$

It also works the other way around, by first double-clicking a file in Nautilus
and then starting gedit from CLI. In this case, gedit segfaults when a tab in
the second window is dragged outside that window.



-- Package-specific info:
Active plugins:
  - 'modelines'
  -  'smartspaces'
  -  'spell'
  -  'codecomment'
  -  'filebrowser'
  -  'docinfo'
  -  'time'
  -  'changecase'
  -  'commander'

No plugin installed in $HOME.

Module versions:
  - glib                  
  - gtk+                  
  - gtksourceview         
  - pygobject             
  - enchant               
  - iso-codes             3.36


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gedit depends on:
ii  gedit-common               3.4.2-1
ii  gir1.2-atk-1.0             2.4.0-2
ii  gir1.2-freedesktop         1.32.1-1
ii  gir1.2-gdkpixbuf-2.0       2.26.1-1
ii  gir1.2-glib-2.0            1.32.1-1
ii  gir1.2-gtk-3.0             3.4.2-1
ii  gir1.2-gtksource-3.0       3.4.2-1
ii  gir1.2-pango-1.0           1.30.0-1
ii  gir1.2-peas-1.0            1.4.0-2
ii  gsettings-desktop-schemas  3.4.2-1
ii  iso-codes                  3.36-1
ii  libatk1.0-0                2.4.0-2
ii  libc6                      2.13-33
ii  libcairo-gobject2          1.12.2-2
ii  libcairo2                  1.12.2-2
ii  libenchant1c2a             1.6.0-7
ii  libffi5                    3.0.10-3
ii  libgdk-pixbuf2.0-0         2.26.1-1
ii  libgirepository-1.0-1      1.32.1-1
ii  libglib2.0-0               2.32.3-1
ii  libgtk-3-0                 3.4.2-1
ii  libgtksourceview-3.0-0     3.4.2-1
ii  libice6                    2:1.0.8-2
ii  libpango1.0-0              1.30.0-1
ii  libpeas-1.0-0              1.4.0-2
ii  libsm6                     2:1.2.1-2
ii  libx11-6                   2:1.4.99.901-2
ii  libxml2                    2.8.0+dfsg1-3
ii  python                     2.7.3~rc2-1
ii  python-gi                  3.2.2-1
ii  python-gi-cairo            3.2.2-1
ii  python2.7                  2.7.3~rc2-2.1

Versions of packages gedit recommends:
ii  yelp    3.4.2-1
ii  zenity  3.4.0-2

Versions of packages gedit suggests:
ii  gedit-plugins  3.4.0-1

-- no debconf information





More information about the pkg-gnome-maintainers mailing list