Bug 180765 - Dolphin crashes when starting Adept Manager
Summary: Dolphin crashes when starting Adept Manager
Status: RESOLVED DUPLICATE of bug 180621
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 06:01 UTC by Bernd Oliver Sünderhauf
Modified: 2009-01-21 17:54 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 Bernd Oliver Sünderhauf 2009-01-15 06:01:05 UTC
Version:           1.1.80 (KDE 4.1.96) (using Devel)
OS:                Linux
Installed from:    Compiled sources

Dolphin always crashes with SIGABRT when starting the Adept Manager in Kubuntu Intrepid.

Anwendung: Dolphin (dolphin), Signal SIGABRT
0x00007f542a250621 in nanosleep () from /lib/libc.so.6

Thread 1 (Thread 0x7f542e6796f0 (LWP 13021)):
[KCrash Handler]
#5  0x00007f542a1dafd5 in raise () from /lib/libc.so.6
#6  0x00007f542a1dcb43 in abort () from /lib/libc.so.6
#7  0x00007f542ad286b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007f542ad287fd in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007f542e0da7d8 in ?? () from /usr/lib/libkio.so.5
#10 0x00007f542e0dc3eb in ?? () from /usr/lib/libkio.so.5
#11 0x00007f542e0e12ec in ?? () from /usr/lib/libkio.so.5
#12 0x00007f542ae2d134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0x00007f542e0eeac2 in KDirWatch::dirty () from /usr/lib/libkio.so.5
#14 0x00007f542e0ef2c0 in KDirWatch::setDirty () from /usr/lib/libkio.so.5
#15 0x00007f542e0ef78d in ?? () from /usr/lib/libkio.so.5
#16 0x00007f542e0f5ea9 in ?? () from /usr/lib/libkio.so.5
#17 0x00007f542e0f6368 in ?? () from /usr/lib/libkio.so.5
#18 0x00007f542ae2d134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0x00007f542ae27a43 in QObject::event () from /usr/lib/libQtCore.so.4
#20 0x00007f542b2ccc3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#21 0x00007f542b2d49ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0x00007f542c7983cb in KApplication::notify () from /usr/lib/libkdeui.so.5
#23 0x00007f542ae18d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#24 0x00007f542ae44ab6 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007f542ae411fd in ?? () from /usr/lib/libQtCore.so.4
#26 0x00007f5426b5cd3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f5426b6050d in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007f5426b606cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f542ae4115f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#30 0x00007f542b35ea6f in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007f542ae17682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#32 0x00007f542ae1780d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#33 0x00007f542ae19cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#34 0x000000000044381d in _start ()
Comment 1 Frank Reininghaus 2009-01-15 23:12:24 UTC
Thanks for the bug report! Looks similar to your bug 180621 and a couple of others, but to be sure and to find the root cause of the crash, more information would be helpful (I'm not running Kubuntu Intrepid and can't reproduce the crash at the moment).

It might help if you could run Dolphin from a Konsole and paste the
"ASSERT...." line from the output during the crash here (if there is one) or -
even better - provide a more detailed backtrace, see
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Thanks!
Comment 2 Bernd Oliver Sünderhauf 2009-01-16 03:50:41 UTC
Yes, I also think this and bug 180621 have a common cause, obviously the crash happens when superuser privileges are requested, which happens in both cases.

Interestingly, when starting "dolphin" from a Konsole (as regular user w/o sudo), everything works fine without a crash. However, the command line output is:

pancho@luka:~$ dolphin(7359): Attempt to use QAction "close_tab" with KXMLGUIFactory!
dolphin(7359): Attempt to use QAction "show_info_panel" with KXMLGUIFactory!
dolphin(7359): Attempt to use QAction "show_folders_panel" with KXMLGUIFactory!
dolphin(7359): Attempt to use QAction "show_terminal_panel" with KXMLGUIFactory!
dolphin(7359): Attempt to use QAction "show_places_panel" with KXMLGUIFactory!
dolphin(7359) MetaDataWidget::setFile: KUrl("file:///home/pancho")
dolphin(7359) MetaDataWidget::setFile: KUrl("file:///home/pancho")
kDebugStream called after destruction (from void KDirWatchPrivate::removeEntry(KDirWatch*, KDirWatchPrivate::Entry*, KDirWatchPrivate::Entry*) file /build/buildd/kde4libs-4.1.96/kio/kio/kdirwatch.cpp line 836)
Cancelled INotify (fd 25, 1) for "/home/pancho/.local/share"
Comment 3 Bernd Oliver Sünderhauf 2009-01-16 03:56:43 UTC
With a more detailed backtrace I guessed you meant a valgrind log, so here are two of them:

