Bug 275554 - Dolphin crashes when CF card (via USB) is unmounted -> formatted -> mounted
Summary: Dolphin crashes when CF card (via USB) is unmounted -> formatted -> mounted
Status: RESOLVED DUPLICATE of bug 229096
Alias: None
Product: kfile
Classification: Applications
Component: kfileplacesview (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 15:50 UTC by Vivek Umasuthan
Modified: 2011-06-17 00:39 UTC (History)
0 users

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 Vivek Umasuthan 2011-06-13 15:50:00 UTC
Application: dolphin (1.5)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I was using a script to flash a CF card. Typically this is what happens.

1. Keep Dolphin open when plugging in the CF card.
2. The CF card will be automatically mounted by the system.
3. Unmount the drives in the CF card.
4. Format/Delete all partitions and create new ones.
5. Mount partitions and start copying data.

The problem happens sometimes only and also I cannot be sure whether it happens when the script is mounting the partitions or deleting them. Sorry for the inconvenience but the script cannot be provided. However, I can provide part of the output of the script.

SCRIPT OUTPUT
==============
Found 1989792 sectors on a 971 Mbyte flash card
Creating raw partition for boothistory on /dev/sde1.. Done
Creating ext2 filesystem for bootoptions on /dev/sde2.. Tuning with tune2fs -C 0 -i 0 /dev/sde2 >/dev/null 2>/dev/null.. Done
Creating ext2 filesystem for logs on /dev/sde3.. Tuning with tune2fs -C 0 -i 0 /dev/sde3 >/dev/null 2>/dev/null.. Done
Creating ext2 filesystem for boot1 on /dev/sde4.. Tuning with tune2fs -C 0 -i 0 /dev/sde4 >/dev/null 2>/dev/null.. Done
Creating ext3 filesystem for rootfs1 on /dev/sde5.. Tuning with tune2fs -C 0 -i 0 /dev/sde5 >/dev/null 2>/dev/null.. Done
Creating ext2 filesystem for boot2 on /dev/sde6.. Tuning with tune2fs -C 0 -i 0 /dev/sde6 >/dev/null 2>/dev/null.. Done
Creating ext3 filesystem for rootfs2 on /dev/sde7.. Tuning with tune2fs -C 0 -i 0 /dev/sde7 >/dev/null 2>/dev/null.. Done

Model: SanDisk CF SDDR-189 (scsi)
Disk /dev/sde: 1989792s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start     End       Size     File system     Name         Flags
 1      34s       161s      128s     linux-swap(v1)  boothistory
 2      162s      4095s     3934s    ext2            bootoptions
 3      4096s     26623s    22528s   ext2            logs
 4      26624s    67583s    40960s   ext2            boot1
 5      67584s    1007615s  940032s  ext3            rootfs1
 6      1007616s  1048575s  40960s   ext2            boot2
 7      1048576s  1988607s  940032s  ext3            rootfs2
        1988608s  1989758s  1151s    Free Space


Mounting for partition 1 building..
Mounting /mnt/dev/sde/ on /dev/sde5.. Done
Mounting /mnt/dev/sde/boot on /dev/sde4.. Done
Mounting /mnt/dev/sde/bootoptions on /dev/sde2.. Done
Mounting /mnt/dev/sde/logs on /dev/sde3.. Done
Extracting data to /dev/sde partition 1.. Done

Setting up /mnt/dev/sde/bootoptions.. Done

Mounting for partition 2 building..
Mounting /mnt/dev/sde/ on /dev/sde7.. Done
Mounting /mnt/dev/sde/boot on /dev/sde6.. Done
Mounting /mnt/dev/sde/bootoptions on /dev/sde2.. Done
Mounting /mnt/dev/sde/logs on /dev/sde3.. Done
Extracting data to /dev/sde partition 2.. Done
Syncing and Unmounting..

Displaying final population of devices..

Mounting /mnt/dev/sde/boot1 on /dev/sde4.. Done
Mounting /mnt/dev/sde/boot2 on /dev/sde6.. Done
Mounting /mnt/dev/sde/bootoptions on /dev/sde2.. Done
Mounting /mnt/dev/sde/logs on /dev/sde3.. Done
Mounting /mnt/dev/sde/rootfs1 on /dev/sde5.. Done
Mounting /mnt/dev/sde/rootfs2 on /dev/sde7.. Done

boothistory: /dev/sde1 used 0 of 65536 bytes (0%)
bootoptions: /dev/sde2 used 24576 of 1974272 bytes (2%)
logs       : /dev/sde3 used 102400 of 11164672 bytes (1%)
boot1      : /dev/sde4 used 4057088 of 20302848 bytes (22%)
rootfs1    : /dev/sde5 used 252092416 of 466063360 bytes (58%)
boot2      : /dev/sde6 used 4057088 of 20302848 bytes (22%)
rootfs2    : /dev/sde7 used 252095488 of 466063360 bytes (58%)

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa760e32760 (LWP 1792))]

