Hi All;

I've been (belatedly) trying to get the debian packages for 1.0beta3
into shape.  I'm stuck at the moment trying to get the cli client
working with the dbus server; synching works ok with --daemon=no.  I am
running Debian squeeze/sid on amd64. When I run syncevo-dbus-server
under gdb I get the traceback at the end.  Under valgrind, it shows a
jump to a very suspicious address.  Any ideas on how to proceed with
debugging?

It could be that some xml file is not installed, or installed in the
wrong place, since I (with some help) just reorganized the binary
packages.  If anybody wants to have a look, you can get the debianized
source from

  git clone git://git.debian.org/git/collab-maint/libsynthesis
  git clone git://git.debian.org/git/collab-maint/syncevolution

If you have devscripts installed, "debuild -uc -us" should build.

,----
| #0  0x0000000100000000 in ?? ()
| #1  0x00007ffff0aad8ae in XML_Parse (parser=0xb14180, s=0x7fffffffbed0 "<?xml 
version=\"1.0\"?>\n<!-- SYNTHESIS SYNCML CLIENT Version 3.2 Configuration file 
-->\n\n<sysync_confi"..., len=3048, isFinal=0) at xmlparse.c:901
| #2  0x00007ffff65fc39d in sysync::TSyncAppBase::readXMLConfigStream 
(this=0x89ab40, aReaderFunc=0x7ffff65fc0b0 <ConstantReader>, 
aContext=0x7fffffffcb30) at sysync/syncappbase.cpp:1635
| #3  0x00007ffff65fc53a in sysync::TSyncAppBase::readXMLConfigConstant 
(this=0xb14180, aConstantXML=<value optimized out>) at 
sysync/syncappbase.cpp:1763
| #4  0x00007ffff66188f8 in sysync::TEngineInterface::InitEngineXML 
(this=0x89a8f0, aConfigXML=0x7fffffffbed0 "<?xml version=\"1.0\"?>\n<!-- 
SYNTHESIS SYNCML CLIENT Version 3.2 Configuration file 
-->\n\n<sysync_confi"...) at sysync/engineinterface.cpp:1158
| #5  0x000000000057b44d in SyncEvo::SharedEngine::InitEngineXML (this=<value 
optimized out>, aConfigXML=<value optimized out>) at SynthesisEngine.cpp:48
| #6  0x000000000051b404 in SyncEvo::SyncContext::initEngine (this=0x896250, 
logXML=false) at SyncContext.cpp:2622
| #7  0x0000000000529f11 in SyncEvo::SyncContext::sync (this=0x896250, 
report=0x7fffffffcf00) at SyncContext.cpp:2709
| #8  0x0000000000503426 in SyncEvo::Cmdline::run (this=0x8960d8) at 
Cmdline.cpp:767
| #9  0x00000000004b9990 in CmdlineWrapper::run (this=0x895f80) at 
syncevo-dbus-server.cpp:2026
| #10 0x00000000004921a1 in Session::run (this=0x894590) at 
syncevo-dbus-server.cpp:3343
| #11 0x0000000000498509 in DBusServer::run (this=0x7fffffffdf40) at 
syncevo-dbus-server.cpp:4791
| #12 0x000000000049ef57 in main (argc=1, argv=0x7fffffffe618) at 
syncevo-dbus-server.cpp:5867
`----

==20830== Memcheck, a memory error detector
==20830== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==20830== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright 
info
==20830== Command: /usr/lib/syncevolution/syncevo-dbus-server
==20830== Parent PID: 2857
==20830== 
==20830== Invalid read of size 8
==20830==    at 0x54C93BE: icaltzutil_fetch_timezone (in 
/usr/lib/libical.so.0.44.0)
==20830==    by 0x54CA6F4: ??? (in /usr/lib/libical.so.0.44.0)
==20830==    by 0x54CA744: icaltimezone_get_component (in 
/usr/lib/libical.so.0.44.0)
==20830==    by 0x63FC5E9: sysync::loadSystemZoneDefinitions(sysync::GZones*) 
(platform_timezones.cpp:158)
==20830==    by 0x638ACB8: sysync::GZones::initialize() (timezones.cpp:95)
==20830==    by 0x633005C: sysync::TSyncAppBase::TSyncAppBase() 
(syncappbase.cpp:1227)
==20830==    by 0x636A228: sysync::TSyncClientBase::TSyncClientBase() 
(syncclientbase.cpp:352)
==20830==    by 0x63FAE18: sysync::TEngineClientBase::TEngineClientBase() 
(engineclientbase.cpp:102)
==20830==    by 0x63FE04A: 
sysync::TCustomClientEngineBase::TCustomClientEngineBase() 
(clientengine_custom_Base.cpp:49)
==20830==    by 0x63FE0E2: 
sysync::TCustomClientEngineInterface::newSyncAppBase() 
(clientengine_custom_Base.cpp:39)
==20830==    by 0x63484DC: sysync::TEngineInterface::Init() 
(engineinterface.cpp:1056)
==20830==    by 0x63F50F9: sysync::TEngineModuleBase::Connect(std::string, 
unsigned long, unsigned short) (enginemodulebase.cpp:85)
==20830==  Address 0x11459450 is 0 bytes after a block of size 0 alloc'd
==20830==    at 0x4C214CB: calloc (vg_replace_malloc.c:418)
==20830==    by 0x54C8D89: icaltzutil_fetch_timezone (in 
/usr/lib/libical.so.0.44.0)
==20830==    by 0x54CA6F4: ??? (in /usr/lib/libical.so.0.44.0)
==20830==    by 0x54CA744: icaltimezone_get_component (in 
/usr/lib/libical.so.0.44.0)
==20830==    by 0x63FC5E9: sysync::loadSystemZoneDefinitions(sysync::GZones*) 
(platform_timezones.cpp:158)
==20830==    by 0x638ACB8: sysync::GZones::initialize() (timezones.cpp:95)
==20830==    by 0x633005C: sysync::TSyncAppBase::TSyncAppBase() 
(syncappbase.cpp:1227)
==20830==    by 0x636A228: sysync::TSyncClientBase::TSyncClientBase() 
(syncclientbase.cpp:352)
==20830==    by 0x63FAE18: sysync::TEngineClientBase::TEngineClientBase() 
(engineclientbase.cpp:102)
==20830==    by 0x63FE04A: 
sysync::TCustomClientEngineBase::TCustomClientEngineBase() 
(clientengine_custom_Base.cpp:49)
==20830==    by 0x63FE0E2: 
sysync::TCustomClientEngineInterface::newSyncAppBase() 
(clientengine_custom_Base.cpp:39)
==20830==    by 0x63484DC: sysync::TEngineInterface::Init() 
(engineinterface.cpp:1056)
==20830== 
==20830== Jump to the invalid address stated on the next line
==20830==    at 0x100000000: ???
==20830==    by 0x632D39C: sysync::TSyncAppBase::readXMLConfigStream(int 
(*)(char*, unsigned long, unsigned long*, void*), void*) (syncappbase.cpp:1635)
==20830==    by 0x632D539: sysync::TSyncAppBase::readXMLConfigConstant(char 
const*) (syncappbase.cpp:1763)
==20830==    by 0x63498F7: sysync::TEngineInterface::InitEngineXML(char const*) 
(engineinterface.cpp:1158)
==20830==    by 0x57B44C: SyncEvo::SharedEngine::InitEngineXML(std::string 
const&) (SynthesisEngine.cpp:48)
==20830==    by 0x51B403: SyncEvo::SyncContext::initEngine(bool) 
(SyncContext.cpp:2622)
==20830==    by 0x529F10: SyncEvo::SyncContext::sync(SyncEvo::SyncReport*) 
(SyncContext.cpp:2709)
==20830==    by 0x503425: SyncEvo::Cmdline::run() (Cmdline.cpp:767)
==20830==    by 0x4B998F: CmdlineWrapper::run() (syncevo-dbus-server.cpp:2026)
==20830==    by 0x4921A0: Session::run() (syncevo-dbus-server.cpp:3343)
==20830==    by 0x498508: DBusServer::run() (syncevo-dbus-server.cpp:4791)
==20830==    by 0x49EF56: main (syncevo-dbus-server.cpp:5867)
==20830==  Address 0x100000000 is not stack'd, malloc'd or (recently) free'd
==20830== 
==20830== 
==20830== HEAP SUMMARY:
==20830==     in use at exit: 2,700,580 bytes in 25,366 blocks
==20830==   total heap usage: 105,260 allocs, 79,894 frees, 14,909,936 bytes 
allocated
==20830== 
==20830== LEAK SUMMARY:
==20830==    definitely lost: 1,743 bytes in 108 blocks
==20830==    indirectly lost: 0 bytes in 0 blocks
==20830==      possibly lost: 328,481 bytes in 2,802 blocks
==20830==    still reachable: 2,365,364 bytes in 22,404 blocks
==20830==         suppressed: 4,992 bytes in 52 blocks
==20830== Rerun with --leak-check=full to see details of leaked memory
==20830== 
==20830== For counts of detected and suppressed errors, rerun with: -v
==20830== ERROR SUMMARY: 18 errors from 2 contexts (suppressed: 4 from 4)
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to