For the first one, after a restart I ran "valgrind --log-file=180621.log dolphin", but didn't do anything in Dolphin (just quit after it has started).

==7666== Memcheck, a memory error detector.
==7666== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==7666== Using LibVEX rev 1854, a library for dynamic binary translation.
==7666== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==7666== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==7666== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==7666== For more details, rerun with: -v
==7666== 
==7666== My PID = 7666, parent PID = 6890.  Prog and args are:
==7666==    dolphin
==7666== 
==7793== Syscall param write(buf) points to uninitialised byte(s)
==7793==    at 0x8E78D80: write (in /lib/libc-2.8.90.so)
==7793==    by 0x9C6CEFE: (within /usr/lib/libICE.so.6.3.0)
==7793==    by 0x9C70787: _IceWrite (in /usr/lib/libICE.so.6.3.0)
==7793==    by 0x9C70863: IceFlush (in /usr/lib/libICE.so.6.3.0)
==7793==    by 0x7886F1C: (within /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x788AB4F: (within /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x7891296: (within /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x7891FB9: (within /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x9A60C16: _SmcProcessMessage (in /usr/lib/libSM.so.6.0.0)
==7793==    by 0x9C74BDF: IceProcessMessages (in /usr/lib/libICE.so.6.3.0)
==7793==    by 0x7887548: (within /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x8321133: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.4.3)
==7793==  Address 0xe564a04 is 12 bytes inside a block of size 1,024 alloc'd
==7793==    at 0x4C24384: calloc (vg_replace_malloc.c:397)
==7793==    by 0x9C69373: IceOpenConnection (in /usr/lib/libICE.so.6.3.0)
==7793==    by 0x9A5CCB0: SmcOpenConnection (in /usr/lib/libSM.so.6.0.0)
==7793==    by 0x788DA4D: QSessionManager::QSessionManager(QApplication*, QString&, QString&) (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x7833147: QApplicationPrivate::initialize() (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x783323E: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x7833E57: QApplication::QApplication(int&, char**, bool, int) (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x693B33C: KApplication::KApplication(bool, KComponentData const&) (in /usr/lib/libkdeui.so.5.2.0)
==7793==    by 0x6941302: KUniqueApplication::KUniqueApplication(bool, bool) (in /usr/lib/libkdeui.so.5.2.0)
==7793==    by 0x424E05: (within /usr/bin/dolphin)
==7793==    by 0x4435FC: (within /usr/bin/dolphin)
==7793==    by 0x8DBE465: (below main) (in /lib/libc-2.8.90.so)
==7666== 
==7666== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 52 from 3)
==7666== malloc/free: in use at exit: 50,029 bytes in 381 blocks.
==7666== malloc/free: 10,443 allocs, 10,062 frees, 29,028,485 bytes allocated.
==7666== For counts of detected errors, rerun with: -v
==7666== searching for pointers to 381 not-freed blocks.
==7666== checked 773,904 bytes.
==7666== 
==7666== LEAK SUMMARY:
==7666==    definitely lost: 0 bytes in 0 blocks.
==7666==      possibly lost: 32 bytes in 1 blocks.
==7666==    still reachable: 49,997 bytes in 380 blocks.
==7666==         suppressed: 0 bytes in 0 blocks.
==7666== Rerun with --leak-check=full to see details of leaked memory.
==7793== 
==7793== Syscall param write(buf) points to uninitialised byte(s)
==7793==    at 0x8E78DBB: write (in /lib/libc-2.8.90.so)
==7793==    by 0x9C6CEFE: (within /usr/lib/libICE.so.6.3.0)
==7793==    by 0x9C70787: _IceWrite (in /usr/lib/libICE.so.6.3.0)
==7793==    by 0x9C70863: IceFlush (in /usr/lib/libICE.so.6.3.0)
==7793==    by 0x9A5CAC3: SmcCloseConnection (in /usr/lib/libSM.so.6.0.0)
==7793==    by 0x788727B: QSessionManager::~QSessionManager() (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x78388F9: QApplication::~QApplication() (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x42563F: (within /usr/bin/dolphin)
==7793==    by 0x443824: (within /usr/bin/dolphin)
==7793==    by 0x8DBE465: (below main) (in /lib/libc-2.8.90.so)
==7793==  Address 0xe564a04 is 12 bytes inside a block of size 1,024 alloc'd
==7793==    at 0x4C24384: calloc (vg_replace_malloc.c:397)
==7793==    by 0x9C69373: IceOpenConnection (in /usr/lib/libICE.so.6.3.0)
==7793==    by 0x9A5CCB0: SmcOpenConnection (in /usr/lib/libSM.so.6.0.0)
==7793==    by 0x788DA4D: QSessionManager::QSessionManager(QApplication*, QString&, QString&) (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x7833147: QApplicationPrivate::initialize() (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x783323E: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x7833E57: QApplication::QApplication(int&, char**, bool, int) (in /usr/lib/libQtGui.so.4.4.3)
==7793==    by 0x693B33C: KApplication::KApplication(bool, KComponentData const&) (in /usr/lib/libkdeui.so.5.2.0)
==7793==    by 0x6941302: KUniqueApplication::KUniqueApplication(bool, bool) (in /usr/lib/libkdeui.so.5.2.0)
==7793==    by 0x424E05: (within /usr/bin/dolphin)
==7793==    by 0x4435FC: (within /usr/bin/dolphin)
==7793==    by 0x8DBE465: (below main) (in /lib/libc-2.8.90.so)
==7793== 
==7793== ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 200 from 5)
==7793== malloc/free: in use at exit: 2,231,608 bytes in 17,630 blocks.
==7793== malloc/free: 456,606 allocs, 438,976 frees, 102,372,248 bytes allocated.
==7793== For counts of detected errors, rerun with: -v
==7793== searching for pointers to 17,630 not-freed blocks.
==7793== checked 2,624,672 bytes.
==7793== 
==7793== LEAK SUMMARY:
==7793==    definitely lost: 163,618 bytes in 7,878 blocks.
==7793==      possibly lost: 7,908 bytes in 196 blocks.
==7793==    still reachable: 2,060,082 bytes in 9,556 blocks.
==7793==         suppressed: 0 bytes in 0 blocks.
==7793== Rerun with --leak-check=full to see details of leaked memory.

=================================================

For the second one, after a restart I ran "valgrind --log-file=180621b.log dolphin"
and then started Adept Manager (which triggered a kdesudo password request).

==7234== Memcheck, a memory error detector.
==7234== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==7234== Using LibVEX rev 1854, a library for dynamic binary translation.
==7234== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==7234== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==7234== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==7234== For more details, rerun with: -v
==7234== 
==7234== My PID = 7234, parent PID = 7002.  Prog and args are:
==7234==    dolphin
==7234== 
==7359== Syscall param write(buf) points to uninitialised byte(s)
==7359==    at 0x8E78D80: write (in /lib/libc-2.8.90.so)
==7359==    by 0x9C6CEFE: (within /usr/lib/libICE.so.6.3.0)
==7359==    by 0x9C70787: _IceWrite (in /usr/lib/libICE.so.6.3.0)
==7359==    by 0x9C70863: IceFlush (in /usr/lib/libICE.so.6.3.0)
==7359==    by 0x7886F1C: (within /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x788AB4F: (within /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x7891296: (within /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x7891FB9: (within /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x9A60C16: _SmcProcessMessage (in /usr/lib/libSM.so.6.0.0)
==7359==    by 0x9C74BDF: IceProcessMessages (in /usr/lib/libICE.so.6.3.0)
==7359==    by 0x7887548: (within /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x8321133: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.4.3)
==7359==  Address 0xe564a04 is 12 bytes inside a block of size 1,024 alloc'd
==7359==    at 0x4C24384: calloc (vg_replace_malloc.c:397)
==7359==    by 0x9C69373: IceOpenConnection (in /usr/lib/libICE.so.6.3.0)
==7359==    by 0x9A5CCB0: SmcOpenConnection (in /usr/lib/libSM.so.6.0.0)
==7359==    by 0x788DA4D: QSessionManager::QSessionManager(QApplication*, QString&, QString&) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x7833147: QApplicationPrivate::initialize() (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x783323E: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x7833E57: QApplication::QApplication(int&, char**, bool, int) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x693B33C: KApplication::KApplication(bool, KComponentData const&) (in /usr/lib/libkdeui.so.5.2.0)
==7359==    by 0x6941302: KUniqueApplication::KUniqueApplication(bool, bool) (in /usr/lib/libkdeui.so.5.2.0)
==7359==    by 0x424E05: (within /usr/bin/dolphin)
==7359==    by 0x4435FC: (within /usr/bin/dolphin)
==7359==    by 0x8DBE465: (below main) (in /lib/libc-2.8.90.so)
==7234== 
==7234== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 52 from 3)
==7234== malloc/free: in use at exit: 49,669 bytes in 378 blocks.
==7234== malloc/free: 10,439 allocs, 10,061 frees, 29,028,085 bytes allocated.
==7234== For counts of detected errors, rerun with: -v
==7234== searching for pointers to 378 not-freed blocks.
==7234== checked 773,616 bytes.
==7234== 
==7234== LEAK SUMMARY:
==7234==    definitely lost: 0 bytes in 0 blocks.
==7234==      possibly lost: 32 bytes in 1 blocks.
==7234==    still reachable: 49,637 bytes in 377 blocks.
==7234==         suppressed: 0 bytes in 0 blocks.
==7234== Rerun with --leak-check=full to see details of leaked memory.
==7359== 
==7359== Conditional jump or move depends on uninitialised value(s)
==7359==    at 0x82637BB: QString::fromLatin1_helper(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826DCED: QString::fromAscii(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x4EDC1D5: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F53AD7: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F57347: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x8321133: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x83577DD: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x8326C42: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x782EC3C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x78369B9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x69383CA: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.2.0)
==7359==    by 0x830CD60: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359== 
==7359== Use of uninitialised value of size 8
==7359==    at 0x82637CA: QString::fromLatin1_helper(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826DCED: QString::fromAscii(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x4EDC1D5: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F53AD7: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F57347: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x8321133: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x83577DD: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x8326C42: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x782EC3C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x78369B9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x69383CA: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.2.0)
==7359==    by 0x830CD60: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359== 
==7359== Conditional jump or move depends on uninitialised value(s)
==7359==    at 0x826E619: (within /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826387C: QString::fromLatin1_helper(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826DCED: QString::fromAscii(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x4EDC1D5: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F53AD7: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F57347: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x8321133: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x83577DD: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x8326C42: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x782EC3C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x78369B9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x69383CA: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.2.0)
==7359== 
==7359== Use of uninitialised value of size 8
==7359==    at 0x4C26D22: strlen (mc_replace_strmem.c:242)
==7359==    by 0x826E61F: (within /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826387C: QString::fromLatin1_helper(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826DCED: QString::fromAscii(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x4EDC1D5: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F53AD7: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F57347: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x8321133: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x83577DD: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x8326C42: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x782EC3C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x78369B9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359== 
==7359== Use of uninitialised value of size 8
==7359==    at 0x4C26D34: strlen (mc_replace_strmem.c:242)
==7359==    by 0x826E61F: (within /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826387C: QString::fromLatin1_helper(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826DCED: QString::fromAscii(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x4EDC1D5: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F53AD7: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F57347: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x8321133: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x83577DD: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x8326C42: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x782EC3C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x78369B9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359== 
==7359== Use of uninitialised value of size 8
==7359==    at 0x8263818: QString::fromLatin1_helper(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826DCED: QString::fromAscii(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x4EDC1D5: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F53AD7: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F57347: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x8321133: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x83577DD: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x8326C42: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x782EC3C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x78369B9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x69383CA: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.2.0)
==7359==    by 0x830CD60: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359== 
==7359== Use of uninitialised value of size 8
==7359==    at 0x8263828: QString::fromLatin1_helper(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x826DCED: QString::fromAscii(char const*, int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x4EDC1D5: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F53AD7: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x4F57347: (within /usr/lib/libkio.so.5.2.0)
==7359==    by 0x8321133: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x83577DD: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x8326C42: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359==    by 0x782EC3C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x78369B9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x69383CA: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.2.0)
==7359==    by 0x830CD60: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.4.3)
==7359== 
==7359== Syscall param write(buf) points to uninitialised byte(s)
==7359==    at 0x8E78DBB: write (in /lib/libc-2.8.90.so)
==7359==    by 0x9C6CEFE: (within /usr/lib/libICE.so.6.3.0)
==7359==    by 0x9C70787: _IceWrite (in /usr/lib/libICE.so.6.3.0)
==7359==    by 0x9C70863: IceFlush (in /usr/lib/libICE.so.6.3.0)
==7359==    by 0x9A5CAC3: SmcCloseConnection (in /usr/lib/libSM.so.6.0.0)
==7359==    by 0x788727B: QSessionManager::~QSessionManager() (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x78388F9: QApplication::~QApplication() (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x42563F: (within /usr/bin/dolphin)
==7359==    by 0x443824: (within /usr/bin/dolphin)
==7359==    by 0x8DBE465: (below main) (in /lib/libc-2.8.90.so)
==7359==  Address 0xe564a04 is 12 bytes inside a block of size 1,024 alloc'd
==7359==    at 0x4C24384: calloc (vg_replace_malloc.c:397)
==7359==    by 0x9C69373: IceOpenConnection (in /usr/lib/libICE.so.6.3.0)
==7359==    by 0x9A5CCB0: SmcOpenConnection (in /usr/lib/libSM.so.6.0.0)
==7359==    by 0x788DA4D: QSessionManager::QSessionManager(QApplication*, QString&, QString&) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x7833147: QApplicationPrivate::initialize() (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x783323E: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x7833E57: QApplication::QApplication(int&, char**, bool, int) (in /usr/lib/libQtGui.so.4.4.3)
==7359==    by 0x693B33C: KApplication::KApplication(bool, KComponentData const&) (in /usr/lib/libkdeui.so.5.2.0)
==7359==    by 0x6941302: KUniqueApplication::KUniqueApplication(bool, bool) (in /usr/lib/libkdeui.so.5.2.0)
==7359==    by 0x424E05: (within /usr/bin/dolphin)
==7359==    by 0x4435FC: (within /usr/bin/dolphin)
==7359==    by 0x8DBE465: (below main) (in /lib/libc-2.8.90.so)
==7359== 
==7359== ERROR SUMMARY: 34 errors from 9 contexts (suppressed: 200 from 5)
==7359== malloc/free: in use at exit: 2,435,580 bytes in 22,967 blocks.
==7359== malloc/free: 615,883 allocs, 592,916 frees, 135,538,172 bytes allocated.
==7359== For counts of detected errors, rerun with: -v
==7359== searching for pointers to 22,967 not-freed blocks.
==7359== checked 2,710,840 bytes.
==7359== 
==7359== LEAK SUMMARY:
==7359==    definitely lost: 245,072 bytes in 11,751 blocks.
==7359==      possibly lost: 9,616 bytes in 238 blocks.
==7359==    still reachable: 2,180,892 bytes in 10,978 blocks.
==7359==         suppressed: 0 bytes in 0 blocks.
==7359== Rerun with --leak-check=full to see details of leaked memory.
Comment 4 Frank Reininghaus 2009-01-16 18:46:15 UTC
Thanks for the update! The Konsole output and the Valgrind log seem to be unrelated to the crash, but that was to be expected because you did not get a crash by running Dolphin from a Konsole.

One more helpful thing you could do would be installing debugging packages. I would guess that 'sudo apt-get install kdelibs5-dbg kdebase-dbg' is the command required to do that. If you reproduce the crash then and get a backtrace (like you did in the original report), this will add more information to the '?? ()' lines and also line number information which could give a hint to the root cause of the bug.
Comment 5 Frank Reininghaus 2009-01-16 18:53:37 UTC
I'm reassigning this to KIO because the backtrace from the original report indicates that it might be a KIO issue.

David: note that bug 180740, bug 180621, and bug 180562, apparently all reported for 4.2-development versions, have the same (incomplete) backtrace. The backtrace also resembles bug 168478 which is fixed since 4.1.3 (and which I still can't reproduce in trunk rev. 911116).
Comment 6 David Faure 2009-01-16 19:19:22 UTC
Please add --nofork after "dolphin" when running valgrind.
Comment 7 Bernd Oliver Sünderhauf 2009-01-21 17:54:47 UTC
With identical backtraces, this is obviously essentially the same bug as bug 180621, so I'm marking this as duplicate.

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