GNOME Bugzilla – Bug 524121
Copy in task preview closes evolution
Last modified: 2008-05-13 08:02:02 UTC
Steps to reproduce: 1. Create a new task with some text in the body. 2. Save and close the task editor. 3. View the task in the preview and select some text 4. Copy the text, either using Edit > Copy or Ctrl+c 5. Notice how evolution just closes. Stack trace: Other information: Please excuse my reporting this as a crasher bug. I don't think Evolution really crashes, but simply shuts down. At least, I don't get any indication that it crashes. The effect on the user is identical, though, so I thought it would be appropriate to handle it the same way.
It's a double free crash. Gdb traces of evolution process *** glibc detected *** /home/build/opt/gnome2/bin/evolution: double free or corruption (fasttop): 0x0900e4c8 *** Program received signal SIGINT, Interrupt. [Switching to Thread 0xb64c66c0 (LWP 21439)] 0xffffe410 in __kernel_vsyscall () (gdb) thread apply all bt
+ Trace 193454
Thread 1 (Thread 0xb64c66c0 (LWP 21439))
Valgrind traces ==21975== ==21975== Invalid free() / delete / delete[] ==21975== at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==21975== by 0x586F300: g_free (gmem.c:190) ==21975== by 0x63C1A40: copy_row_cb (e-calendar-table.c:884) ==21975== by 0x4194F29: e_bit_array_foreach (e-bit-array.c:197) ==21975== by 0x408A072: esma_foreach (e-selection-model-array.c:216) ==21975== by 0x408A514: e_selection_model_foreach (e-selection-model.c:266) ==21975== by 0x4135459: e_table_selected_row_foreach (e-table.c:2022) ==21975== by 0x63C188F: e_calendar_table_copy_clipboard (e-calendar-table.c:906) ==21975== by 0x642AFE5: tasks_control_copy_cmd (tasks-control.c:398) ==21975== by 0x49347C4: marshal_VOID__USER_DATA_STRING (bonobo-ui-component.c:221) ==21975== by 0x57FAA31: g_closure_invoke (gclosure.c:490) ==21975== by 0x4D0020F: bonobo_closure_invoke_va_list (bonobo-types.c:404) ==21975== Address 0x67B3FA0 is 0 bytes inside a block of size 44 free'd ==21975== at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==21975== by 0x4525011: icalcomponent_free (icalcomponent.c:270) ==21975== by 0x63C1A38: copy_row_cb (e-calendar-table.c:882) ==21975== by 0x4194F29: e_bit_array_foreach (e-bit-array.c:197) ==21975== by 0x408A072: esma_foreach (e-selection-model-array.c:216) ==21975== by 0x408A514: e_selection_model_foreach (e-selection-model.c:266) ==21975== by 0x4135459: e_table_selected_row_foreach (e-table.c:2022) ==21975== by 0x63C188F: e_calendar_table_copy_clipboard (e-calendar-table.c:906) ==21975== by 0x642AFE5: tasks_control_copy_cmd (tasks-control.c:398) ==21975== by 0x49347C4: marshal_VOID__USER_DATA_STRING (bonobo-ui-component.c:221) ==21975== by 0x57FAA31: g_closure_invoke (gclosure.c:490) ==21975== by 0x4D0020F: bonobo_closure_invoke_va_list (bonobo-types.c:404)
Created attachment 109760 [details] [review] proposed evo patch for evolution; Fixing typo from patch for bug #516408.
Commit it
Committed to trunk. Committed revision 35427. Committed to gnome-2-22. Committed revision 35428.
*** Bug 528721 has been marked as a duplicate of this bug. ***