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 312348 - Evolution crashes when EDS terminats due to memory corruption
Evolution crashes when EDS terminats due to memory corruption
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.8.x (obsolete)
Other Linux
: Urgent critical
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
evolution[groupwise]
: 353473 354941 355075 355172 356413 356683 356894 357243 357293 357887 358242 358571 358699 358927 358983 359150 359630 365094 365832 369054 369633 370200 371429 371442 371583 372376 373082 373462 375576 378293 381372 382912 385053 385067 385108 385203 390596 392380 414854 421929 429108 430755 431226 432946 435233 440718 442811 444388 446411 457604 464646 (view as bug list)
Depends on:
Blocks: 318200
 
 
Reported: 2005-08-02 12:53 UTC by Poornima
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
GDB trace #1 (from dwm@doc.ic.ac.uk) (7.12 KB, text/plain)
2006-09-10 15:26 UTC, David McBride
Details
Valgrind memcheck log #1 (75.31 KB, text/plain)
2006-10-03 21:23 UTC, David McBride
Details
GDB trace #2 (from dwm@doc.ic.ac.uk) (11.05 KB, text/plain)
2006-10-03 21:50 UTC, David McBride
Details

Description Poornima 2005-08-02 12:53:03 UTC
Evolution stack traces

Backtrace was generated from '/opt/gnome/bin/evolution'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1097776768 (LWP 25492)]
[New Thread 1132825520 (LWP 25540)]
[Thread debugging using libthread_db enabled]
[New Thread 1097776768 (LWP 25492)]
[New Thread 1132825520 (LWP 25540)]
[Thread debugging using libthread_db enabled]
[New Thread 1097776768 (LWP 25492)]
[New Thread 1132825520 (LWP 25540)]
[New Thread 1124420528 (LWP 25522)]
[New Thread 1121995696 (LWP 25518)]
[New Thread 1119894448 (LWP 25517)]
[New Thread 1117793200 (LWP 25516)]
[New Thread 1115691952 (LWP 25510)]
[New Thread 1113590704 (LWP 25509)]
[New Thread 1109625776 (LWP 25495)]
[New Thread 1107524528 (LWP 25494)]
0xffffe410 in ?? ()

Thread 1 (Thread 1097776768 (LWP 25492))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 gnome_init_with_popt_table
    from /opt/gnome/lib/libgnomeui-2.so.0
  • #6 <signal handler called>
  • #7 g_logv
    from /opt/gnome/lib/libglib-2.0.so.0
  • #8 g_log
    from /opt/gnome/lib/libglib-2.0.so.0
  • #9 ??
    from /opt/gnome/lib/libgthread-2.0.so.0
  • #10 ??
    from /opt/gnome/lib/libgthread-2.0.so.0
  • #11 ??
  • #12 ??
    from /opt/gnome/lib/libgthread-2.0.so.0
  • #13 ??
    from /opt/gnome/lib/libgthread-2.0.so.0
  • #14 ??
  • #15 ??
    from /opt/gnome/lib/libgthread-2.0.so.0
  • #16 __libc_ptyname1
    from /lib/tls/libc.so.6
  • #17 ??
    from /opt/gnome/lib/libgthread-2.0.so.0
  • #18 ??
    from /opt/gnome/lib/libecal-1.2.so.3
  • #19 ??
  • #20 ??
  • #21 e_cal_finalize
    at e-cal.c line 1208
  • #22 e_cal_finalize
    at e-cal.c line 1208
  • #23 g_object_unref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #24 g_object_run_dispose
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #25 g_value_unset
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #26 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #27 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #28 backend_died_cb
    at e-cal.c line 399
  • #29 g_cclosure_marshal_VOID__VOID
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #30 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #31 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #32 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #33 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #34 connection_listen_cb
    at e-component-listener.c line 51
  • #35 link_connection_get_type
    from /opt/gnome/lib/libORBit-2.so.0
  • #36 link_connection_get_type
    from /opt/gnome/lib/libORBit-2.so.0
  • #37 link_connection_try_reconnect
    from /opt/gnome/lib/libORBit-2.so.0
  • #38 giop_connection_try_reconnect
    from /opt/gnome/lib/libORBit-2.so.0
  • #39 ORBit_object_peek_connection
    from /opt/gnome/lib/libORBit-2.so.0
  • #40 ORBit_object_get_connection
    from /opt/gnome/lib/libORBit-2.so.0
  • #41 ORBit_small_invoke_stub
    from /opt/gnome/lib/libORBit-2.so.0
  • #42 ORBit_small_invoke_stub_n
    from /opt/gnome/lib/libORBit-2.so.0
  • #43 ORBit_c_stub_invoke
    from /opt/gnome/lib/libORBit-2.so.0
  • #44 GNOME_Evolution_Calendar_CalView_start
    at Evolution-DataServer-Calendar-stubs.c line 10
  • #45 e_cal_view_start
    at e-cal-view.c line 389
  • #46 update_e_cal_view_for_client
    at e-cal-model.c line 1524
  • #47 add_new_client
    at e-cal-model.c line 1595
  • #48 e_cal_model_add_client
    at e-cal-model.c line 1618
  • #49 client_cal_opened_cb
    at gnome-cal.c line 2374
  • #50 g_cclosure_marshal_VOID
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #51 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #52 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #53 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #54 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #55 async_signal_idle_cb
    at e-cal.c line 1768
  • #56 g_list_push_allocator
    from /opt/gnome/lib/libglib-2.0.so.0
  • #57 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #58 g_main_context_acquire
    from /opt/gnome/lib/libglib-2.0.so.0
  • #59 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #60 bonobo_main
    from /opt/gnome/lib/libbonobo-2.so.0
  • #61 main
    at main.c line 602
  • #0 ??


