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

qupzilla 1.1.5 won't start #147

Closed
ht990332 opened this issue Jan 9, 2012 · 8 comments
Closed

qupzilla 1.1.5 won't start #147

ht990332 opened this issue Jan 9, 2012 · 8 comments
Assignees
Labels

Comments

@ht990332
Copy link

ht990332 commented Jan 9, 2012

it crashes on start with the following backtrace (using Qt 4.8.0)

gdb /usr/bin/qupzilla
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/qupzilla...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/qupzilla
[Thread debugging using libthread_db enabled]
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
[New Thread 0xafef5b40 (LWP 4126)]
[New Thread 0xaf21ab40 (LWP 4127)]
[New Thread 0xade5eb40 (LWP 4128)]
0 plugins loaded
[New Thread 0xad4ffb40 (LWP 4129)]
ASSERT: "visual != -1" in file itemviews/qheaderview.cpp, line 1175

Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb507d02f in raise () from /lib/libc.so.6
#2 0xb507e9b5 in abort () from /lib/libc.so.6
#3 0xb537055a in qt_message_output (msgType=QtFatalMsg,

buf=0x86ea3e8 "ASSERT: \"visual != -1\" in file itemviews/qheaderview.cpp, line 1175") at global/qglobal.cpp:2252

#4 0xb537075b in qt_message (msgType=QtFatalMsg,

msg=0xb5514e68 "ASSERT: \"%s\" in file %s, line %d", 
ap=0xbfffea24 "r\234\016\266?\234\016\266\227\004") at global/qglobal.cpp:2298

#5 0xb5370878 in qFatal (msg=0xb5514e68 "ASSERT: "%s" in file %s, line %d")

at global/qglobal.cpp:2481

#6 0xb5370905 in qt_assert (assertion=0xb60e9c72 "visual != -1",

file=0xb60e9c3f "itemviews/qheaderview.cpp", line=1175) at global/qglobal.cpp:1999

#7 0xb5ee2d18 in QHeaderView::setResizeMode (this=0x86fc730, logicalIndex=0,

mode=QHeaderView::Stretch) at itemviews/qheaderview.cpp:1175

#8 0x080b0a4c in ?? ()
#9 0x080b216a in ?? ()
#10 0x080f3c36 in ?? ()
#11 0x080715dc in ?? ()
#12 0x0817d58d in ?? ()
#13 0xb54b2301 in QMetaCallEvent::placeMetaCall (this=0x864fe60, object=0x8407b78)

at kernel/qobject.cpp:525

#14 0xb54bc75b in QObject::event (this=0x8407b78, e=0x864fe60)

at kernel/qobject.cpp:1195

#15 0xb5902863 in QWidget::event (this=0x8407b78, event=0x864fe60)

at kernel/qwidget.cpp:8820

#16 0xb5d968fc in QMainWindow::event (this=0x8407b78, event=0x864fe60)

at widgets/qmainwindow.cpp:1478

#17 0xb589ec6c in notify_helper (e=0x864fe60, receiver=0x8407b78, this=0x831e360)

at kernel/qapplication.cpp:4550

---Type to continue, or q to quit---
#18 QApplicationPrivate::notify_helper (this=0x831e360, receiver=0x8407b78,

e=0x864fe60) at kernel/qapplication.cpp:4522

#19 0xb58a4ced in QApplication::notify (this=0x831e360, receiver=0x8407b78,

e=0x864fe60) at kernel/qapplication.cpp:4411

#20 0xb549effe in QCoreApplication::notifyInternal (this=0xbffff5b8,

receiver=0x8407b78, event=0x864fe60) at kernel/qcoreapplication.cpp:876

#21 0xb54a2dc0 in sendEvent (event=, receiver=)

at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231

#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,

data=0x831e440) at kernel/qcoreapplication.cpp:1500

#23 0xb54a318c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0)

at kernel/qcoreapplication.cpp:1393

#24 0xb54d51e4 in sendPostedEvents ()

at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236

#25 postEventSourceDispatch (s=0x8320790) at kernel/qeventdispatcher_glib.cpp:279
#26 0xb4d1201f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0xb4d12750 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0xb4d129ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0xb54d5677 in QEventDispatcherGlib::processEvents (this=0x831ee10, flags=...)

at kernel/qeventdispatcher_glib.cpp:424

#30 0xb5961e1a in QGuiEventDispatcherGlib::processEvents (this=0x831ee10, flags=...)

at kernel/qguieventdispatcher_glib.cpp:204

#31 0xb549d35d in QEventLoop::processEvents (this=0xbffff554, flags=...)

at kernel/qeventloop.cpp:149

#32 0xb549d5f9 in QEventLoop::exec (this=0xbffff554, flags=...)

at kernel/qeventloop.cpp:204

#33 0xb54a323a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#34 0xb589ca24 in QApplication::exec () at kernel/qapplication.cpp:3811
#35 0x0806ea4e in ?? ()
#36 0xb5068483 in __libc_start_main () from /lib/libc.so.6

---Type to continue, or q to quit---
#37 0x0806e7c1 in ?? ()

Backtrace stopped: Not enough registers or memory available to unwind further

@nowrep
Copy link
Member

nowrep commented Jan 9, 2012

Hi, are other Qt programs running fine?
Because it looks like crash/assert in qheaderview.cpp:

ASSERT: "visual != -1" in file itemviews/qheaderview.cpp, line 1175

@ghost ghost assigned nowrep Jan 9, 2012
@ht990332
Copy link
Author

ht990332 commented Jan 9, 2012

Yes. all Qt applications run fine (KDE, clementine, etc..). I even restarted my computer to double check.

@nowrep
Copy link
Member

nowrep commented Jan 9, 2012

Did version 1.1.0 worked fine? What is your operating system? Did you compiled by yourself or did you used precompiled package?

@ht990332
Copy link
Author

ht990332 commented Jan 9, 2012

I discovered QupZilla just today and compiled 1.1.5 on ArchLinux

I just tried 1.1.0 and it crashes with same error.

@ht990332
Copy link
Author

ht990332 commented Jan 9, 2012

Looks like it was a problem with my Qt installation. I installed the non-debug version and QupZilla won't crash anymore. Sorry for the trouble and thank you for this nice web browser :)

@ht990332 ht990332 closed this as completed Jan 9, 2012
@nowrep
Copy link
Member

nowrep commented Jan 9, 2012

Great, I am happy you figured it out :-)

@ht990332
Copy link
Author

ht990332 commented Jan 9, 2012

One last question. If Qt is compiled with -debug, I get this crash.
If it is not compiled with -debug, I don't get this crash.
It only happens with QupZilla. Does this mean it is a Qt bug?

@nowrep
Copy link
Member

nowrep commented Jan 9, 2012

It is not crashing, it only doesn't pass the ASSERT test, so the app is aborted.

ASSERT: "visual != -1" in file itemviews/qheaderview.cpp, line 1175

Asserts are not executed/tested in release builds.
For some reason, this test is not passed (but app works fine as you are saying) .. it works fine for me with Qt 4.7.4 in both debug and release modes.

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

2 participants