Bug 246822 - k3b doesn't start but crashes before it opens
Summary: k3b doesn't start but crashes before it opens
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 1.91.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Michał Małek
URL:
Keywords:
: 247306 254011 255680 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-05 17:31 UTC by Dragan
Modified: 2010-10-31 09:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dragan 2010-08-05 17:31:00 UTC
Application: k3b (1.91.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic-pae i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
It is as simple as a title of the problem. Whenever i want to start the program, it never opens. It just starts to melee, as I can see sideby the mouse pointer. 

KCrash: Application 'k3b' crashing...
sock_file=/home/dragan/.kde/socket-dragan-desktop/kdeinit4__0


The crash can be reproduced every time.

 -- Backtrace:
Application: K3b (k3b), signal: Aborted
[KCrash Handler]
#6  0xb77cf430 in __kernel_vsyscall ()
#7  0xb446f651 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb4472a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb44a649d in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0xb44b0591 in ?? () from /lib/tls/i686/cmov/libc.so.6
#11 0xb44b1de8 in ?? () from /lib/tls/i686/cmov/libc.so.6
#12 0xb44b4ecd in free () from /lib/tls/i686/cmov/libc.so.6
#13 0xb469f741 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#14 0xb469f79d in operator delete[](void*) () from /usr/lib/libstdc++.so.6
#15 0xb779f548 in K3b::Device::Device::checkWritingModes (this=0x0) at /build/buildd/k3b-1.91.0~rc2/libk3bdevice/k3bdevice.cpp:3181
#16 0xb77a91e8 in K3b::Device::Device::init (this=0x8ed62a0, bCheckWritingModes=true) at /build/buildd/k3b-1.91.0~rc2/libk3bdevice/k3bdevice.cpp:406
#17 0xb77b247f in K3b::Device::DeviceManager::addDevice (this=0x8e75a68, device=0x8ed62a0) at /build/buildd/k3b-1.91.0~rc2/libk3bdevice/k3bdevicemanager.cpp:370
#18 0xb77b3cc1 in K3b::Device::DeviceManager::addDevice (this=0x8e75a68, solidDevice=...) at /build/buildd/k3b-1.91.0~rc2/libk3bdevice/k3bdevicemanager.cpp:362
#19 0x081a8bc9 in K3b::AppDeviceManager::addDevice (this=0x8e75a68, solidDev=...) at /build/buildd/k3b-1.91.0~rc2/src/k3bappdevicemanager.cpp:119
#20 0xb77b1aea in K3b::Device::DeviceManager::checkDevice (this=0x8e75a68, dev=...) at /build/buildd/k3b-1.91.0~rc2/libk3bdevice/k3bdevicemanager.cpp:249
#21 0xb77b2176 in K3b::Device::DeviceManager::scanBus (this=0x8e75a68) at /build/buildd/k3b-1.91.0~rc2/libk3bdevice/k3bdevicemanager.cpp:237
#22 0xb764a39d in K3b::Core::init (this=0x8e75d58) at /build/buildd/k3b-1.91.0~rc2/libk3b/core/k3bcore.cpp:200
#23 0x0815b83f in K3b::Application::Core::init (this=0x8e75d58) at /build/buildd/k3b-1.91.0~rc2/src/k3bapplication.cpp:318
#24 0x0815c954 in K3b::Application::init (this=0xbfb496f0) at /build/buildd/k3b-1.91.0~rc2/src/k3bapplication.cpp:117
#25 0x0815cf8b in K3b::Application::qt_metacall (this=0xbfb496f0, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfb48e4c) at /build/buildd/k3b-1.91.0~rc2/obj-i486-linux-gnu/src/k3bapplication.moc:80
#26 0xb5368c9a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#27 0xb53773d5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#28 0xb537efe7 in ?? () from /usr/lib/libQtCore.so.4
#29 0xb537f0fc in ?? () from /usr/lib/libQtCore.so.4
#30 0xb5374254 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#31 0xb480f4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0xb481605e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0xb5a79f2a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#34 0xb5363a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#35 0xb5392d66 in ?? () from /usr/lib/libQtCore.so.4
#36 0xb538f8e4 in ?? () from /usr/lib/libQtCore.so.4
#37 0xb3b6c5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0xb3b702d8 in ?? () from /lib/libglib-2.0.so.0
#39 0xb3b704b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0xb538f5d5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0xb48cf135 in ?? () from /usr/lib/libQtGui.so.4
#42 0xb5362059 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0xb53624aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0xb536669f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#45 0xb480f577 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#46 0x0817caf4 in main (argc=1, argv=0xbfb49ab4) at /build/buildd/k3b-1.91.0~rc2/src/main.cpp:165

Possible duplicates by query: bug 238819.

Reported using DrKonqi
Comment 1 Michał Małek 2010-08-11 07:50:31 UTC
*** Bug 247306 has been marked as a duplicate of this bug. ***
Comment 2 Michał Małek 2010-08-20 08:19:13 UTC
SVN commit 1165726 by mmalek:

Fixed GPF: make sure buffer is not double-freed
BUG: 246822


 M  +5 -0      ChangeLog  
 M  +11 -0     libk3bdevice/k3bdevice_mmc.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1165726
Comment 3 Michał Małek 2010-08-22 21:38:53 UTC
SVN commit 1166748 by mmalek:

Don't allocate buffers manually, use QVarLengthArray instead. This way we a avoid memory-leaks and double-free GPFs.
BUG: 246822

 M  +5 -0      ChangeLog  
 M  +5 -9      libk3b/jobs/k3bdatatrackreader.cpp  
 M  +140 -245  libk3bdevice/k3bdevice.cpp  
 M  +15 -14    libk3bdevice/k3bdevice.h  
 M  +123 -135  libk3bdevice/k3bdevice_mmc.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1166748
Comment 4 Pino Toscano 2010-10-13 01:14:57 UTC
*** Bug 254011 has been marked as a duplicate of this bug. ***
Comment 5 Pino Toscano 2010-10-31 09:25:12 UTC
*** Bug 255680 has been marked as a duplicate of this bug. ***