EDS traces at terminal

POST /soap HTTP/1.1
SOAP-Debug: 0x81085c0 @ 1122987004
Host: 164.99.169.177
Connection: Keep-Alive
User-Agent: Evolution/1.3.6
Content-Type: text/xml
SOAPAction: createCursorRequest

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><SOAP-ENV:Header
SOAP-ENV:encodingStyle=""><session>gzHsMcL09kCUhbYi</session></SOAP-ENV:Header><SOAP-ENV:Body
xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd"
SOAP-ENV:encodingStyle=""><createCursorRequest><container>A.dell.net.100.0.1.0.1@19</container><view>id
iCalId
recurrenceKey</view></createCursorRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>

*** glibc detected *** double free or corruption (fasttop): 0x424209e8 ***
Aborted
Comment 1 Poornima 2005-08-02 12:54:05 UTC
Evolution groupwise debug traces

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header
SOAP-ENV:encodingStyle=""/><SOAP-ENV:Body SOAP-ENV:encodingStyle=""
xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd"><markReadResponse><status><code>0</code></status></markReadResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2431: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:2943: Unable to contact backend

(evolution:25492): libecal-WARNING **: e-cal.c:1698: Unable to contact backend

GThread-ERROR **: file gthread-posix.c: line 160 (): error 'Device or resource
busy' during 'pthread_mutex_destroy ((pthread_mutex_t *) mutex)'
aborting...
Comment 2 Poornima 2005-08-02 14:09:25 UTC
Same scenario but traces are different in which segv handler is called

Backtrace was generated from '/opt/gnome/bin/evolution'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1097776768 (LWP 27477)]
[New Thread 1124457392 (LWP 27564)]
[Thread debugging using libthread_db enabled]
[New Thread 1097776768 (LWP 27477)]
[New Thread 1124457392 (LWP 27564)]
[Thread debugging using libthread_db enabled]
[New Thread 1097776768 (LWP 27477)]
[New Thread 1124457392 (LWP 27564)]
[New Thread 1122356144 (LWP 27530)]
[New Thread 1120254896 (LWP 27529)]
[New Thread 1118153648 (LWP 27528)]
[New Thread 1116052400 (LWP 27519)]
[New Thread 1113951152 (LWP 27518)]
[New Thread 1111493552 (LWP 27480)]
[New Thread 1107381168 (LWP 27479)]
0xffffe410 in ?? ()

