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 336555 - freeze after drag&drop appointment in day view
freeze after drag&drop appointment in day view
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.8.x (obsolete)
Other Linux
: Normal blocker
: ---
Assigned To: Srinivasa Ragavan
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-03-30 00:11 UTC by André Klapper
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed patch (834 bytes, patch)
2006-09-29 19:04 UTC, Srinivasa Ragavan
reviewed Details | Review

Description André Klapper 2006-03-30 00:11:00 UTC
tried to move a recurring appointment in the day view of one of my local calendars by using drag and drop.
when i dropped, suddenly the summary of the appointment was displayed one time division above the appointment itself (now the appointment itself did not have a summary) and evolution was frozen.

evo CVS head, compiled about a week ago, though it still states "2.5.92".

(gdb) run
[...]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1099448800 (LWP 22684)]
0x41d40e5e in e_calendar_view_get_tooltips (data=0x8d561a0) at e-calendar-view.c:1991
1991            clone_comp = icalcomponent_new_clone (pevent->comp_data->icalcomp);
(gdb) thread apply all bt

Thread 1 (Thread 1099448800 (LWP 22684))

  • #0 e_calendar_view_get_tooltips
    at e-calendar-view.c line 1991
  • #1 g_timeout_dispatch
    at gmain.c line 3292
  • #2 g_main_dispatch
    at gmain.c line 1916
  • #3 IA__g_main_context_dispatch
    at gmain.c line 2466
  • #4 g_main_context_iterate
    at gmain.c line 2547
  • #5 IA__g_main_loop_run
    at gmain.c line 2751
  • #6 bonobo_main
    at bonobo-main.c line 311
  • #7 main
    at main.c line 610

Comment 1 André Klapper 2006-03-30 00:12:16 UTC
suse9.3/gnome2.10
Comment 2 André Klapper 2006-03-30 00:14:31 UTC
seems like drag&drop isn't possible at all here. :-(

regression.
Comment 3 André Klapper 2006-04-19 22:13:50 UTC
the same just happened again to me:

in week view, i tried to reproduce a never-disappearing calendar tooltip that i had a few minutes ago (i didn't succeed in that, but instead got this crash here).
how to reproduce: hmm, dunno exactly, i had the mouse over an appointment and moved around a bit by using the arrow down / arrow up and page down / page up buttons, and it seems that either my laptop or (more likely) evolution was not fast enough to follow my commands... ;-)

evo 2.6+ from cvs head on suse9.3, jhbuilded, checked out from cvs a week ago. cannot reproduce it currently.

only attaching the thread where this happened:

Backtrace was generated from '/opt/gnome/libexec/evolution-2.6'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1099571680 (LWP 32582)]
[New Thread 1108126640 (LWP 32597)]
[Thread debugging using libthread_db enabled]
[New Thread 1099571680 (LWP 32582)]
[New Thread 1108126640 (LWP 32597)]
[Thread debugging using libthread_db enabled]
[New Thread 1099571680 (LWP 32582)]
[New Thread 1108126640 (LWP 32597)]
0xffffe410 in ?? ()
  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 libgnomeui_segv_handle
    at gnome-ui-init.c line 792
  • #6 segv_redirect
    at main.c line 422
  • #7 <signal handler called>
  • #8 e_calendar_view_get_tooltips
    at e-calendar-view.c line 2102
  • #9 g_timeout_dispatch
    at gmain.c line 3292
  • #10 g_main_dispatch
    at gmain.c line 1916
  • #11 IA__g_main_context_dispatch
    at gmain.c line 2466
  • #12 g_main_context_iterate
    at gmain.c line 2547
  • #13 IA__g_main_loop_run
    at gmain.c line 2751
  • #14 bonobo_main
    at bonobo-main.c line 311
  • #15 main
    at main.c line 610

Comment 4 André Klapper 2006-04-24 15:23:55 UTC
adding srini to cc as this seems to be a e_calendar_view_get_tooltips bug...

(just reproduced this again; btw i have no idea why bug-buddy states that it's "/opt/gnome/libexec/evolution-2.6". this file does not exist, as "ps ax" clearly states here)
Comment 5 Srinivasa Ragavan 2006-04-25 03:42:46 UTC
Nice andre :). Is it all with recurring events? IIRC chen was saying that recurring events have some issues wrt dnd.
Comment 6 André Klapper 2006-04-25 16:54:31 UTC
no, at least the second freeze happened with a normal and non-recurring event.
Comment 7 Srinivasa Ragavan 2006-04-26 03:43:06 UTC
Seems interesting. I dont see it at all. Could be pretty random.
Comment 8 André Klapper 2006-07-17 13:05:43 UTC
i can still reproduce this with evolution 2.7.4 cvs head.

