Bug 204614 - K3b crash when create a desktop menu (not a XIOError, Device::from4Byte, Device::Device::getSupportedWriteSpeedsViaGP)
Summary: K3b crash when create a desktop menu (not a XIOError, Device::from4Byte, Devi...
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 1.69.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 199655 206876 213833 214445 216529 218046 220900 221079 221593 221884 222013 222245 223208 223829 225113 225525 225539 225926 226925 226933 230622 233312 234319 234725 234933 244116 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-21 07:46 UTC by Haldrin Figueiredo
Modified: 2010-07-10 18:47 UTC (History)
30 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.90.0


Attachments
New crash information added by DrKonqi (4.22 KB, text/plain)
2010-02-07 17:14 UTC, Fif59
Details
New crash information added by DrKonqi (2.94 KB, text/plain)
2010-02-21 16:02 UTC, Markus Laker
Details
New crash information added by DrKonqi (2.18 KB, text/plain)
2010-02-23 04:51 UTC, Craig Magina
Details
New crash information added by DrKonqi (2.70 KB, text/plain)
2010-03-03 22:16 UTC, oneforall
Details
New crash information added by DrKonqi (2.70 KB, text/plain)
2010-03-03 22:16 UTC, oneforall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Haldrin Figueiredo 2009-08-21 07:46:24 UTC
Application that crashed: k3b
Version of the application: 1.66.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-desktop-0.rc6.1mnb i686
Distribution: "Mandriva Linux 2010.0"

 -- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
[Current thread is 1 (Thread 0xb46996d0 (LWP 9975))]

Thread 3 (Thread 0xb1ad4b70 (LWP 9976)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5337911 in select () from /lib/i686/libc.so.6
#2  0xb5f9fa5c in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5ecae93 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb51e3885 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb533f57e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0xb12d3b70 (LWP 10003)):
[KCrash Handler]
#6  0xb8057aa4 in K3b::Device::from4Byte () from /usr/lib/libk3bdevice.so.6
#7  0xb804252d in K3b::Device::Device::getSupportedWriteSpeedsViaGP () from /usr/lib/libk3bdevice.so.6
#8  0xb8044618 in K3b::Device::Device::determineSupportedWriteSpeeds () from /usr/lib/libk3bdevice.so.6
#9  0xb7f25df8 in K3b::Medium::update () from /usr/lib/libk3b.so.6
#10 0xb7f2a359 in K3b::MediaCache::PollThread::run () from /usr/lib/libk3b.so.6
#11 0xb5ecae93 in ?? () from /usr/lib/libQtCore.so.4
#12 0xb51e3885 in start_thread () from /lib/i686/libpthread.so.0
#13 0xb533f57e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb46996d0 (LWP 9975)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5337911 in select () from /lib/i686/libc.so.6
#2  0xb5f9e473 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5f9e61e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5f5d684 in QProcess::waitForFinished () from /usr/lib/libQtCore.so.4
#5  0xb61780e2 in KProcess::execute () from /usr/lib/libkdecore.so.5
#6  0xb7ef7e1d in K3b::SimpleExternalProgram::scanVersion () from /usr/lib/libk3b.so.6
#7  0xb7ef9295 in K3b::SimpleExternalProgram::scan () from /usr/lib/libk3b.so.6
#8  0xb7ef8a05 in K3b::ExternalBinManager::search () from /usr/lib/libk3b.so.6
#9  0xb7ef975d in K3b::ExternalBinManager::readConfig () from /usr/lib/libk3b.so.6
#10 0xb7eedb73 in K3b::Core::readSettings () from /usr/lib/libk3b.so.6
#11 0x08151afa in ?? ()
#12 0x0815325c in ?? ()
#13 0x08153858 in ?? ()
#14 0xb5fd8c44 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb5fd9965 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb5fddf05 in ?? () from /usr/lib/libQtCore.so.4
#17 0xb5fde03c in ?? () from /usr/lib/libQtCore.so.4
#18 0xb5fd28fb in QObject::event () from /usr/lib/libQtCore.so.4
#19 0xb55e66cc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0xb55ee10e in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb64ca528 in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0xb5fc275e in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#23 0xb5ff0c31 in ?? () from /usr/lib/libQtCore.so.4
#24 0xb5fee47e in ?? () from /usr/lib/libQtCore.so.4
#25 0xb4a11ed2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb4a15888 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb4a159ae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb5fee3c8 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb568851a in ?? () from /usr/lib/libQtGui.so.4
#30 0xb5fc0d7d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb5fc11c9 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0xb5fc3660 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0xb55e6544 in QApplication::exec () from /usr/lib/libQtGui.so.4
#34 0x0816ed40 in ?? ()
#35 0xb527fa36 in __libc_start_main () from /lib/i686/libc.so.6
#36 0x0807d931 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-09 17:54:25 UTC
*** Bug 206876 has been marked as a duplicate of this bug. ***
Comment 2 Michał Małek 2009-10-24 19:32:35 UTC
This should be fixed on revision 1034761 (see http://websvn.kde.org/trunk/extragear/multimedia/k3b/libk3bdevice/k3bdevice_mmc.cpp?r1=1034230&r2=1034761 ). Feel free to reopen this bug if it's not the case.
Comment 3 Michał Małek 2009-10-24 21:00:41 UTC
*** Bug 199655 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-11-10 14:08:58 UTC
*** Bug 213833 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-11-14 04:10:15 UTC
*** Bug 214445 has been marked as a duplicate of this bug. ***
Comment 6 Michał Małek 2009-11-28 21:54:22 UTC
*** Bug 216529 has been marked as a duplicate of this bug. ***
Comment 7 Michał Małek 2009-12-09 22:07:40 UTC
*** Bug 218046 has been marked as a duplicate of this bug. ***
Comment 8 Michał Małek 2009-12-09 22:11:30 UTC
Apparently this bug hasn't been fixed on revision 1034761. It still occurs on 1.69.0
Comment 9 Dario Andres 2010-01-01 18:46:07 UTC
*** Bug 220900 has been marked as a duplicate of this bug. ***
Comment 10 Michał Małek 2010-01-03 11:28:50 UTC
*** Bug 221079 has been marked as a duplicate of this bug. ***
Comment 11 Michał Małek 2010-01-07 09:10:32 UTC
*** Bug 221593 has been marked as a duplicate of this bug. ***
Comment 12 Michał Małek 2010-01-09 09:11:58 UTC
*** Bug 221884 has been marked as a duplicate of this bug. ***
Comment 13 Michał Małek 2010-01-10 09:29:04 UTC
*** Bug 222013 has been marked as a duplicate of this bug. ***
Comment 14 Michał Małek 2010-01-11 21:47:17 UTC
*** Bug 222245 has been marked as a duplicate of this bug. ***
Comment 15 Michał Małek 2010-01-17 22:10:59 UTC
*** Bug 223208 has been marked as a duplicate of this bug. ***
Comment 16 Michał Małek 2010-01-22 19:38:36 UTC
*** Bug 223829 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2010-02-01 22:34:37 UTC
*** Bug 225113 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2010-02-05 14:21:58 UTC
From bug 225539:
---
Maybe a bad Platinum DVD-RW? Out of a box of 5, only one would be readable
after burning, all the others cannot be read or anything. There ID is not
recognised either (as opposed to the single good one).
Comment 19 Dario Andres 2010-02-05 14:22:00 UTC
*** Bug 225539 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2010-02-05 14:25:49 UTC
*** Bug 225525 has been marked as a duplicate of this bug. ***
Comment 21 Fif59 2010-02-07 17:14:06 UTC
Created attachment 40589 [details]
New crash information added by DrKonqi

K3b crashed trying to open it on an up-to-date Mandriva cooker
Comment 22 Michał Małek 2010-02-08 19:45:25 UTC
*** Bug 225926 has been marked as a duplicate of this bug. ***
Comment 23 Michał Małek 2010-02-15 09:24:58 UTC
*** Bug 226933 has been marked as a duplicate of this bug. ***
Comment 24 Michał Małek 2010-02-15 09:25:38 UTC
*** Bug 226925 has been marked as a duplicate of this bug. ***
Comment 25 Markus Laker 2010-02-21 16:02:57 UTC
Created attachment 40982 [details]
New crash information added by DrKonqi

K3B crashed on startup.  The crash is not immediately reproducible: when the KDE crash handler restarted K3B, it ran correctly.

I'm using K3B 1.68.0 on KDE 4.4.0 on top of Kubuntu 9.10.  I installed all software from Ubuntu repositories and PPAs.

I'd like to take this opportunity to thank you for your hard work on KDE and its applications.  It really is appreciated!
Comment 26 Craig Magina 2010-02-23 04:51:10 UTC
Created attachment 41024 [details]
New crash information added by DrKonqi

I hit it when I clicked the "Create project from files" in the Device Manager systray plasmoid.  I am running Kubuntu 10.04 32-bit version, fully updated.  KDE 4.4.0, QT 4.6.1.
Comment 27 Michał Małek 2010-02-27 10:43:12 UTC
SVN commit 1096657 by mmalek:

Make sure Device::getPerformance() returns "dataLen" > 8, otherwise the scenario goes like this.
1. We get negative value when computing number of supported write speeds ("numDesc").
2. Because "dataLen" is unsigned this negative number has actually very, very big positive value.
3. Finally we end up reading millions of elements from "data" array (which is actually small), thus causing GPF.
BUG: 204614

 M  +1 -1      k3bdevice.cpp  
 M  +10 -1     k3bdevice_mmc.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1096657
Comment 28 oneforall 2010-03-03 22:16:18 UTC
Created attachment 41299 [details]
New crash information added by DrKonqi

same thing on startup and I have a newer svn version. But it looks a bit diffrent thannthis one but not sure
Comment 29 oneforall 2010-03-03 22:16:18 UTC
Created attachment 41300 [details]
New crash information added by DrKonqi

same thing on startup and I have a newer svn version. But it looks a bit diffrent thannthis one but not sure
Comment 30 Michał Małek 2010-03-03 22:19:33 UTC
oneforall@gmail.com: what SVN revision do you run?
Comment 31 oneforall 2010-03-03 22:29:55 UTC
svn 1095329
Comment 32 oneforall 2010-03-03 22:31:33 UTC
ah duh I should have at least 1096657 right ?
Comment 33 Michał Małek 2010-03-03 22:36:00 UTC
That's right
Comment 34 Michał Małek 2010-03-13 22:03:32 UTC
*** Bug 230622 has been marked as a duplicate of this bug. ***
Comment 35 Dario Andres 2010-04-05 14:41:46 UTC
*** Bug 233312 has been marked as a duplicate of this bug. ***
Comment 36 Michał Małek 2010-04-17 22:47:01 UTC
*** Bug 234319 has been marked as a duplicate of this bug. ***
Comment 37 Michał Małek 2010-04-18 21:53:10 UTC
*** Bug 234725 has been marked as a duplicate of this bug. ***
Comment 38 Jonathan Thomas 2010-04-21 13:55:07 UTC
*** Bug 234933 has been marked as a duplicate of this bug. ***
Comment 39 Michał Małek 2010-07-10 18:46:13 UTC
*** Bug 244116 has been marked as a duplicate of this bug. ***