Thread 1 (Thread 1097776768 (LWP 27477))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 gnome_init_with_popt_table
    from /opt/gnome/lib/libgnomeui-2.so.0
  • #6 segv_redirect
    at main.c line 424
  • #7 <signal handler called>
  • #8 g_type_check_instance_cast
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #9 ORBit_object_peek_connection
    from /opt/gnome/lib/libORBit-2.so.0
  • #10 ORBit_object_get_connection
    from /opt/gnome/lib/libORBit-2.so.0
  • #11 ORBit_small_invoke_stub
    from /opt/gnome/lib/libORBit-2.so.0
  • #12 ORBit_small_invoke_stub_n
    from /opt/gnome/lib/libORBit-2.so.0
  • #13 ORBit_c_stub_invoke
    from /opt/gnome/lib/libORBit-2.so.0
  • #14 GNOME_Evolution_Calendar_CalView_start
    at Evolution-DataServer-Calendar-stubs.c line 10
  • #15 e_cal_view_start
    at e-cal-view.c line 389
  • #16 update_e_cal_view_for_client
    at e-cal-model.c line 1524
  • #17 add_new_client
    at e-cal-model.c line 1595
  • #18 e_cal_model_add_client
    at e-cal-model.c line 1618
  • #19 client_cal_opened_cb
    at gnome-cal.c line 2374
  • #20 g_cclosure_marshal_VOID
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #21 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #22 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #24 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #25 async_signal_idle_cb
    at e-cal.c line 1768
  • #26 g_list_push_allocator
    from /opt/gnome/lib/libglib-2.0.so.0
  • #27 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #28 g_main_context_acquire
    from /opt/gnome/lib/libglib-2.0.so.0
  • #29 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #30 bonobo_main
    from /opt/gnome/lib/libbonobo-2.so.0
  • #31 main
    at main.c line 602
  • #0 ??

Comment 3 Christian Kirbach 2006-08-29 21:27:11 UTC
*** Bug 353454 has been marked as a duplicate of this bug. ***
Comment 4 Christian Kirbach 2006-08-29 21:28:10 UTC
*** Bug 351972 has been marked as a duplicate of this bug. ***
Comment 5 Christian Kirbach 2006-08-29 21:33:38 UTC
looksl ike a crash in ORBit, changing product

Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.

please install the ORBit debugging package
Comment 6 Sergej Kotliar 2006-09-07 22:28:43 UTC
*** Bug 354842 has been marked as a duplicate of this bug. ***
Comment 7 Rob Bradford 2006-09-10 13:46:35 UTC
*** Bug 355172 has been marked as a duplicate of this bug. ***
Comment 8 David McBride 2006-09-10 15:26:37 UTC
Created attachment 72503 [details]
GDB trace #1 (from dwm@doc.ic.ac.uk)
Comment 9 David McBride 2006-09-10 15:29:40 UTC
Hi,

My original bug (Bug 355172) was marked a duplicate of this one, so I'll mail
here.

I've attempted to replicate my previous crashes; however, it does seem a little
random whether or not the crashing of the evolution-data-server-1.8 process
will also cause the evolution process to crash. 

I've tried installing several -dbg packages (I'm running current Ubuntu Eft);
however, there don't appear to be any Orbit -dbg packages in this distribution.
 (Even with extra *verse repositories enabled.)  

I've generated another trace (see attached "GDB trace #1");  if it is not
useful, I can have a go at building an unstripped version of the relevant
libraries.

Cheers,
David
Comment 10 Christian Kirbach 2006-09-11 09:40:40 UTC
I've just asked seb128 to put up ORBit debugging packages, you may want to check again in an hour or so
Comment 11 André Klapper 2006-09-11 15:14:45 UTC
*** Bug 355075 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2006-09-11 15:14:50 UTC
*** Bug 354941 has been marked as a duplicate of this bug. ***
Comment 13 Sergej Kotliar 2006-09-17 16:52:31 UTC
*** Bug 356413 has been marked as a duplicate of this bug. ***
Comment 14 Sergej Kotliar 2006-09-17 16:54:33 UTC
*** Bug 353473 has been marked as a duplicate of this bug. ***
Comment 15 Michael Meeks 2006-09-18 09:12:15 UTC
So - the trace is great David - thanks:

  • #5 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #6 GNOME_Evolution_Calendar_CalView_start
    at Evolution-DataServer-Calendar-stubs.c line 10
  • #7 e_cal_view_start
    at e-cal-view.c line 389
  • #8 update_e_cal_view_for_client
    at e-cal-model.c line 1519
  • #9 add_new_client
    at e-cal-model.c line 1590
  • #10 client_cal_opened_cb
    at gnome-cal.c line 2588