0xffffe410 in __kernel_vsyscall ()
  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 867
  • #3 segv_redirect
    at main.c line 425
  • #4 <signal handler called>
  • #5 icalcomponent_new_clone
    at icalcomponent.c line 187
  • #6 e_calendar_view_get_tooltips
    at e-calendar-view.c line 2136
  • #7 g_timeout_dispatch
    at gmain.c line 3420
  • #8 g_main_dispatch
    at gmain.c line 2043
  • #9 IA__g_main_context_dispatch
    at gmain.c line 2594
  • #10 g_main_context_iterate
    at gmain.c line 2675
  • #11 IA__g_main_loop_run
    at gmain.c line 2879
  • #12 bonobo_main
    at bonobo-main.c line 311
  • #13 main
    at main.c line 614

Comment 9 Srinivasa Ragavan 2006-07-17 15:54:31 UTC
rajeev?
Comment 10 Sebastien Bacher 2006-09-20 10:03:19 UTC
Still happening with GNOME 2.16.0 when modifing an event to the calendar by dnd, mentioned on https://launchpad.net/distros/ubuntu/+source/evolution/+bug/45033 too
Comment 11 Srinivasa Ragavan 2006-09-20 15:07:17 UTC
Ill fix this for 2.8.1
Comment 12 Bruce Cowan 2006-09-20 22:03:22 UTC
My backtrace is slightly different:

(gdb) run
[...]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47296141290368 (LWP 8795)]
0x00002b03ff42b32c in e_calendar_view_get_tooltips (data=0xd34c80)
    at e-calendar-view.c:2134
2134    e-calendar-view.c: No such file or directory.
        in e-calendar-view.c
(gdb) thread apply all bt

Thread 21 (Thread 1124362576 (LWP 8822))

  • #0 __select_nocancel
    from /lib/libc.so.6
  • #1 e_msgport_wait
    from /usr/lib64/libedataserver-1.2.so.7
  • #2 ??
  • #3 PR_GetConnectStatus
    from /usr/lib64/libnspr4.so
  • #4 ??
  • #5 ??

Thread 20 (Thread 1174718800 (LWP 8821))

  • #0 __select_nocancel
    from /lib/libc.so.6
  • #1 e_msgport_wait
    from /usr/lib64/libedataserver-1.2.so.7
  • #2 ??
  • #3 PR_GetConnectStatus
    from /usr/lib64/libnspr4.so
  • #4 ??
  • #5 ??

Thread 18 (Thread 1183111504 (LWP 8819))

  • #0 __select_nocancel
    from /lib/libc.so.6
  • #1 e_msgport_wait
    from /usr/lib64/libedataserver-1.2.so.7
  • #2 ??
  • #3 ??
  • #4 ??

Thread 2 (Thread 1082132816 (LWP 8801))

  • #0 __select_nocancel
    from /lib/libc.so.6
  • #1 e_msgport_wait
    from /usr/lib64/libedataserver-1.2.so.7
  • #2 ??
  • #3 PR_GetConnectStatus
    from /usr/lib64/libnspr4.so
  • #4 ??
  • #5 ??

Thread 1 (Thread 47296141290368 (LWP 8795))

  • #0 e_calendar_view_get_tooltips
    at e-calendar-view.c line 2134
  • #1 g_source_get_current_time
    from /usr/lib64/libglib-2.0.so.0
  • #2 g_main_context_dispatch
    from /usr/lib64/libglib-2.0.so.0
  • #3 g_main_context_check
    from /usr/lib64/libglib-2.0.so.0
  • #4 g_main_loop_run
    from /usr/lib64/libglib-2.0.so.0
  • #5 bonobo_main
    from /usr/lib64/libbonobo-2.so.0
  • #6 ??

Comment 13 Srinivasa Ragavan 2006-09-29 07:30:47 UTC
Harish is doing the build in another 4 hours. I dont think I have a fix for it now. May be Ill fix it sometime over the week end/next week. Just commited a similiar fix for month view sterday. Need to ananlyze in the same way for day/work-week view too.
Comment 14 Srinivasa Ragavan 2006-09-29 19:04:57 UTC
Created attachment 73667 [details] [review]
Proposed patch
Comment 15 Srinivasa Ragavan 2006-09-29 19:06:32 UTC
This patch, is slightly on top of bug 333224 . This disables the tooltip when dragging. So the source of crash is fixed. Because the tooltip comes for an old instance of the dragged event which is destroyed. Now the tip wont even occur.
Comment 16 Harish Krishnaswamy 2006-09-30 13:21:44 UTC
This patch has also been submitted on bug 333224 and reviewed there.
See comment #17 on bug 333224.
Comment 17 Srinivasa Ragavan 2006-09-30 18:22:02 UTC
Harish Ive commened in bug 333224. 
Comment 18 Srinivasa Ragavan 2006-10-16 13:11:40 UTC
Fixed to stable and head.
Comment 19 André Klapper 2006-10-16 13:23:59 UTC
closing as per last comment, thanks for the heads up.