khangman won't start and eats 100% CPU on amd64

Bug #115048 reported by Death Master
12
Affects Status Importance Assigned to Milestone
KDE Educational Applications
Invalid
High
kdeedu (Ubuntu)
Fix Released
High
Harald Sitter
Intrepid
Fix Released
High
Harald Sitter
Jaunty
Fix Released
High
Harald Sitter

Bug Description

Binary package hint: khangman

khangman of kubuntu feisty amd64 won't start. It has the following output:

X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode: 147
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode: 147
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
ASSERT: "i <= nodes" in /usr/share/qt3/include/qvaluelist.h (373)

I tried to purge and reinstall but got the same problem. Doing a google on the assertion, found similar errors in kate/kwrite spell checker, amarok, scribus.
Tried on a 32 bit feisty, khangman works as expected.

Tags: packaging
Revision history for this message
Lydia Pintscher (lydia-pintscher) wrote :

You have reported this bug a long time ago.
Is it still a problem? Did you try newer versions?

Thank you for your report.

Changed in kdeedu:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
John (johnviglis) wrote :

This bug still exists in khangman 4:3.5.9-2 (on a debian lenny-sid amd64)

QGDict::hashKeyString: Invalid null key
QGDict::hashKeyString: Invalid null key
ASSERT: "i <= nodes" in /usr/share/qt3/include/qvaluelist.h (376)

Revision history for this message
Harald Sitter (apachelogger) wrote :

Does it in KDE 4?

Revision history for this message
John (johnviglis) wrote :

I checked only in gnome 2.22.2 and KDE 3.5.5.

Revision history for this message
John (johnviglis) wrote :

sorry, mistype,

I checked only in gnome 2.22.2 and KDE 3.5.9.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Well, as soon as you get your hands on a KDE 4 version of khangman, please report back, thank you.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Interestingly enough the KDE4 port seems to show the same issue.

khangman(7400) KEduVocDocument::KEduVocDocument: constructor done
khangman(7400) KHangMan::setLanguages: Languages ()
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 401
KCrash: Application 'khangman' crashing...
sock_file=/home/jonathan/.kde/socket-jonathan-desktop/kdeinit4__0

Application: KHangMan (khangman), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb6003700 (LWP 7463)]
[KCrash handler]
#6 0xb7f28424 in __kernel_vsyscall ()
#7 0xb688b860 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb688d228 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb749c725 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb749c802 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb749c85c in qt_assert_x () from /usr/lib/libQtCore.so.4
#12 0x0805328e in KHangMan::loadSettings (this=0x9be9330)
    at /usr/include/qt4/QtCore/qlist.h:401
#13 0x08055beb in KHangMan (this=0x9be9330)
    at /build/buildd/kdeedu-4.1.0/khangman/src/khangman.cpp:69
#14 0x080598b1 in main (argc=1, argv=0xbfd42ce4)
    at /build/buildd/kdeedu-4.1.0/khangman/src/main.cpp:136
#0 0xb7f28424 in __kernel_vsyscall ()

I've reported this upstream.

Changed in kdeedu:
status: Incomplete → Confirmed
Changed in kdeedu:
status: Unknown → New
Revision history for this message
trylik (marek-nasionka) wrote :

i have simmilar problem when starting umbrello in kde4, i can only see this:
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 401

in console, app doesnt want to open

Revision history for this message
Caroline Ford (secretlondon) wrote :

Running khangman-kde 4 in hardy I have no problems.

Revision history for this message
Caroline Ford (secretlondon) wrote :

@Jonathan Thomas I don't see your issue as the same bug. the original bug was an X error.

As it was an X error it may well be hardware dependent.

I can't reproduce on my hardware.

Revision history for this message
John (johnviglis) wrote :

Caroline are you on a 64bit OS?
The problem exists only on a amd64 system.

Revision history for this message
Caroline Ford (secretlondon) wrote :

I'm was on i376. I've amended the description to make that more clear.

Revision history for this message
Philip Macpherson (philipmac1) wrote :

I'm running 32bit hardy and the 4.1.1 packages for khangman But I still too seem to get a similar error

khangman(11311) KEduVocDocument::KEduVocDocument: constructor done
khangman(11311) KHangMan::setLanguages: Languages ()
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 401
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = khangman path = <unknown> pid = 11311
sock_file=/home/username/.kde4/socket-username-desktop/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

The probelm is that the khangman package is missing some files. KHangman and KAnagram both use some of the same files. You can't have them in both packages because that would cause a conflict, but if you only have the files in one package you get runtime errors such as this.

The solution would be to place these files in a kdeedu-data-common package that both khangman and kanagram depend on.

In the meantime you can install kanagram to work around the issue.

Changed in kdeedu:
status: Confirmed → Triaged
Changed in kdeedu:
status: New → Invalid
Changed in kdeedu:
assignee: nobody → rbirnie
importance: Undecided → High
milestone: none → intrepid-updates
status: New → Triaged
assignee: nobody → apachelogger
importance: Low → High
Changed in kdeedu:
assignee: rbirnie → apachelogger
Changed in kdeedu:
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdeedu - 4:4.1.3-0ubuntu1~intrepid1

---------------
kdeedu (4:4.1.3-0ubuntu1~intrepid1) intrepid; urgency=low

  [ Roderick B. Greening ]
  * New upstream release

  [ Harald Sitter ]
  * khangman needs to depend on kanagram becuase the latter includes shared
    data files for both applications (LP: #115048)

 -- Harald Sitter <email address hidden> Sun, 02 Nov 2008 13:38:08 +0100

Changed in kdeedu:
status: Triaged → Fix Released
Changed in kdeedu:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.