I *suspect* that there is something very bad about the e_cal_view code here calling a CORBA method on an invalid object from this callback.

Can you walk up the stack there and do a few eg.:

p *_obj
up
p *view
up
p *model
p *client_data
up
p *client
up 
p *ecal
p *gcal

and dump the output here ?

of course - memory corruption is all too likely, but very unlikely in ORBit2 - I see no reason to believe this is an ORBit bug.

Better - with the nice symbols, can you run:

valgrind --tool=memcheck evolution-2.6 2>&1 | tee /tmp/val-log

and see if we can get the log file attached ? that may show where the corruption lies more precisely.

Re-assign back to evo.
Comment 16 Karsten Bräckelmann 2006-09-19 14:34:14 UTC
*** Bug 356683 has been marked as a duplicate of this bug. ***
Comment 17 Karsten Bräckelmann 2006-09-20 12:31:43 UTC
*** Bug 356894 has been marked as a duplicate of this bug. ***
Comment 18 Karsten Bräckelmann 2006-09-22 21:25:16 UTC
*** Bug 357243 has been marked as a duplicate of this bug. ***
Comment 19 Karsten Bräckelmann 2006-09-23 13:47:31 UTC
*** Bug 357293 has been marked as a duplicate of this bug. ***
Comment 20 Karsten Bräckelmann 2006-09-26 22:19:09 UTC
*** Bug 357887 has been marked as a duplicate of this bug. ***
Comment 21 Fabio Bonelli 2006-09-29 09:33:50 UTC
*** Bug 358242 has been marked as a duplicate of this bug. ***
Comment 22 Karsten Bräckelmann 2006-09-30 17:25:00 UTC
*** Bug 358571 has been marked as a duplicate of this bug. ***
Comment 23 Elijah Newren 2006-10-01 06:47:49 UTC
*** Bug 358699 has been marked as a duplicate of this bug. ***
Comment 24 Elijah Newren 2006-10-02 07:34:46 UTC
*** Bug 358927 has been marked as a duplicate of this bug. ***
Comment 25 Karsten Bräckelmann 2006-10-02 12:53:13 UTC
*** Bug 358983 has been marked as a duplicate of this bug. ***
Comment 26 Elijah Newren 2006-10-02 22:54:31 UTC
*** Bug 359150 has been marked as a duplicate of this bug. ***
Comment 27 David McBride 2006-10-03 21:23:24 UTC
Created attachment 73974 [details]
Valgrind memcheck log #1

Valgrind memcheck log generated against evolution-2.8.1, as shipped as part of the evolution-2.8.1-0ubuntu1 package from Eft.
Comment 28 David McBride 2006-10-03 21:28:12 UTC
Hi,

Apologies for not responding more quickly -- real life has been somewhat busy of late.

Attached to thus bug as attachment #73974 [details] is the logfile generated by the Valgrind memcheck tool whilst running Evolution.  (Since updated locally to 2.8.1, but still exhibiting the same behaviour.)

Unfortunately, gdb wasn't able to extract any useful information from the running process;  I'll see if I can reproduce it again and print out the requested gdb information.

Cheers,
David
Comment 29 David McBride 2006-10-03 21:50:49 UTC
Created attachment 73976 [details]
GDB trace #2 (from dwm@doc.ic.ac.uk)

GDB trace and stack-inspection output from a crashed evolution-2.8.1 process, as requested.
Comment 30 Michael Meeks 2006-10-04 09:07:00 UTC
The smoking gun for the evolution bug is here:

==16424== Invalid read of size 4
...
==16424==    by 0x4323D31: ORBit_c_stub_invoke (in /usr/lib/libORBit-2.so.0.1.0)
==16424==    by 0x4B10DEE: GNOME_Evolution_Calendar_CalView_start (Evolution-DataServer-Calendar-stubs.c:10)
==16424==    by 0x4B326DB: e_cal_view_start (e-cal-view.c:389)
==16424==    by 0x6D017B0: update_e_cal_view_for_client (e-cal-model.c:1519)
==16424==    by 0x6D025AF: add_new_client (e-cal-model.c:1590)
==16424==    by 0x6D5B7C3: client_cal_opened_cb (gnome-cal.c:2588)
==16424==    by 0x498E878: g_cclosure_marshal_VOID(i_xx_t) (gmarshal.c:216)
==16424==    by 0x498179A: g_closure_invoke (gclosure.c:490)

