syncevolution crashed with SIGABRT in __assert_fail_base()

Bug #1023965 reported by Jens Kehne
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
syncevolution (Ubuntu)
New
Medium
Unassigned

Bug Description

called syncevolution --status, then syncevolution immediately crashed

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: syncevolution 1.2.2-1
Uname: Linux 3.4.4-zen+ x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Thu Jul 12 18:01:42 2012
ExecutablePath: /usr/bin/syncevolution
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcCmdline: syncevolution --status target-config@zarafa addressbook
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
Signal: 6
SourcePackage: syncevolution
StacktraceTop:
 raise () from /lib/x86_64-linux-gnu/libc.so.6
 abort () from /lib/x86_64-linux-gnu/libc.so.6
 ?? () from /lib/x86_64-linux-gnu/libc.so.6
 __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
 ?? () from /usr/lib/syncevolution/backends/syncdav.so
Title: syncevolution crashed with SIGABRT in raise()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare src sudo vboxusers

Revision history for this message
Jens Kehne (jkehne) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __assert_fail_base (fmt=<optimized out>, assertion=0x7f9fe0fbfde6 "px != 0", file=0x7f9fe0fbffe0 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=<optimized out>, function=<optimized out>) at assert.c:94
 __GI___assert_fail (assertion=0x7f9fe0fbfde6 "px != 0", file=0x7f9fe0fbffe0 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=418, function=0x7f9fe0fc2be0 "T* boost::shared_ptr<T>::operator->() const [with T = SyncEvo::Neon::Session]") at assert.c:103
 boost::shared_ptr<SyncEvo::Neon::Session>::operator-> (this=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:418
 operator-> (this=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:418
 SyncEvo::WebDAVSource::listAllItems (this=0x1c99960, revisions=...) at WebDAVSource.cpp:940

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in syncevolution (Ubuntu):
importance: Undecided → Medium
summary: - syncevolution crashed with SIGABRT in raise()
+ syncevolution crashed with SIGABRT in __assert_fail_base()
tags: removed: need-amd64-retrace
Revision history for this message
Patrick Ohly (patrick-ohly) wrote :

I've fixed this in SyncEvolution 1.2.99.2.

commit 3d299422f929a647d33b5dec91d53d77c369bcb6
Author: Patrick Ohly <email address hidden>
Date: Fri Jun 29 08:41:31 2012 +0200

    WebDAV: --status for WebDAV source aborted

    The command line --status operation did not complete when applied to a
    CalDAV/CardDAV source. Instead it aborted because the operation took a
    code path where the backend was not fully initialized.

diff --git a/src/backends/webdav/WebDAVSource.cpp b/src/backends/webdav/WebDAVSource.cpp
index 5f74bbc..9e0ed40 100644
--- a/src/backends/webdav/WebDAVSource.cpp
+++ b/src/backends/webdav/WebDAVSource.cpp
@@ -1227,6 +1227,8 @@ std::string WebDAVSource::databaseRevision()
         return "";
     }

+ contactServer();
+
     Timespec deadline = createDeadline();
     Neon::Session::PropfindPropCallback_t callback =
         boost::bind(&WebDAVSource::openPropCallback,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.