Menu

#2 baduK crashing on start.

open-accepted
None
7
2006-07-29
2006-07-26
Anonymous
No

$ ./baduK
ASSERT: "visual != -1" in file
itemviews/qheaderview.cpp, line 606
Aborted

I've just done a qmake-qt4 && make.

$ gdb -q ./baduK
Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program:
/home/dmartin/Desktop/games/baduK_0_1/baduK
[Thread debugging using libthread_db enabled]
[New Thread -1222121248 (LWP 6052)]
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
ASSERT: "visual != -1" in file
itemviews/qheaderview.cpp, line 606

Program received signal SIGABRT, Aborted.
[Switching to Thread -1222121248 (LWP 6052)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb753e9a1 in raise () from
/lib/tls/i686/cmov/libc.so.6
#2 0xb75402b9 in abort () from
/lib/tls/i686/cmov/libc.so.6
#3 0xb77873f3 in qt_message_output (msgType=QtFatalMsg,
buf=0xbf913d10 "ASSERT: \"visual != -1\" in file
itemviews/qheaderview.cpp, line 606") at
global/qglobal.cpp:1926
#4 0xb7787451 in qFatal (msg=0xb786d65c "ASSERT:
\"%s\" in file %s, line %d")
at global/qglobal.cpp:2142
#5 0xb77874d1 in qt_assert (assertion=0xb7e072b5
"visual != -1",
file=0xb7e07265 "itemviews/qheaderview.cpp", line=606)
at global/qglobal.cpp:1691
#6 0xb7d5ea6e in QHeaderView::resizeSection
(this=0x819cce0, logicalIndex=0,
size=80) at itemviews/qheaderview.cpp:606
#7 0x0809ee7a in GamesTab::setupModel (this=0x81e0b70)
at GamesTab.cpp:627
#8 0x080a0922 in GamesTab (this=0x81e0b70, db=0xbf9165f0,
databaseViewer=0x81b4858, parent=0x0) at
GamesTab.cpp:488
#9 0x0807a7bb in DatabaseViewer (this=0x81b4858,
mainWindow=0xbf916530,
parent=0x0) at DatabaseViewer.cpp:15
#10 0x080be6c8 in MainWindow (this=0xbf916530,
db=0xbf9165f0, parent=0x0,
flags=@0xbf91668c) at MainWindow.cpp:263
#11 0x080a71ea in main (argc=1, argv=0xbf916724) at
main.cpp:48
(gdb)

Anything else ? I am using enligthenment and X.org on
ubuntu daper drake. QT applications usely works fine on
my system.

Discussion

  • Neil Mclean

    Neil Mclean - 2006-07-27

    Logged In: YES
    user_id=1512206

    One other user reports the same bug. I can't replicate this
    bug but thanks for the gdb output, we will try make a fix
    available as soon as possible.

     
  • Neil Mclean

    Neil Mclean - 2006-07-27
    • priority: 5 --> 7
    • status: open --> pending-accepted
     
  • Neil Mclean

    Neil Mclean - 2006-07-28
    • status: pending-accepted --> open-accepted
     
  • Neil Mclean

    Neil Mclean - 2006-07-28

    Logged In: YES
    user_id=1512206

    Please state which version of Qt you are using.

    Another user using Qt 4.1.2 on Linux reported the same bug.
    Some Linux users ( Gentoo ) report fully working.

    We have made a fix for this bug but other related (Qt4.1.2
    ?) bugs are in the process of being fixed.

     
  • Neil Mclean

    Neil Mclean - 2006-07-29
    • assigned_to: nobody --> nmclean
     
  • Damien

    Damien - 2006-07-29

    Logged In: YES
    user_id=1564204

    Ok I've got a sourceforge account now. The qt version is
    4.1.2 :). If you need any further test, feel free to contact me.

     
  • Neil Mclean

    Neil Mclean - 2006-07-30

    Logged In: YES
    user_id=1512206

    Try using Qt 4.1.4 to solve the problem.

     
  • Damien

    Damien - 2006-08-04

    Logged In: YES
    user_id=1564204

    I finally got the time to do the test. I still got the same
    error with QT 4.1.4. Here's the bt inside gdb:
    (gdb) bt
    #0 0xffffe410 in __kernel_vsyscall ()
    #1 0xb736a9a1 in raise () from /lib/tls/i686/cmov/libc.so.6
    #2 0xb736c2b9 in abort () from /lib/tls/i686/cmov/libc.so.6
    #3 0xb75cba8b in qt_message_output (msgType=QtFatalMsg,
    buf=0xbf8c8610 "ASSERT: \"visual != -1\" in file
    itemviews/qheaderview.cpp, line 636") at global/qglobal.cpp:1931
    #4 0xb75cbae9 in qFatal (msg=0xb76bce9c "ASSERT: \"%s\" in
    file %s, line %d")
    at global/qglobal.cpp:2147
    #5 0xb75cbb69 in qt_assert (assertion=0xb7eb9665 "visual !=
    -1",
    file=0xb7eb9629 "itemviews/qheaderview.cpp", line=636)
    at global/qglobal.cpp:1691
    #6 0xb7e0d9aa in QHeaderView::resizeSection
    (this=0x81e8a58, logicalIndex=0,
    size=80) at itemviews/qheaderview.cpp:636
    #7 0x08075e81 in DatabaseTab::setupModel (this=0x81e78b0)
    at DatabaseTab.cpp:420
    #8 0x08077b06 in DatabaseTab (this=0x81e78b0,
    databaseViewer=0x81a5230,
    parent=0x0) at DatabaseTab.cpp:325
    #9 0x0807a8f2 in DatabaseViewer (this=0x81a5230,
    mainWindow=0xbf8cad30,
    parent=0x0) at DatabaseViewer.cpp:16
    #10 0x080be7ac in MainWindow (this=0xbf8cad30,
    db=0xbf8cadf0, parent=0x0,
    flags=@0xbf8cae8c) at MainWindow.cpp:263
    #11 0x080a72ce in main (argc=1, argv=0xbf8caf24) at main.cpp:48

     

Log in to post a comment.