https://bugs.kde.org/show_bug.cgi?id=365872

            Bug ID: 365872
           Summary: Partition manager crash when try decrease partition
           Product: partitionmanager
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: peer7...@gmail.com

Application: partitionmanager (2.2.1)

Qt Version: 5.7.0
Frameworks Version: 5.24.0
Operating System: Linux 4.6.4-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
I want decrise fat32 partition.

>From gdb log I see that:
- I have set sd card in lock switch
- some problems with cylinder that not ending on cylinder end

my gdb log (sorry that is in polish but I have problems to set up program to
english):
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/partitionmanager 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe5985700 (LWP 3604)]
[New Thread 0x7fffdd060700 (LWP 3606)]
Loaded backend plugin:  "pmlibpartedbackendplugin"
QLayout: Attempting to add QLayout "" to PartitionManagerWidget
"m_PartitionManagerWidget", which already has a layout
QLayout: Attempting to add QLayout "" to ListDevices "m_ListDevices", which
already has a layout
QLayout: Attempting to add QLayout "" to QWidget "m_ListOperations", which
already has a layout
QLayout: Attempting to add QLayout "" to QWidget "m_InfoPane", which already
has a layout
QLayout: Attempting to add QLayout "" to QWidget "m_TreeLog", which already has
a layout
"Używanie wtyczki silnika: pmlibpartedbackendplugin (1)"
"Przeszukiwanie urządzeń..."
[New Thread 0x7fffd57d1700 (LWP 3688)]
"Znaleziono urządzenie: ATA KINGSTON SV300S3"
QFileInfo::absolutePath: Constructed with empty filename
blkid: unknown file system type  ""  on  "/dev/sda3"
QFileInfo::absolutePath: Constructed with empty filename
QFileInfo::absolutePath: Constructed with empty filename
"Partycja ‘/dev/sda4’ nie kończy się na granicy cylindra (ostatni sektor:
119098254, modulo: 911)."
getting smart status failed for  "/dev/mmcblk0" :  Operacja nie obsługiwana
"Znaleziono urządzenie: SD SL32G"
"Wyjątek LibParted: Nie można otworzyć /dev/mmcblk0 jednocześnie w trybie do
odczytu i zapisu (System plików wyłącznie do odczytu). /dev/mmcblk0 został
otwarty tylko w trybie do odczytu."
"Wyjątek LibParted: Nie można otworzyć /dev/mmcblk0 jednocześnie w trybie do
odczytu i zapisu (System plików wyłącznie do odczytu). /dev/mmcblk0 został
otwarty tylko w trybie do odczytu."
"Wyjątek LibParted: Nie można otworzyć /dev/mmcblk0 jednocześnie w trybie do
odczytu i zapisu (System plików wyłącznie do odczytu). /dev/mmcblk0 został
otwarty tylko w trybie do odczytu."
QFileInfo::absolutePath: Constructed with empty filename
"Partycja ‘/dev/mmcblk0p1’ nie kończy się na granicy cylindra (ostatni sektor:
62333951, modulo: 1024)."
[Thread 0x7fffd57d1700 (LWP 3688) exited]
"Przeszukiwanie zakończone."
"Dodaj działanie: Przenoszenie partycji ‘/dev/mmcblk0p1’ na lewo o 3,00 MiB i
zmniejszanie jej z 29,72 GiB do 29,72 GiB"
Właścicielem XDG_RUNTIME_DIR (/run/user/1000) nie jest UID 0, ale UID 1000
(może to być spowodowane próbą połączenia do kopii PulseAudio niebędącej rootem
jako użytkownik root przez natywny protokół, czego nie należy robić).
[New Thread 0x7fffd57d1700 (LWP 3705)]
Właścicielem XDG_RUNTIME_DIR (/run/user/1000) nie jest UID 0, ale UID 1000
(może to być spowodowane próbą połączenia do kopii PulseAudio niebędącej rootem
jako użytkownik root przez natywny protokół, czego nie należy robić).
[Thread 0x7fffd57d1700 (LWP 3705) exited]
[New Thread 0x7fffd57d1700 (LWP 3706)]
Właścicielem XDG_RUNTIME_DIR (/run/user/1000) nie jest UID 0, ale UID 1000
(może to być spowodowane próbą połączenia do kopii PulseAudio niebędącej rootem
jako użytkownik root przez natywny protokół, czego nie należy robić).
[Thread 0x7fffd57d1700 (LWP 3706) exited]
[New Thread 0x7fffd57d1700 (LWP 3707)]
Właścicielem XDG_RUNTIME_DIR (/run/user/1000) nie jest UID 0, ale UID 1000
(może to być spowodowane próbą połączenia do kopii PulseAudio niebędącej rootem
jako użytkownik root przez natywny protokół, czego nie należy robić).
[Thread 0x7fffd57d1700 (LWP 3707) exited]
[New Thread 0x7fffd57d1700 (LWP 3708)]
[New Thread 0x7fffcc971700 (LWP 3709)]
[New Thread 0x7fffc7fff700 (LWP 3710)]
[New Thread 0x7fffc75f1700 (LWP 3711)]
[New Thread 0x7fffc6df0700 (LWP 3712)]
[New Thread 0x7fffc65ef700 (LWP 3713)]
[New Thread 0x7fffc5dee700 (LWP 3714)]
[New Thread 0x7fffc55ed700 (LWP 3715)]
Aborting aboutToFinish handling.
[Thread 0x7fffc5dee700 (LWP 3714) exited]
"Zatwierdzanie działań..."
[New Thread 0x7fffc5dee700 (LWP 3716)]
[Thread 0x7fffc5dee700 (LWP 3716) exited]

