Bug 226942 - Always segmentation fault during startup.
Summary: Always segmentation fault during startup.
Status: RESOLVED DUPLICATE of bug 215288
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 09:23 UTC by steffen.oschatz
Modified: 2010-02-15 15:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steffen.oschatz 2010-02-15 09:23:38 UTC
Version:           3.9 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

In Kontact the notes are ok. 
Console says: <unknown program name>(375)/ main: Unknown resource type:  "notes".
Installed kdelibs5-dbg, but the traceback is very short anyway.
Comment 1 steffen.oschatz 2010-02-15 09:24:36 UTC
Application: KNotes (knotes), signal: Segmentation fault
[KCrash Handler]
#5  QDBusAbstractInterface::d_func (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.h:138
#6  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:368
#7  0x00007fa6c8c8fb76 in OrgFreedesktopAvahiEntryGroupInterface::Reset (this=0x15111e0, s=<value optimized out>) at ../../dnssd/avahi_entrygroup_interface.h:94
#8  DNSSD::PublicServicePrivate::serverStateChanged (this=0x15111e0, s=<value optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#9  0x00007fa6c8c8fd86 in DNSSD::PublicService::publishAsync (this=<value optimized out>) at ../../dnssd/avahi-publicservice.cpp:230
#10 0x000000000041d774 in _start ()
Comment 2 steffen.oschatz 2010-02-15 09:31:35 UTC
Starting program: /usr/bin/knotes --nocrashhandler --sync --nofork
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe87a5910 (LWP 17696)]
<unknown program name>(17697)/ main: Unknown resource type:  "notes"

Program received signal SIGSEGV, Segmentation fault.
QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:368
368     qdbusabstractinterface.cpp: No such file or directory.
        in qdbusabstractinterface.cpp