Thread 2 (Thread 0x7fa7467a7700 (LWP 2576)):
#0  0x00007fa76070d203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa7582fc009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fa7582fc45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fa75cb3f1e6 in QEventDispatcherGlib::processEvents (this=0x1c6ac60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fa75cb11a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fa75cb11dec in QEventLoop::exec (this=0x7fa7467a6db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fa75ca1c2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fa75caf15f8 in QInotifyFileSystemWatcherEngine::run (this=0x1eccf00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa75ca1f27e in QThreadPrivate::start (arg=0x1eccf00) at thread/qthread_unix.cpp:266
#9  0x00007fa75a884971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fa76071992d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa760e32760 (LWP 1792)):
[KCrash Handler]
#6  ref (this=0x200dfc8) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString (this=0x200dfc8) at /usr/include/qt4/QtCore/qstring.h:728
#8  udi (this=0x200dfc8) at ../../../solid/solid/device_p.h:41
#9  Solid::Device::udi (this=0x200dfc8) at ../../../solid/solid/device.cpp:99
#10 0x00007fa7603ea86c in KFilePlacesItem::device (this=0x200df90) at ../../kfile/kfileplacesitem.cpp:105
#11 0x00007fa7603eced3 in KFilePlacesModel::deviceForIndex (this=<value optimized out>, index=<value optimized out>) at ../../kfile/kfileplacesmodel.cpp:238
#12 0x00007fa7603f3b87 in KFilePlacesViewDelegate::sizeHint (this=0x1b52010, option=..., index=...) at ../../kfile/kfileplacesview.cpp:132
#13 0x00007fa75dcbd1d3 in QListViewPrivate::itemSize (this=0x1b49aa0, option=..., index=...) at itemviews/qlistview.cpp:1788
#14 0x00007fa75dcbd9dd in itemSize (this=0x1b51900, info=...) at ../../include/QtGui/private/../../../src/gui/itemviews/qlistview_p.h:473
#15 QListModeViewBase::doStaticLayout (this=0x1b51900, info=...) at itemviews/qlistview.cpp:2319
#16 0x00007fa75dcbdc58 in QListModeViewBase::doBatchedItemLayout (this=0x7fff9fe29a10, info=..., max=4456768) at itemviews/qlistview.cpp:2191
#17 0x00007fa75dcb2a75 in QListViewPrivate::doItemsLayout (this=0x1b49aa0, delta=<value optimized out>) at itemviews/qlistview.cpp:1725
#18 0x00007fa75dcb2e5f in QListView::doItemsLayout (this=0x1b440b0) at itemviews/qlistview.cpp:1468
#19 0x00007fa75dc91644 in QAbstractItemView::timerEvent (this=0x1b440b0, event=<value optimized out>) at itemviews/qabstractitemview.cpp:2415
#20 0x00007fa75cb248f9 in QObject::event (this=0x1b440b0, e=0x200dfc8) at kernel/qobject.cpp:1183
#21 0x00007fa75d79a6df in QWidget::event (this=0x1b440b0, event=0x7fff9fe2a9f0) at kernel/qwidget.cpp:8646
#22 0x00007fa75db665e6 in QFrame::event (this=0x1b440b0, e=0x7fff9fe2a9f0) at widgets/qframe.cpp:557
#23 0x00007fa75dbf471b in QAbstractScrollArea::event (this=0x1b440b0, e=0x7fff9fe2a9f0) at widgets/qabstractscrollarea.cpp:996
#24 0x00007fa75dc9851b in QAbstractItemView::event (this=0x1b440b0, event=0x7fff9fe2a9f0) at itemviews/qabstractitemview.cpp:1555
#25 0x00007fa75d744fdc in QApplicationPrivate::notify_helper (this=0x18ae7e0, receiver=0x1b440b0, e=0x7fff9fe2a9f0) at kernel/qapplication.cpp:4396
#26 0x00007fa75d74aaed in QApplication::notify (this=0x7fff9fe2ad50, receiver=0x1b440b0, e=0x7fff9fe2a9f0) at kernel/qapplication.cpp:4277
#27 0x00007fa75e498586 in KApplication::notify (this=0x7fff9fe2ad50, receiver=0x1b440b0, event=0x7fff9fe2a9f0) at ../../kdeui/kernel/kapplication.cpp:310
#28 0x00007fa75cb12cdc in QCoreApplication::notifyInternal (this=0x7fff9fe2ad50, receiver=0x1b440b0, event=0x7fff9fe2a9f0) at kernel/qcoreapplication.cpp:732
#29 0x00007fa75cb426f2 in sendEvent (this=0x18b56b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0x18b56b0) at kernel/qeventdispatcher_unix.cpp:602
#31 0x00007fa75cb3f4a4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#32 0x00007fa7582f8342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007fa7582fc2a8 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007fa7582fc45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007fa75cb3f193 in QEventDispatcherGlib::processEvents (this=0x1884e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#36 0x00007fa75d7f7a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff9fe29a10, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fa75cb11a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007fa75cb11dec in QEventLoop::exec (this=0x7fff9fe2ac90, flags=) at kernel/qeventloop.cpp:201
#39 0x00007fa75cb15ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0x00007fa7609ff90f in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#41 0x00007fa760651d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff9fe2b268) at libc-start.c:226
#42 0x0000000000400659 in _start ()

This bug may be a duplicate of or related to bug 229096.

Possible duplicates by query: bug 260756, bug 259995, bug 259896, bug 253841, bug 248214.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-06-17 00:39:58 UTC

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