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 361138 - Evolution (in indic locales) crashes when double clicking text widget in calendar
Evolution (in indic locales) crashes when double clicking text widget in cale...
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.8.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 353765 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-10 13:21 UTC by makuchaku (Mayank)
Modified: 2007-05-14 03:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed patch (939 bytes, patch)
2006-11-10 04:35 UTC, Matthew Barnes
committed Details | Review

Description makuchaku (Mayank) 2006-10-10 13:21:18 UTC
Steps to reproduce:
Description of problem:
Evolution (in indic locales) crashes when double clicking text widget in calendar.

Crash was observed with hi_IN, pa_IN, te_IN, ta_IN, mr_IN, bn_IN, ml_IN
but NOT in si_LK, gu_IN, as_IN, or_IN, kn_IN, ja_JP

Version-Release number of selected component (if applicable):
evolution-2.8.0-f.fc6

How reproducible:
always

Steps to Reproduce:
1. GTK_IM_MODULE=scim LANG=hi_IN.UTF-8 evolution
2. Switch to calendar, day view
3. Double click on any text widget (aka time slot)
  
Actual results:
Crash

Expected results:
Double click should bring up an appointment editor

Additional info:
Not all locales make evo crash. Is this issue related to translation or locale
specific data? time?

Stack trace:
The GDB backtrace is as follows... actually, this freezes my desktop & i had to
gdb backtrace from an ssh connection.

----------------START----------------
Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 10938)

  • #0 parse_with_strptime
    at e-time-utils.c line 1499
  • #1 e_time_parse_date
    at e-time-utils.c line 1731
  • #2 e_date_edit_parse_date
    at e-dateedit.c line 1470
  • #3 e_date_edit_check_date_changed
    at e-dateedit.c line 1853
  • #4 e_date_edit_get_date
    at e-dateedit.c line 689
  • #5 update_end_time_selector
    at event-page.c line 1591
  • #6 init_widgets
    at event-page.c line 2913
  • #7 event_page_construct
    at event-page.c line 3092
  • #8 event_page_new
    at event-page.c line 3115
  • #9 event_editor_construct
    at event-editor.c line 559
  • #10 event_editor_new
    at event-editor.c line 842
  • #11 open_event_with_flags
    at e-calendar-view.c line 1962
  • #12 e_calendar_view_new_appointment_for
    at e-calendar-view.c line 1901
  • #13 e_day_view_on_main_canvas_button_press
    at e-day-view.c line 3524
  • #14 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #15 IA__g_closure_invoke
    at gclosure.c line 490
  • #16 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #17 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #18 IA__g_signal_emit
    at gsignal.c line 2243
  • #19 gtk_widget_event_internal
    at gtkwidget.c line 3911
  • #20 IA__gtk_propagate_event
    at gtkmain.c line 2188
  • #21 IA__gtk_main_do_event
    at gtkmain.c line 1422
  • #22 gdk_event_dispatch
    at gdkevents-x11.c line 2320
  • #23 g_main_dispatch
    at gmain.c line 2045
  • #24 IA__g_main_context_dispatch
    at gmain.c line 2596
  • #25 g_main_context_iterate
    at gmain.c line 2677
  • #26 IA__g_main_loop_run
    at gmain.c line 2881
  • #27 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #28 main
    at main.c line 615

Thread 1 (Thread -1209002288 (LWP 10938))

  • #0 parse_with_strptime
    at e-time-utils.c line 1499
  • #1 e_time_parse_date
    at e-time-utils.c line 1731
  • #2 e_date_edit_parse_date
    at e-dateedit.c line 1470
  • #3 e_date_edit_check_date_changed
    at e-dateedit.c line 1853
  • #4 e_date_edit_get_date
    at e-dateedit.c line 689
  • #5 update_end_time_selector
    at event-page.c line 1591
  • #6 init_widgets
    at event-page.c line 2913
  • #7 event_page_construct
    at event-page.c line 3092
  • #8 event_page_new
    at event-page.c line 3115
  • #9 event_editor_construct
    at event-editor.c line 559
  • #10 event_editor_new
    at event-editor.c line 842
  • #11 open_event_with_flags
    at e-calendar-view.c line 1962
  • #12 e_calendar_view_new_appointment_for
    at e-calendar-view.c line 1901
  • #13 e_day_view_on_main_canvas_button_press
    at e-day-view.c line 3524
  • #14 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #15 IA__g_closure_invoke
  • #16 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #17 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #18 IA__g_signal_emit
    at gsignal.c line 2243
  • #19 gtk_widget_event_internal
    at gtkwidget.c line 3911
  • #20 IA__gtk_propagate_event
    at gtkmain.c line 2188
  • #21 IA__gtk_main_do_event
    at gtkmain.c line 1422
  • #22 gdk_event_dispatch
    at gdkevents-x11.c line 2320
  • #23 g_main_dispatch
    at gmain.c line 2045
  • #24 IA__g_main_context_dispatch
    at gmain.c line 2596
  • #25 g_main_context_iterate
    at gmain.c line 2677
  • #26 IA__g_main_loop_run
    at gmain.c line 2881
  • #27 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #28 main
    at main.c line 615
----------------END----------------

Other information:
The double click is the culprit here...
If i single click, everything works as expected.
Comment 1 makuchaku (Mayank) 2006-10-10 13:23:32 UTC
Downstream bug - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=210142
Comment 2 Matthew Barnes 2006-11-10 04:35:13 UTC
Created attachment 76314 [details] [review]
Proposed patch
Comment 3 Teppo Turtiainen 2007-02-04 06:26:56 UTC
*** Bug 353765 has been marked as a duplicate of this bug. ***
Comment 4 Srinivasa Ragavan 2007-05-08 06:11:30 UTC
The patch looks fine, I haven't tested it though.