Comment 3 steffen.oschatz 2010-02-15 09:40:47 UTC
==1137== Memcheck, a memory error detector
==1137== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==1137== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright info
==1137== Command: knotes --nocrashhandler --sync --nofork
==1137== Parent PID: 13308
==1137== 
==1137== Syscall param write(buf) points to uninitialised byte(s)
==1137==    at 0x8986B00: __write_nocancel (in /lib/libc-2.10.1.so)
==1137==    by 0xCD45CFE: ??? (in /usr/lib/libICE.so.6.3.0)
==1137==    by 0xCD4A58F: _IceWrite (in /usr/lib/libICE.so.6.3.0)
==1137==    by 0xCD4A673: IceFlush (in /usr/lib/libICE.so.6.3.0)
==1137==    by 0x70B6BCC: sm_setProperty(char const*, char const*, int, SmPropValue*) (qapplication_x11.cpp:5486)
==1137==    by 0x70BA63F: sm_setProperty(QString const&, QString const&) (qapplication_x11.cpp:5501)
==1137==    by 0x70CDC3D: sm_performSaveYourself(QSessionManagerPrivate*) (qapplication_x11.cpp:5565)
==1137==    by 0x70CE928: sm_saveYourselfCallback(_SmcConn*, void*, int, int, int, int) (qapplication_x11.cpp:5544)
==1137==    by 0xCB3A4EE: _SmcProcessMessage (in /usr/lib/libSM.so.6.0.0)
==1137==    by 0xCD4F00B: IceProcessMessages (in /usr/lib/libICE.so.6.3.0)
==1137==    by 0x70B710E: QSmSocketReceiver::qt_metacall(QMetaObject::Call, int, void**) (qapplication_x11.moc:65)
==1137==    by 0x82C7DDB: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3113)
==1137==  Address 0x1302963c is 12 bytes inside a block of size 1,024 alloc'd
==1137==    at 0x4C24477: calloc (vg_replace_malloc.c:418)
==1137==    by 0xCD42A98: IceOpenConnection (in /usr/lib/libICE.so.6.3.0)
==1137==    by 0xCB3692A: SmcOpenConnection (in /usr/lib/libSM.so.6.0.0)
==1137==    by 0x70BDC5D: QSessionManager::QSessionManager(QApplication*, QString&, QString&) (qapplication_x11.cpp:5726)
==1137==    by 0x7061436: QApplicationPrivate::initialize() (qapplication.cpp:857)
==1137==    by 0x706154A: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (qapplication.cpp:750)
==1137==    by 0x7062187: QApplication::QApplication(int&, char**, bool, int) (qapplication.cpp:705)
==1137==    by 0x6AC26BB: KApplication::KApplication(bool, KComponentData const&) (kapplication.cpp:372)
==1137==    by 0x6AC8322: KUniqueApplication::KUniqueApplication(bool, bool) (kuniqueapplication.cpp:326)
==1137==    by 0x525ABE6: KPIM::PimApplication::PimApplication() (in /usr/lib/libkdepim.so.4.3.0)
==1137==    by 0x41B35C: ??? (in /usr/bin/knotes)
==1137==    by 0x41B10A: ??? (in /usr/bin/knotes)
==1137== 
==1137== Invalid read of size 8
==1137==    at 0x7F2CFD3: QDBusAbstractInterface::callWithArgumentList(QDBus::CallMode, QString const&, QList<QVariant> const&) (qdbusabstractinterface.h:138)
==1137==    by 0x5B9CB75: DNSSD::PublicServicePrivate::serverStateChanged(int, QString const&) (avahi_entrygroup_interface.h:94)
==1137==    by 0x5B9CD85: DNSSD::PublicService::publishAsync() (avahi-publicservice.cpp:230)
==1137==    by 0x41D773: ??? (in /usr/bin/knotes)
==1137==    by 0x41FDA7: ??? (in /usr/bin/knotes)
==1137==    by 0x41B2A4: ??? (in /usr/bin/knotes)
==1137==    by 0x6AC6986: KUniqueApplication::Private::_k_newInstanceNoFork() (kuniqueapplication.cpp:392)
==1137==    by 0x6AC69F0: KUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) (kuniqueapplication.moc:66)
==1137==    by 0x82C7DDB: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3113)
==1137==    by 0x82CCE1E: QSingleShotTimer::timerEvent(QTimerEvent*) (qtimer.cpp:298)
==1137==    by 0x82C1D82: QObject::event(QEvent*) (qobject.cpp:1075)
==1137==    by 0x705CEFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4056)
==1137==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
==1137== 
==1137== 
==1137== Process terminating with default action of signal 11 (SIGSEGV)
==1137==  Access not within mapped region at address 0x8
==1137==    at 0x7F2CFD3: QDBusAbstractInterface::callWithArgumentList(QDBus::CallMode, QString const&, QList<QVariant> const&) (qdbusabstractinterface.h:138)
==1137==    by 0x5B9CB75: DNSSD::PublicServicePrivate::serverStateChanged(int, QString const&) (avahi_entrygroup_interface.h:94)
==1137==    by 0x5B9CD85: DNSSD::PublicService::publishAsync() (avahi-publicservice.cpp:230)
==1137==    by 0x41D773: ??? (in /usr/bin/knotes)
==1137==    by 0x41FDA7: ??? (in /usr/bin/knotes)
==1137==    by 0x41B2A4: ??? (in /usr/bin/knotes)
==1137==    by 0x6AC6986: KUniqueApplication::Private::_k_newInstanceNoFork() (kuniqueapplication.cpp:392)
==1137==    by 0x6AC69F0: KUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) (kuniqueapplication.moc:66)
==1137==    by 0x82C7DDB: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3113)
==1137==    by 0x82CCE1E: QSingleShotTimer::timerEvent(QTimerEvent*) (qtimer.cpp:298)
==1137==    by 0x82C1D82: QObject::event(QEvent*) (qobject.cpp:1075)
==1137==    by 0x705CEFB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4056)
==1137==  If you believe this happened as a result of a stack
==1137==  overflow in your program's main thread (unlikely but
==1137==  possible), you can try to increase the size of the
==1137==  main thread stack using the --main-stacksize= flag.
==1137==  The main thread stack size used in this run was 8388608.
==1137== 
==1137== HEAP SUMMARY:
==1137==     in use at exit: 10,626,790 bytes in 131,708 blocks
==1137==   total heap usage: 568,743 allocs, 437,035 frees, 93,859,106 bytes allocated
==1137== 
==1137== LEAK SUMMARY:
==1137==    definitely lost: 5,948 bytes in 11 blocks
==1137==    indirectly lost: 21,392 bytes in 671 blocks
==1137==      possibly lost: 5,017,352 bytes in 30,128 blocks
==1137==    still reachable: 5,582,098 bytes in 100,898 blocks
==1137==         suppressed: 0 bytes in 0 blocks
==1137== Rerun with --leak-check=full to see details of leaked memory
==1137== 
==1137== For counts of detected and suppressed errors, rerun with: -v
==1137== Use --track-origins=yes to see where uninitialised values come from
==1137== ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 23 from 8)
Comment 4 Dario Andres 2010-02-15 15:21:00 UTC
This issues is being tracked at bug 215288. Merging. 
Thanks for the detailed information.

*** This bug has been marked as a duplicate of bug 215288 ***