Bug 282474 - Crash on startup
Summary: Crash on startup
Status: RESOLVED FIXED
Alias: None
Product: rekonq
Classification: Applications
Component: general (show other bugs)
Version: 0.7.92
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Andrea Diamantini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 12:55 UTC by Andrea Di Menna
Modified: 2011-09-23 14:48 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 Andrea Di Menna 2011-09-21 12:55:28 UTC
Application: rekonq (0.7.92)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
built rekonq from git master using KDE 4.7.00. Simply starting rekonq causes a Segmentation fault.

The crash can be reproduced every time.

-- Backtrace:
Application: rekonq (rekonq), signal: Segmentation fault
[KCrash Handler]
#7  QList (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:118
#8  QWidget::actions (this=0x0) at kernel/qwidget.cpp:3251
#9  0x001a78f8 in MainWindow::finalizeGUI (this=0x8448ed0, client=0x8448f34) at /home/koalix/KDE/applications/rekonq-git/src/mainwindow.cpp:616
#10 0x025bb18e in KXMLGUIFactory::addClient (this=0x8508110, client=0x8448f34) at ../../kdeui/xmlgui/kxmlguifactory.cpp:280
#11 0x025acce5 in KXmlGuiWindow::createGUI (this=0x8448ed0, xmlfile=...) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:274
#12 0x025ad4f7 in KXmlGuiWindow::setupGUI (this=0x8448ed0, defaultSize=..., options=..., xmlfile=...) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:210
#13 0x025ad628 in KXmlGuiWindow::setupGUI (this=0x8448ed0, options=..., xmlfile=...) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:186
#14 0x001a7489 in MainWindow::MainWindow (this=0x8448ed0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/koalix/KDE/applications/rekonq-git/src/mainwindow.cpp:156
#15 0x00191e8e in Application::newMainWindow (this=0xbfca6818, withTab=true) at /home/koalix/KDE/applications/rekonq-git/src/application.cpp:437
#16 0x0019257b in Application::loadUrl (this=0xbfca6818, url=..., type=@0xbfca5b7c) at /home/koalix/KDE/applications/rekonq-git/src/application.cpp:392
#17 0x0019317f in Application::newInstance (this=0xbfca6818) at /home/koalix/KDE/applications/rekonq-git/src/application.cpp:223
#18 0x02498604 in KUniqueApplicationAdaptor::newInstance (this=0x843f8a0, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#19 0x024986c2 in KUniqueApplicationAdaptor::qt_metacall (this=0x843f8a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfca5dac) at ./kuniqueapplication_p.moc:81
#20 0x00837acd in QDBusConnectionPrivate::deliverCall (this=0x8341d08, object=0x843f8a0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:942
#21 0x00838bb2 in QDBusConnectionPrivate::activateCall (this=0x8341d08, object=0x843f8a0, flags=337, msg=...) at qdbusintegrator.cpp:845
#22 0x008391ac in QDBusConnectionPrivate::activateObject (this=0x8341d08, node=..., msg=..., pathStartPos=16) at qdbusintegrator.cpp:1430
#23 0x0083962a in QDBusActivateObjectEvent::placeMetaCall (this=0x84255c8) at qdbusintegrator.cpp:1524
#24 0x034c33b7 in QObject::event (this=0xbfca6818, e=0x84255c8) at kernel/qobject.cpp:1226
#25 0x034ae6ab in QCoreApplication::event (this=0xbfca6818, e=0x84255c8) at kernel/qcoreapplication.cpp:1560
#26 0x0279823f in QApplication::event (this=0xbfca6818, e=0x84255c8) at kernel/qapplication.cpp:2503
#27 0x02795d24 in QApplicationPrivate::notify_helper (this=0x834a638, receiver=0xbfca6818, e=0x84255c8) at kernel/qapplication.cpp:4462
#28 0x0279a8ce in QApplication::notify (this=0xbfca6818, receiver=0xbfca6818, e=0x84255c8) at kernel/qapplication.cpp:3862
#29 0x0249193a in KApplication::notify (this=0xbfca6818, receiver=0xbfca6818, event=0x84255c8) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x034ae0bb in QCoreApplication::notifyInternal (this=0xbfca6818, receiver=0xbfca6818, event=0x84255c8) at kernel/qcoreapplication.cpp:731
#31 0x034b1c79 in sendEvent (receiver=0x0, event_type=0, data=0x830d918) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x830d918) at kernel/qcoreapplication.cpp:1372
#33 0x034b1e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#34 0x034db3c4 in sendPostedEvents (s=0x834dfb8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x834dfb8) at kernel/qeventdispatcher_glib.cpp:277
#36 0x03c52aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x03c53270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x03c53524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0x034db53c in QEventDispatcherGlib::processEvents (this=0x830d470, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0x0284c1e5 in QGuiEventDispatcherGlib::processEvents (this=0x830d470, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x034ad289 in QEventLoop::processEvents (this=0xbfca6774, flags=...) at kernel/qeventloop.cpp:149
#42 0x034ad522 in QEventLoop::exec (this=0xbfca6774, flags=...) at kernel/qeventloop.cpp:201
#43 0x034b1ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#44 0x027938e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#45 0x00231bc3 in kdemain (argc=1, argv=0xbfca6b44) at /home/koalix/KDE/applications/rekonq-git/src/main.cpp:215
#46 0x0804874b in main (argc=1, argv=0xbfca6b44) at /home/koalix/KDE/applications/rekonq-git/build/src/rekonq_dummy.cpp:3

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

Possible duplicates by query: bug 280291.

Reported using DrKonqi
Comment 1 Andrea Di Menna 2011-09-21 13:29:31 UTC
This was happening because I was running rekonq from the build dir without installing it.
If I install it with make install everything is working fine.

It would probably be better to rephrase what it is written in the INSTALL file:

=== Building rekonq ===

To build it perform the following commands after switching into the rekonq directory
(for example ~/mainline or ~/0.4):

    mkdir build && cd build
    cmake ..
    make && sudo make install

If you want to install rekonq locally, do not run the "make install" command. rekonq can
then be found in build/src and is executed with ./rekonq.
Comment 2 Felix Rohrbach 2011-09-21 15:54:04 UTC
Git commit 6e833fcc4ba9697df58c9a5b1bf35cbf6f0cc70e by Felix Rohrbach.
Committed on 21/09/2011 at 16:23.
Pushed by felixr into branch 'master'.

Don't crash if the rekonqui.rc file can't be found

REVIEW: 102673
CCBUG: 282474

M  +5    -1    src/mainwindow.cpp

http://commits.kde.org/rekonq/6e833fcc4ba9697df58c9a5b1bf35cbf6f0cc70e