Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

yet another backtrace — crash when I close the software #838

Closed
ariasuni opened this issue Apr 4, 2013 · 10 comments
Closed

yet another backtrace — crash when I close the software #838

ariasuni opened this issue Apr 4, 2013 · 10 comments
Assignees
Labels

Comments

@ariasuni
Copy link

ariasuni commented Apr 4, 2013

When I close the browser, I have this message:

QupZilla: 0 extensions loaded
QupZilla: Crashed :( Saving backtrace in /home/seb/.config/qupzilla/crashlog ...
Backtrace successfuly saved in /home/seb/.config/qupzilla/crashlog/Crash-2013-04-04T19:23:00.txt

I’m on Arch Linux, with the latest version available now. Here the backtrace:

Time: jeu. avr. 4 19:23:00 2013
Qt version: 4.8.4 (compiled with 4.8.4)
QupZilla version: 1.5.0
WebKit version: 537.21

============== BACKTRACE ==============
#0: qupzilla() [0x402dac]
#1: /usr/lib/libc.so.6(+0x35240) [0x7f73acf9b240]
#2: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate20reparentFocusWidgetsEP7QWidget+0x18a) [0x7f73adf0c79a]
#3: /usr/lib/libQtGui.so.4(_ZN7QWidget9setParentEPS_6QFlagsIN2Qt10WindowTypeEE+0x34d) [0x7f73adf206ad]
#4: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate4initEP7QWidget6QFlagsIN2Qt10WindowTypeEE+0x183) [0x7f73adf20f43]
#5: /usr/lib/libQtGui.so.4(_ZN7QWidgetC1EPS_6QFlagsIN2Qt10WindowTypeEE+0x82) [0x7f73adf21512]
#6: /usr/lib/kde4/plugins/styles/oxygen.so(+0x53a5d) [0x7f739cf53a5d]
#7: /usr/lib/kde4/plugins/styles/oxygen.so(+0x52691) [0x7f739cf52691]
#8: /usr/lib/kde4/plugins/styles/oxygen.so(+0x4f9b1) [0x7f739cf4f9b1]
#9: /usr/lib/kde4/plugins/styles/oxygen.so(+0x5007a) [0x7f739cf5007a]
#10: /usr/lib/kde4/plugins/styles/oxygen.so(+0x52cf7) [0x7f739cf52cf7]
#11: /usr/lib/kde4/plugins/styles/oxygen.so(+0x75bae) [0x7f739cf75bae]
#12: /usr/lib/libQtGui.so.4(+0x505356) [0x7f73ae209356]
#13: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate15setStyle_helperEP6QStylebb+0x10a) [0x7f73adf13d5a]
#14: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate12inheritStyleEv+0x1ab) [0x7f73adf1411b]
#15: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate15setStyle_helperEP6QStylebb+0x146) [0x7f73adf13d96]
#16: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate12inheritStyleEv+0x1ab) [0x7f73adf1411b]
#17: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate15setStyle_helperEP6QStylebb+0x146) [0x7f73adf13d96]
#18: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate12inheritStyleEv+0x1ab) [0x7f73adf1411b]
#19: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate15setStyle_helperEP6QStylebb+0x146) [0x7f73adf13d96]
#20: /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate12inheritStyleEv+0x1ab) [0x7f73adf1411b]
#21: /usr/lib/libQtGui.so.4(_ZN7QWidget9setParentEPS_6QFlagsIN2Qt10WindowTypeEE+0x3c3) [0x7f73adf20723]
#22: /usr/lib/libQtGui.so.4(_ZN7QWidget9setParentEPS_+0x22) [0x7f73adf20ce2]
#23: /usr/lib/libQupZilla.so.1(_ZN6WebTabD2Ev+0xc1) [0x7f73b0e7e3b1]
#24: /usr/lib/libQupZilla.so.1(_ZN6WebTabD0Ev+0x9) [0x7f73b0e7e459]
#25: /usr/lib/libQtCore.so.4(_ZN14QObjectPrivate14deleteChildrenEv+0x82) [0x7f73ad9b7db2]
#26: /usr/lib/libQtGui.so.4(_ZN7QWidgetD2Ev+0x334) [0x7f73adf17cc4]
#27: /usr/lib/libQtGui.so.4(_ZN14QStackedWidgetD0Ev+0x9) [0x7f73ae3224b9]
#28: /usr/lib/libQtCore.so.4(_ZN14QObjectPrivate14deleteChildrenEv+0x82) [0x7f73ad9b7db2]
#29: /usr/lib/libQtGui.so.4(_ZN7QWidgetD2Ev+0x334) [0x7f73adf17cc4]
#30: /usr/lib/libQupZilla.so.1(_ZN9TabWidgetD0Ev+0x9) [0x7f73b0e51c79]
#31: /usr/lib/libQtCore.so.4(_ZN14QObjectPrivate14deleteChildrenEv+0x82) [0x7f73ad9b7db2]
#32: /usr/lib/libQtGui.so.4(_ZN7QWidgetD2Ev+0x334) [0x7f73adf17cc4]
#33: /usr/lib/libQtGui.so.4(_ZN9QSplitterD0Ev+0x9) [0x7f73ae320769]
#34: /usr/lib/libQtCore.so.4(_ZN14QObjectPrivate14deleteChildrenEv+0x82) [0x7f73ad9b7db2]
#35: /usr/lib/libQtGui.so.4(_ZN7QWidgetD2Ev+0x334) [0x7f73adf17cc4]
#36: /usr/lib/libQtGui.so.4(_ZN7QWidgetD0Ev+0x9) [0x7f73adf18019]
#37: /usr/lib/libQtCore.so.4(_ZN14QObjectPrivate14deleteChildrenEv+0x82) [0x7f73ad9b7db2]
#38: /usr/lib/libQtGui.so.4(_ZN7QWidgetD2Ev+0x334) [0x7f73adf17cc4]
#39: /usr/lib/libQupZilla.so.1(_ZN8QupZillaD0Ev+0x9) [0x7f73b0dc80f9]
#40: /usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x298) [0x7f73ad9ba098]
#41: /usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x6a) [0x7f73adf1d18a]
#42: /usr/lib/libQtGui.so.4(_ZN11QMainWindow5eventEP6QEvent+0x6b) [0x7f73ae2e225b]
#43: /usr/lib/libQupZilla.so.1(_ZN8QupZilla5eventEP6QEvent+0x1e) [0x7f73b0dc6d3e]
#44: /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac) [0x7f73adece18c]
#45: /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x13a) [0x7f73aded260a]
#46: /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e) [0x7f73ad9a56ae]
#47: /usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x421) [0x7f73ad9a9011]
#48: /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xbf) [0x7f73ad9a935f]
#49: qupzilla() [0x402818]
#50: /usr/lib/libc.so.6(__libc_start_main+0xf5) [0x7f73acf87a15]
#51: qupzilla() [0x402af1]

I think all the needed informations are on the backtrace.

@JHooverman
Copy link
Member

Are you able to reproduce this crash? What did you do before this happened? Did you visit a specific webpage?Would you post the entries of History-> Recently Visited?

@nowrep
Copy link
Member

nowrep commented Apr 4, 2013

Looks like some particular issue with KDE's Oxygen theme.
What is your KDE version?

@ariasuni
Copy link
Author

ariasuni commented Apr 4, 2013

@JHooverman: the bug append even if I open and close the browser without doing anything else.

I’m on KDE 4.10.1. KDE 4.10.2 will be available soon, so I’ll test it again. I use the default Oxygen colors.

@JHooverman
Copy link
Member

Will it be possible to switch to another theme like "Linux default" and see, if that crash still occurs?

@ariasuni
Copy link
Author

ariasuni commented Apr 4, 2013

It crash with any theme.

@JHooverman
Copy link
Member

You might try to create a new fresh profile or a fresh .qupzilla directory to see, if your issue is related to QupZilla or to a broken settings file or profile.

@ariasuni
Copy link
Author

ariasuni commented Apr 4, 2013

It’s the «tab on top» option that makes QupZilla crash.

Oh, I've forgotten to tell you that when I close QupZilla, a systemd-core process spawn and eat all the memory (at least on my machine), so it freezes my computer and I need to reboot (and lost what I'm doing…)

