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 316351 - Evolution crashes when performing 'checkrow' action using LDTP
Evolution crashes when performing 'checkrow' action using LDTP
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Do Not Use
2.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Kaushal Kumar
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-09-15 05:38 UTC by jpremkumar
Modified: 2013-09-13 12:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Patch (811 bytes, patch)
2005-09-27 05:05 UTC, Harry Lu
none Details | Review

Description jpremkumar 2005-09-15 05:38:56 UTC
Distribution/Version: SuSe 10

I encountered a Evolution crash when trying to perform 'checkrow' and
'uncheckrow' alternatively (or in a random manner) using LDTP. I have
attached the trace as well as the steps for reproducing the problem. If
you have any queries please let me know so that I can do the needful.

Steps to reproduce the problem:
+ update pyldtp from CVS and compile and install it.
+ start evolution-2.4 and select the inbox folder
+ move to the folder where you have the evolution.map file
+ invoke a python prompt and issue the following commands in succession
        from ldtp import *
        initappmap ('evolution.map')
        checkrow ('evolution', 'ttblMessageList', 0)
        uncheckrow ('evolution', 'ttblMessageList', 0)  
        checkrow ('evolution', 'ttblMessageList', 0)
        uncheckrow ('evolution', 'ttblMessageList', 0)  
+ please note that it is a random crash so the order and number of times
'checkrow' and 'uncheckrow' called might vary

After the above steps evolution crashes. I have attached the trace that
I got in my box. If am not clear anywhere please let me know so that I
will make it clear.
Comment 1 jpremkumar 2005-09-15 05:39:44 UTC


Thread 3 (Thread 1114332080 (LWP 10256))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 pthread_cond_timedwait
    from /lib/tls/libpthread.so.0
  • #5 _wapi_handle_check_share
    from /usr/lib/libmono.so.0
  • #6 _wapi_handle_timedwait_signal_handle
    from /usr/lib/libmono.so.0
  • #7 _wapi_handle_wait_signal_handle
    from /usr/lib/libmono.so.0
  • #8 WaitForSingleObjectEx
    from /usr/lib/libmono.so.0
  • #9 ves_icall_System_GC_WaitForPendingFinalizers
    from /usr/lib/libmono.so.0
  • #10 ves_icall_System_Threading_Thread_Thread_internal
    from /usr/lib/libmono.so.0
  • #11 _wapi_timed_thread_exit
    from /usr/lib/libmono.so.0
  • #12 GC_start_routine
    from /usr/lib/libmono.so.0
  • #13 start_thread
    from /lib/tls/libpthread.so.0
  • #14 clone
    from /lib/tls/libc.so.6

Comment 2 Nagappan Alagappan 2005-09-15 05:41:26 UTC
Different stack trace with the same operation:

  • #0 e_table_header_col_diff
    at e-table-header.c line 823
  • #1 e_table_item_get_cell_geometry
    at e-table-item.c line 3399
  • #2 toggle_cell_action
    at gal-a11y-e-cell-toggle.c line 81
  • #3 idle_do_action
    at gal-a11y-e-cell.c line 425

Comment 3 Nagappan Alagappan 2005-09-15 05:42:45 UTC
For the above trace console messages:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1096974048 (LWP 10364)]
0x400b7d7c in e_table_header_col_diff (eth=0x7aff5555, start_col=0,
end_col=6579564) at e-table-header.c:823
823             g_return_val_if_fail (E_IS_TABLE_HEADER (eth), 0);
(gdb) thread apply all bt
Comment 4 Nagappan Alagappan 2005-09-15 05:44:42 UTC
One more different crash:
Console message:
(evolution:10260): GLib-GObject-WARNING **: invalid cast from `(null)' to
`GalA11yECell'

(evolution:10260): GLib-GObject-WARNING **: invalid uninstantiatable type `gint'
in cast to `AtkObject'

(evolution:10260): GLib-GObject-WARNING **: invalid uninstantiatable type `gint'
in cast to `GalA11yECell'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1096974048 (LWP 10260)]
0x411d2362 in g_type_check_instance_cast () from /opt/gnome/lib/libgobject-2.0.so.0
(gdb) thread apply all bt

Trace:

Thread 1 (Thread 1096974048 (LWP 10260))

  • #0 g_type_check_instance_cast
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #1 is_valid
    at gal-a11y-e-cell.c line 51
  • #2 idle_do_action
    at gal-a11y-e-cell.c line 421
  • #3 g_child_watch_add
    from /opt/gnome/lib/libglib-2.0.so.0

Comment 5 Harry Lu 2005-09-27 05:05:28 UTC
Created attachment 52710 [details] [review]
Patch
Comment 6 Harry Lu 2005-09-28 02:54:00 UTC
Patch committed into both gnome-2-12 and HEAD.
Please close this bug.
Comment 7 Kaushal Kumar 2005-09-30 08:47:53 UTC
Marking resolved. Thanks Harry.