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 519536 - crash in activity_info_free at e-activity-handler.c:157
crash in activity_info_free at e-activity-handler.c:157
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Tasks
2.24.x (obsolete)
Other All
: High critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 525349 531695 533877 535363 536861 537232 537343 576365 585113 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-02-29 15:12 UTC by Priit Laes (IRC: plaes)
Modified: 2013-09-13 00:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
fix-error-crasher.patch (1.82 KB, patch)
2008-06-18 21:00 UTC, Priit Laes (IRC: plaes)
rejected Details | Review
Test patch (1.15 KB, patch)
2008-06-19 14:46 UTC, Srinivasa Ragavan
committed Details | Review

Description Priit Laes (IRC: plaes) 2008-02-29 15:12:08 UTC
Version: 2.22.x

What were you doing when the application crashed?
Clicked on the "Failure" icon on the statusbar.


Distribution: Gentoo Base System release 2.0.0_rc6-r1
Gnome Release: 2.21.92 2008-02-27 (Gentoo)
BugBuddy Version: 2.20.1

System: Linux 2.6.25-rc3-00081-g7704a8b #11 SMP PREEMPT Thu Feb 28 09:43:44 EET 2008 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 558579712 vsize: 558579712 resident: 53788672 share: 21704704 rss: 53788672 rss_rlim: 18446744073709551615
CPU usage: start_time: 1204295786 rtime: 3747 utime: 3461 stime: 286 cutime:26 cstime: 45 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/evolution'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f115095f6f0 (LWP 16092)]
[New Thread 0x4275f950 (LWP 16110)]
0x00007f114d0b2fbf in __libc_waitpid (pid=17538, stat_loc=0x7fff5899f130, 
    options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
	in ../sysdeps/unix/sysv/linux/waitpid.c

Thread 1 (Thread 0x7f115095f6f0 (LWP 16092))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 41
  • #1 IA__g_spawn_sync
    at gspawn.c line 374
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 682
  • #3 bugbuddy_segv_handle
    at gnome-breakpad.cc line 213
  • #4 <signal handler called>
  • #5 activity_info_free
    at e-activity-handler.c line 157
  • #6 cancel_wrapper
    at e-activity-handler.c line 397
  • #7 button_press_event_cb
    at e-task-widget.c line 134
  • #8 IA__g_closure_invoke
    at gclosure.c line 490
  • #9 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #10 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #11 IA__g_signal_emit_by_name
    at gsignal.c line 2267
  • #12 IA__g_closure_invoke
    at gclosure.c line 490
  • #13 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #14 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #15 IA__g_signal_emit
    at gsignal.c line 2243
  • #16 gtk_real_button_released
    at gtkbutton.c line 1484
  • #17 IA__g_closure_invoke
    at gclosure.c line 490
  • #18 signal_emit_unlocked_R
    at gsignal.c line 2370
  • #19 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #20 IA__g_signal_emit
    at gsignal.c line 2243
  • #21 gtk_button_button_release
    at gtkbutton.c line 1377
  • #22 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #23 IA__g_closure_invoke
    at gclosure.c line 490
  • #24 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #25 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #26 IA__g_signal_emit
    at gsignal.c line 2243
  • #27 gtk_widget_event_internal
    at gtkwidget.c line 4678
  • #28 IA__gtk_propagate_event
    at gtkmain.c line 2336
  • #29 IA__gtk_main_do_event
    at gtkmain.c line 1556
  • #30 gdk_event_dispatch
    at gdkevents-x11.c line 2351
  • #31 IA__g_main_context_dispatch
    at gmain.c line 2065
  • #32 g_main_context_iterate
    at gmain.c line 2698
  • #33 IA__g_main_loop_run
    at gmain.c line 2906
  • #34 bonobo_main
    at bonobo-main.c line 311
  • #35 main
    at main.c line 719
  • #36 __libc_start_main
    at libc-start.c line 227
  • #37 _start
0x00007f114d0b2fbf	41	in ../sysdeps/unix/sysv/linux/waitpid.c
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors (13637 sec old) ---------------------
Error (51287): Illegal character '>'
Error (51297): Missing 'endstream'
Error (48160): Illegal character '>'
Error (48170): Missing 'endstream'
Error (66665): Illegal character '>'
Error (66675): Missing 'endstream'
Error (65782): Illegal character '>'
Error (65792): Missing 'endstream'
Error (48160): Illegal character '>'
Error (48170): Missing 'endstream'
Error (48160): Illegal character '>'
Error (48170): Missing 'endstream'
Error (57053): Illegal character '>'
Error (57063): 
...Too much output, ignoring rest...
--------------------------------------------------
Comment 1 Tobias Mueller 2008-03-02 16:45:24 UTC
Thanks for that stacktrace :)

Is this issue perfectly reproduceable?
Comment 2 Priit Laes (IRC: plaes) 2008-03-02 19:30:49 UTC
Not perfectly, but it happens quite reliably under laggy network connection (like satellite internet).
Comment 3 Matthew Barnes 2008-03-11 00:34:32 UTC
Bumping version to a stable release.
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2008-05-20 09:30:40 UTC
*** Bug 533877 has been marked as a duplicate of this bug. ***
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2008-05-20 09:30:55 UTC
*** Bug 531695 has been marked as a duplicate of this bug. ***
Comment 6 Johnny Jacob 2008-06-05 19:50:21 UTC
*** Bug 536861 has been marked as a duplicate of this bug. ***
Comment 7 Johnny Jacob 2008-06-05 19:50:47 UTC
*** Bug 525349 has been marked as a duplicate of this bug. ***
Comment 8 Johnny Jacob 2008-06-08 15:05:54 UTC
*** Bug 537232 has been marked as a duplicate of this bug. ***
Comment 9 Johnny Jacob 2008-06-09 10:57:10 UTC
*** Bug 537343 has been marked as a duplicate of this bug. ***
Comment 10 Priit Laes (IRC: plaes) 2008-06-18 18:37:17 UTC
Ok, I am now getting this quite reliably when pressing the error messages icon (stop sign). The stack trace remains the same:

  • #0 activity_info_free
    at e-activity-handler.c line 157
  • #1 cancel_wrapper
    at e-activity-handler.c line 397
  • #2 button_press_event_cb
    at e-task-widget.c line 126
  • #3 IA__g_closure_invoke
    at gclosure.c line 490
  • #4 signal_emit_unlocked_R
    at gsignal.c line 2440

Comment 11 Priit Laes (IRC: plaes) 2008-06-18 21:00:26 UTC
Created attachment 113012 [details] [review]
fix-error-crasher.patch

Ok, I managed to track down the cause, but I cannot figure out what is going on there, so someone who wrote this code first place should take a look  :)
Comment 12 Srinivasa Ragavan 2008-06-19 14:45:33 UTC
I think I got the issue. 
Comment 13 Srinivasa Ragavan 2008-06-19 14:46:54 UTC
Created attachment 113048 [details] [review]
Test patch

Try this patch. It should solve it. I wrote about correctly freeing 'data' But forgot that info needs to be freed which lies inside data. This should fix it.
Comment 14 Andreas Henriksson 2008-06-19 15:05:27 UTC
Unless my eyes are deceiving me, the latest "Test patch" does absolutely nothing.

Pointer info = data->info; and then replaces all uses of data->info with info. Summary: no change what so ever?!


Comment 15 Srinivasa Ragavan 2008-06-19 16:09:15 UTC
Andreas :)

Nope, it does something. The info is valid, but the holder data, dies/freed with the last task widget. but the info is still valid. So I preserve the info and free it later. It must work, if my assumptions are right.
Comment 16 Srinivasa Ragavan 2008-06-30 06:56:22 UTC
Committed to stable/trunk.
Comment 17 Tobias Mueller 2008-06-30 11:07:42 UTC
This got in as r35702 (just for later reference).
Comment 18 Milan Crha 2008-09-23 16:11:55 UTC
*** Bug 535363 has been marked as a duplicate of this bug. ***
Comment 19 André Klapper 2009-03-23 10:21:50 UTC
*** Bug 576365 has been marked as a duplicate of this bug. ***
Comment 20 André Klapper 2009-06-08 11:53:16 UTC
*** Bug 585113 has been marked as a duplicate of this bug. ***
Comment 21 Akhil Laddha 2009-11-16 04:11:47 UTC
bug 601978 looks dupe which has been filed against 2.28.x