==16424==  Address 0xE27C540 is 8 bytes inside a block of size 40 free'd
...
==16424==    by 0x43182DC: CORBA_Object_release (in /usr/lib/libORBit-2.so.0.1.0)
==16424==    by 0x4222DD2: bonobo_object_release_unref (in /usr/lib/libbonobo-2.so.0.0.0)
==16424==    by 0x4B32BFC: e_cal_view_finalize (e-cal-view.c:226)

It would be -great- to get deeper stack traces - the default is not helpful: --with-num-callers=128 is good - but I'm confident this is an evolution cockup using an incorrectly managed ORBit2 resource after it has been freed.
Comment 31 Karsten Bräckelmann 2006-10-04 16:31:24 UTC
*** Bug 359630 has been marked as a duplicate of this bug. ***
Comment 32 Kjartan Maraas 2006-10-10 11:52:24 UTC
Could this be related? I've seen this in my valgrind logs:

==16988== Invalid read of size 4
==16988==    at 0xB74679: open_async (e-cal.c:1878)
==16988==    by 0x897FEE: g_thread_create_proxy (gthread.c:553)
==16988==    by 0x6EDF99: start_thread (pthread_create.c:274)
==16988==    by 0x5279AD: clone (in /lib/libc-2.4.90.so)
==16988==  Address 0x4F13C40 is 8 bytes inside a block of size 28 free'd
==16988==    at 0x4004FEA: free (vg_replace_malloc.c:233)
==16988==    by 0x8815F0: g_free (gmem.c:187)
==16988==    by 0xB6A6D7: async_signal_idle_cb (e-cal.c:1867)
==16988==    by 0x8785E0: g_idle_dispatch (gmain.c:3924)
==16988==    by 0x87A341: g_main_context_dispatch (gmain.c:2043)
==16988==    by 0x87D31E: g_main_context_iterate (gmain.c:2675)
==16988==    by 0x87D6C8: g_main_loop_run (gmain.c:2879)
==16988==    by 0x4C616A22: bonobo_main (bonobo-main.c:311)
==16988==    by 0x805C490: main (notify-main.c:162)
Comment 33 André Klapper 2006-10-17 23:45:12 UTC
so, what's in store here?
any chance to see this fixed for gnome 2.16.2?
Comment 34 Patrick Ohly 2006-10-19 18:19:39 UTC
The valgrind hit that was mentioned in comment #32 was also logged
in bug #335217.
Comment 35 Karsten Bräckelmann 2006-10-28 02:35:20 UTC
*** Bug 365832 has been marked as a duplicate of this bug. ***
Comment 36 Karsten Bräckelmann 2006-11-03 23:54:29 UTC
*** Bug 370200 has been marked as a duplicate of this bug. ***
Comment 37 Karsten Bräckelmann 2006-11-03 23:54:38 UTC
*** Bug 365094 has been marked as a duplicate of this bug. ***
Comment 38 Karsten Bräckelmann 2006-11-03 23:54:47 UTC
*** Bug 369633 has been marked as a duplicate of this bug. ***
Comment 39 Karsten Bräckelmann 2006-11-03 23:55:02 UTC
*** Bug 369054 has been marked as a duplicate of this bug. ***
Comment 40 Karsten Bräckelmann 2006-11-04 00:05:25 UTC
Note that among all these duplicates are references to the Calendar *and* the Address Book.

  • #14 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #15 GNOME_Evolution_Calendar_CalView_start
    from /usr/lib/libecal-1.2.so.7
  • #16 e_cal_view_start
    from /usr/lib/libecal-1.2.so.7
  • #14 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #15 GNOME_Evolution_Addressbook_BookView_start
    from /usr/lib/libebook-1.2.so.9
  • #16 e_book_view_start
    from /usr/lib/libebook-1.2.so.9