@nowrep
Copy link
Member

nowrep commented Apr 5, 2013

Oh, I've forgotten to tell you that when I close QupZilla, a systemd-core process spawn and eat all the memory (at least on my machine), so it freezes my computer and I need to reboot (and lost what I'm doing…)

Yeah, but this is systemd's issue ...

It’s the «tab on top» option that makes QupZilla crash.

Thanks for finding the reason, I'll take a look at it.

@nowrep
Copy link
Member

nowrep commented Apr 7, 2013

Can you please try this?

diff --git a/src/lib/webview/webtab.cpp b/src/lib/webview/webtab.cpp
index abbcbfc..05abfc1 100644
--- a/src/lib/webview/webtab.cpp
+++ b/src/lib/webview/webtab.cpp
@@ -365,7 +365,7 @@ void WebTab::disconnectObjects()

 WebTab::~WebTab()
 {
-    if (m_navigationContainer && qzSettings->tabsOnTop) {
+    if (m_navigationContainer && qzSettings->tabsOnTop && !mApp->isClosing()) {
         m_layout->removeWidget(m_navigationContainer);

         // Needed to prevent flickering when closing tabs

@ghost ghost assigned nowrep Apr 7, 2013
@ariasuni
Copy link
Author

ariasuni commented Apr 8, 2013

It works!

@ariasuni ariasuni closed this as completed Apr 8, 2013
nowrep added a commit that referenced this issue May 13, 2013
nowrep added a commit that referenced this issue May 13, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants