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 695679 - Scrolling in text fields in GTK 3.7.12-1 apps causes them to crash
Scrolling in text fields in GTK 3.7.12-1 apps causes them to crash
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkScrolledWindow
3.7.x
Other Linux
: Normal blocker
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-03-12 04:29 UTC by Princeton Ferro
Modified: 2013-03-13 02:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log of gedit (1.24 KB, text/x-log)
2013-03-12 04:29 UTC, Princeton Ferro
Details

Description Princeton Ferro 2013-03-12 04:29:01 UTC
Created attachment 238665 [details]
debug log of gedit

Simply scrolling in any GTK 3 app causes the entire program to crash. This behavior is most common in text fields. For example, files that have a scroll view in Gedit, Anjuta, as well as anything in GNOME Dictionary or GNOME PackageKit. Basically, any scroll window with text in it crashes the whole program as soon as the user scrolls the content.

From debugging (/usr/bin/gdb) Gedit, this is what I've found:

============================================
(gdb) run
Starting program: /usr/bin/gedit 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff1a98700 (LWP 3313)]
[New Thread 0x7fffebfff700 (LWP 3314)]
[New Thread 0x7fffe94dd700 (LWP 3315)]
[New Thread 0x7fffe8cdc700 (LWP 3316)]

(gedit:3312): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -11 and height 0

Program received signal SIGSEGV, Segmentation fault.
0x0000003c440be7d9 in _gtk_bubble_window_popdown () from /lib64/libgtk-3.so.0
(gdb) quit
============================================

Segmentation fault occurs as soon as I begin scrolling content. A more verbose output of this is attached.
Comment 1 Matthias Clasen 2013-03-13 02:54:17 UTC
This has been fixed in

https://git.gnome.org/browse/gtk+/commit/?id=ca2368dba958d6fecf2fce417307bb9cbbe6eb6b