Comment 41 Harish Krishnaswamy 2006-11-06 14:19:49 UTC
Just started looking into this - and looks to me that there are more than one problems in the long list of duplicates - most prominently an extra unlock on that mutex. Looks to me that I will not be able to fix and test this before rolling out the tarballs today but thus far, I have a reliable way to reproduce the problem and have a few theories on hand - will push in a fix sometime tomorrow.
Comment 42 Harish Krishnaswamy 2006-11-06 15:28:10 UTC
Seems to be my day :-)...i've nailed down the problem and will roll out the tarballs with the fix
Comment 43 Harish Krishnaswamy 2006-11-06 17:13:23 UTC
Committed the fix to HEAD. 
Comment 44 Karsten Bräckelmann 2006-11-06 19:01:14 UTC
*** Bug 371429 has been marked as a duplicate of this bug. ***
Comment 45 Karsten Bräckelmann 2006-11-06 19:01:26 UTC
*** Bug 371442 has been marked as a duplicate of this bug. ***
Comment 46 Karsten Bräckelmann 2006-11-06 23:32:50 UTC
*** Bug 371583 has been marked as a duplicate of this bug. ***
Comment 47 Karsten Bräckelmann 2006-11-06 23:35:11 UTC
No patch... Fixed for all cases, I assume? See comment 40.
Comment 48 Karsten Bräckelmann 2006-11-08 21:57:27 UTC
*** Bug 372376 has been marked as a duplicate of this bug. ***
Comment 49 Karsten Bräckelmann 2006-11-09 22:28:22 UTC
*** Bug 373082 has been marked as a duplicate of this bug. ***
Comment 50 Harish Krishnaswamy 2006-11-10 17:54:24 UTC
(In reply to comment #47)
> No patch... Fixed for all cases, I assume? See comment 40.
> 

No .Just the scenario and traces originally reported in *this* bug. I will have to comb through the huge pile of (alleged) duplicates to separate the unrelated bugs and process them while I am back on Monday. 

You can find my patch at http://cvs.gnome.org/viewcvs/evolution-data-server/calendar/libecal/e-cal.c?r1=1.129&r2=1.130.
This was not a memory corruption as the summary claims. It was an erroneous double 
mutex unlock as hinted by Michael on Comment #30.

Thanks for caring.
Comment 51 Diego Escalante Urrelo (not reading bugmail) 2006-11-10 19:15:38 UTC
*** Bug 373462 has been marked as a duplicate of this bug. ***
Comment 52 Karsten Bräckelmann 2006-11-11 01:45:55 UTC
(In reply to comment #50)
> (In reply to comment #47)
> > No patch... Fixed for all cases, I assume? See comment 40.
> 
> No .Just the scenario and traces originally reported in *this* bug.

Which one is "this bug"?  The original description and summary? The original stacktrace that misses the entire crashing trace? Or maybe the trace in comment 2?


> I will have to comb through the huge pile of (alleged) duplicates to
> separate the unrelated bugs and process them while I am back on Monday. 

Which unrelated bugs? I already took care of all the false duplicates of that Epiphany (possibly AT-SPI, see bug 351972) crasher. Although that trace seems rather similiar.

See comment 40. There are 2 almost identical stacktraces here, both Evolution. They just happen to be in different Components.

Frankly, and without having a look at the code, this feels like a copy-n-paste issue, both Components sharing the same crash. Hence, there most likely is a similar issue lurking for other Evolution Components. No, I do not want to wait till a user reports that crash. I want them fixed just as well.


> This was not a memory corruption as the summary claims. It was an erroneous
> double mutex unlock as hinted by Michael on Comment #30.

Feel free to correct the summary.


> Thanks for caring.

Well -- there would have been no need for poking in the first place, and especially there would have been no need for me to go all ranty just to make that caring of mine result in anything. If, yeah if, you would have read the note of mine that happened to be *right* above the textfield where you entered your comment. You can't possibly have missed that, now can you?


REOPENing, as per comment 50.


Just for reference, I left a bunch of notes already in a lot of bug reports, summarizing, providing cross references and pointing out important bits. Hope not all of them get overlooked like this one.
Comment 53 Karsten Bräckelmann 2006-11-11 01:49:18 UTC
(In reply to comment #43)
> Committed the fix to HEAD. 

What about the stable branch?

Setting Target Milestone from 2.9 to 2.8. Crasher, this should be fixed in the stable branch. Too much duplicates anyway.
Comment 54 André Klapper 2006-11-23 01:56:20 UTC
*** Bug 375576 has been marked as a duplicate of this bug. ***
Comment 55 André Klapper 2006-11-23 01:56:27 UTC
*** Bug 378293 has been marked as a duplicate of this bug. ***
Comment 56 André Klapper 2006-12-02 18:36:57 UTC
*** Bug 381372 has been marked as a duplicate of this bug. ***
Comment 57 André Klapper 2006-12-08 00:07:44 UTC
*** Bug 382912 has been marked as a duplicate of this bug. ***
Comment 58 palfrey 2006-12-13 18:03:18 UTC
*** Bug 385203 has been marked as a duplicate of this bug. ***
Comment 59 André Klapper 2006-12-14 03:39:02 UTC
*** Bug 385067 has been marked as a duplicate of this bug. ***
Comment 60 André Klapper 2006-12-14 03:39:08 UTC
*** Bug 385108 has been marked as a duplicate of this bug. ***
Comment 61 palfrey 2006-12-29 18:06:57 UTC
*** Bug 390596 has been marked as a duplicate of this bug. ***
Comment 62 palfrey 2007-01-03 23:07:41 UTC
*** Bug 392380 has been marked as a duplicate of this bug. ***
Comment 63 palfrey 2007-01-03 23:07:41 UTC
*** Bug 385053 has been marked as a duplicate of this bug. ***
Comment 64 Kjartan Maraas 2007-02-05 13:11:46 UTC
So, can we close this then? If it was fixed in 2.8.latest I mean.
Comment 65 André Klapper 2007-03-05 13:25:47 UTC
*** Bug 414854 has been marked as a duplicate of this bug. ***
Comment 66 Akhil Laddha 2007-03-24 08:47:14 UTC
*** Bug 421929 has been marked as a duplicate of this bug. ***
Comment 67 Akhil Laddha 2007-04-19 13:48:58 UTC
*** Bug 431226 has been marked as a duplicate of this bug. ***
Comment 68 palfrey 2007-04-26 14:13:10 UTC
*** Bug 430755 has been marked as a duplicate of this bug. ***
Comment 69 palfrey 2007-04-26 14:41:11 UTC
*** Bug 432946 has been marked as a duplicate of this bug. ***
Comment 70 palfrey 2007-05-03 12:30:31 UTC
*** Bug 435233 has been marked as a duplicate of this bug. ***
Comment 71 Pedro Villavicencio 2007-05-23 15:16:28 UTC
*** Bug 440718 has been marked as a duplicate of this bug. ***
Comment 72 palfrey 2007-06-01 13:17:35 UTC
*** Bug 442811 has been marked as a duplicate of this bug. ***
Comment 73 palfrey 2007-06-06 10:25:54 UTC
*** Bug 444388 has been marked as a duplicate of this bug. ***
Comment 74 André Klapper 2007-06-13 11:51:38 UTC
*** Bug 446411 has been marked as a duplicate of this bug. ***
Comment 75 André Klapper 2007-06-19 23:29:20 UTC
bug 444388 comes from GNOME 2.18.
Comment 76 André Klapper 2007-08-17 09:08:41 UTC
*** Bug 457604 has been marked as a duplicate of this bug. ***
Comment 77 André Klapper 2007-08-17 09:08:46 UTC
*** Bug 464646 has been marked as a duplicate of this bug. ***
Comment 78 Milan Crha 2007-09-24 14:01:32 UTC
*** Bug 429108 has been marked as a duplicate of this bug. ***
Comment 79 André Klapper 2008-07-19 12:24:28 UTC
Is this still an issue?
Comment 80 Michael Meeks 2008-07-21 09:57:51 UTC
looks like the flood of duplicates has calmed down ;-)
Harish fixed a bug like this: lets close this as fixed & start aggregating new bugs elsewhere ?
Comment 81 Suman Manjunath 2008-08-07 03:17:06 UTC
(In reply to comment #80)
> Harish fixed a bug like this: lets close this as fixed & start aggregating new
> bugs elsewhere ?

sounds good :-)