Changing focus after entering a bad date results in a crash

Bug #71486 reported by Sitsofe Wheeler
2
Affects Status Importance Assigned to Milestone
GTK+
Fix Released
Critical
gtk+2.0 (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Description of the problem:
While editing a contact, I entered a bad date and clicked on another field. An error dialog appeared and after dismissing it I was unable to focus any other text field or click on the OK/Cancel buttons.

Steps to reproduce:
1. Start evolution .
2. Press Ctrl-Shift-C to create a new contact.
3. Click on the Personal Information tab.
4. Click on the Birthday field and remove None and replace it with 1/1/2006
5. Click on the Notes: field.

Expected result:
Date to be accepted?

Actual result:
An unnamed error window will appear which says "Invalid Date Value". After clicking OK you will be unable to focus any field in the original contact editor and the OK/Cancel buttons will stop working. If you are really (un)lucky then bug buddy window will appear reporting that evolution has crashed.

Version Information:
(Edgy)
evolution 2.8.1-0ubuntu4

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

How do I get apport instead of bug buddy as my crash analsyer?

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote : gdb log/backtrace
Download full text (9.2 KiB)

(gdb) run
Starting program: /usr/bin/evolution
[Thread debugging using libthread_db enabled]
[New Thread -1232476496 (LWP 20104)]
CalDAV Eplugin starting up ...

(evolution-2.8:20104): evolution-mail-WARNING **: ignored this junk plugin: not enabled or we have already loaded one

(evolution-2.8:20104): e-utils-WARNING **: Plugin 'Bogofilter junk plugin' failed to load hook 'org.gnome.evolution.mail.junk:1.0'

(evolution-2.8:20104): evolution-mail-WARNING **: ignored this junk plugin: not enabled or we have already loaded one

(evolution-2.8:20104): e-utils-WARNING **: Plugin 'Spamassassin junk plugin' failed to load hook 'org.gnome.evolution.mail.junk:1.0'
** (evolution-2.8:20104): DEBUG: mailto URL command: evolution %s
** (evolution-2.8:20104): DEBUG: mailto URL program: evolution
[New Thread -1251742816 (LWP 20112)]
[Thread -1251742816 (LWP 20112) exited]
[New Thread -1251742816 (LWP 20115)]
[New Thread -1260860512 (LWP 20116)]
[New Thread -1269253216 (LWP 20117)]
[New Thread -1277645920 (LWP 20118)]
[New Thread -1286743136 (LWP 20119)]
[New Thread -1308554336 (LWP 20121)]
[New Thread -1319109728 (LWP 20122)]
[New Thread -1327502432 (LWP 20126)]
[New Thread -1317303392 (LWP 20127)]
new dimensions = (48,48)
initial setting of an image. no scaling
scale = 1

(evolution-2.8:20104): e-utils-WARNING **: calling e_icon_factory_get_icon_filename with unknown icon_size value (48)
new dimensions = (48,48)
we need to scale up
scale = 1

(evolution-2.8:20104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

(evolution-2.8:20104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

(evolution-2.8:20104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

(evolution-2.8:20104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

(evolution-2.8:20104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

(evolution-2.8:20104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

(evolution-2.8:20104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

(evolution-2.8:20104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed
[Thread -1286743136 (LWP 20119) exited]
[New Thread -1286743136 (LWP 20133)]
[Thread -1286743136 (LWP 20133) exited]

Gtk-ERROR **: file gtktextview.c: line 5720 (gtk_text_view_start_selection_drag): assertion failed: (text_view->selection_drag_handler == 0)
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread -1232476496 (LWP 20104)]
0xffffe410 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 11 (Thread -1317303392 (LWP 20127)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7213803 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb75dc813 in g_main_context_iterate (context=0x86d7648, block=1, dispatch=1, self=0x85590e8) at gmain.c:2979
#3 0xb75dcb89 in IA__g_main_loop_run (loop=0x85516d8) at gmain.c:2881
#4 0xb7ce97e0 in link_set_io_thread () from /usr/lib/libORBit-2.so.0
#5 0xb75f738f in g_thread_create_proxy (data=0x85590...

Read more...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Bug buddy filing upstreaming here:
http://bugzilla.gnome.org/show_bug.cgi?id=325759

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Oops, wrong upstream link. Here's the right one:
http://bugzilla.gnome.org/show_bug.cgi?id=376779

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

Thank you for your bug and the upstream pointer, the crash happens to GTK, reassigning

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in gtk:
status: Unknown → Unconfirmed
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

This does not seem to be reproducible in Feisty:

Version Information:
Ubuntu Feisty (Herd 5)
libgtk2.0-common 2.10.9-0ubuntu2

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

Thank you for the update, marking fixed. Maybe you can close the upstream bug

Changed in gtk+2.0:
status: Confirmed → Fix Released
Changed in gtk:
status: Unconfirmed → Rejected
Changed in gtk:
status: Unknown → Fix Released
Changed in gtk:
importance: Unknown → Critical
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.