Thread 1 "partitionmanage" received signal SIGSEGV, Segmentation fault.
0x00007ffff7964dbe in PartWidget::paintEvent(QPaintEvent*) ()
   from /usr/lib/libkpmcore.so.3
(gdb)

The crash can be reproduced every time.

-- Backtrace:
Application: Zarządzanie partycjami (partitionmanager), signal: Segmentation
fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff13888c840 (LWP 1114))]

Thread 2 (Thread 0x7ff11d9df700 (LWP 1116)):
#0  0x00007ff1343496cd in poll () from /usr/lib/libc.so.6
#1  0x00007ff12ef96fd6 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff12ef970ec in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007ff134c6e59b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#4  0x00007ff134c180da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#5  0x00007ff134a3b0f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ff132780e75 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007ff134a3fd78 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ff13082e484 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff1343526dd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ff13888c840 (LWP 1114)):
[KCrash Handler]
#4  0x00007ff1382d487f in Partition::sectorsUsed() const () from
/usr/lib/libkpmcore.so.3
#5  0x00007ff138308c6c in PartWidget::paintEvent(QPaintEvent*) () from
/usr/lib/libkpmcore.so.3
#6  0x00007ff135940f18 in QWidget::event(QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#7  0x00007ff1358f9e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#8  0x00007ff1359015b1 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#9  0x00007ff134c19c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#10 0x00007ff135939cea in QWidgetPrivate::sendPaintEvent(QRegion const&) ()
from /usr/lib/libQt5Widgets.so.5
#11 0x00007ff13593a339 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQt5Widgets.so.5
#12 0x00007ff13593b02c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ff13593af19 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ff135939ea4 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQt5Widgets.so.5
#15 0x00007ff13593b02c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007ff13593af19 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007ff135939ea4 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQt5Widgets.so.5
#18 0x00007ff13593b02c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007ff13593af19 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007ff135939ea4 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQt5Widgets.so.5
#21 0x00007ff13590a0fa in ?? () from /usr/lib/libQt5Widgets.so.5
#22 0x00007ff13590a2b7 in ?? () from /usr/lib/libQt5Widgets.so.5
#23 0x00007ff13592911f in QWidgetPrivate::syncBackingStore() () from
/usr/lib/libQt5Widgets.so.5
#24 0x00007ff135940fe8 in QWidget::event(QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#25 0x00007ff135a3f50b in QMainWindow::event(QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#26 0x00007ff137a8a21a in KMainWindow::event(QEvent*) () from
/usr/lib/libKF5XmlGui.so.5
#27 0x00007ff137adbb45 in KXmlGuiWindow::event(QEvent*) () from
/usr/lib/libKF5XmlGui.so.5
#28 0x00007ff1358f9e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#29 0x00007ff1359015b1 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#30 0x00007ff134c19c80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#31 0x00007ff134c1c3fd in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#32 0x00007ff134c6e173 in ?? () from /usr/lib/libQt5Core.so.5
#33 0x00007ff12ef96dd7 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#34 0x00007ff12ef97040 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007ff12ef970ec in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#36 0x00007ff134c6e57f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#37 0x00007ff134c180da in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#38 0x00007ff134c205cc in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#39 0x0000000000425d9c in main ()

Possible duplicates by query: bug 364863, bug 364645, bug 357114.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to