Bug 174900

Summary: kpat crashes at startup
Product: [Applications] kpat Reporter: Javier Viñal <fjvinal>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED DUPLICATE    
Severity: crash CC: carteirodopoente, daniel.moyne, fabrice, finex, kde-games-bugs, polyline, r.nadaud, raykubuntu
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: (kpat) crashed and caused the signal 6 (SIGABRT).

Description Javier Viñal 2008-11-11 22:07:43 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

At startup kapt show the message:

The application KSolitario (kpat) crashed and caused the signal 6 (SIGABRT).

The messages in konsole are:

QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
ASSERT: "cardMap::self()->wantedCardWidth() > 0" in file /build/buildd/kdegames-4.1.3/kpat/dealer.cpp, line 1743
KCrash: Application 'kpat' crashing...
sock_file=/home/javier/.kde/socket-javier-desktop/kdeinit4__0
Comment 1 Elena 2008-11-28 18:13:28 UTC
Created attachment 28893 [details]
(kpat) crashed and caused the signal 6 (SIGABRT).

my kpat crashes too
Comment 2 Elena 2008-11-28 18:20:17 UTC
it works now. I removed kpat with --purge option and install it again. Thanks, no need help
Comment 3 Javier Viñal 2008-11-28 19:24:06 UTC
Continues crashing in Kubuntu 8.10 with KDE 4.1.3

FSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
ASSERT: "!pixmap().isNull()" in file /build/buildd/kdegames-4.1.3/kpat/card.cpp, line 470
Comment 4 Jose Tadeu Agneli Filippini 2008-11-29 00:14:50 UTC
i got the following message after typing "kpat "in the terminal :
 kpat
QFSFileEngine::open: No file name specified
ASSERT: "!pixmap().isNull()" in file /build/buildd/kdegames-4.1.3/kpat/card.cpp, line 470
KCrash: Application 'kpat' crashing...
sock_file=/home/jose/.kde/socket-jose-desktop/kdeinit4__0
Warning: connect() failed: : Ficheiro ou directoria inexistente
KCrash cannot reach kdeinit, launching directly.
"what shall i do ? "

Comment 5 Elena 2008-11-29 05:20:28 UTC
??!! really still crushes if i launch it from Ubuntu menu or Alt+F2 kpat, but no crushes from Konsole.
i launched Konsole and run kpat from it, gnome-terminal gave crush again. So i had to check "run in terminal" in "KDE Patience" properties in Gnome menu editor or "terminal application" in "create launcher" dialog. And i also change my default terminal application to Konsole (System-Parameters-Preffered Applications-System Tab). hope this "crush bug" will be fixed :)
Comment 6 Fabrice Dejaigher 2008-12-05 21:41:42 UTC
same problem
kubuntu 8.10

fabrice@voyager:~$ kpat
QFSFileEngine::open: No file name specified
ASSERT: "!pixmap().isNull()" in file /build/buildd/kdegames-4.1.2/kpat/card.cpp, line 470
KCrash: Application 'kpat' crashing...
sock_file=/home/fabrice/.kde/socket-voyager/kdeinit4__0
Comment 7 Richard 2008-12-06 17:31:37 UTC
Application : KPatience (kpat), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb50a46e0 (LWP 12872)]
[KCrash handler]
#6  0xb7f2c430 in __kernel_vsyscall ()
#7  0xb62bd880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb62bf248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7296795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7296872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7296915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0x0805dc34 in _start ()
#0  0xb7f2c430 in __kernel_vsyscall ()
Comment 8 FiNeX 2008-12-22 11:02:18 UTC

*** This bug has been marked as a duplicate of bug 174494 ***
Comment 9 rayunix 2008-12-28 19:05:47 UTC
Applicazione: KPatience (kpat), segnale SIGABRT

Thread 1 (Thread 0xb5ef56c0 (LWP 12057)):
[KCrash Handler]
#6  0xb8042430 in __kernel_vsyscall ()
#7  0xb66c2880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb66c4248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6968795 in qt_message_output (msgType=QtFatalMsg, buf=0xbfb3ccfc "ASSERT: \"!pixmap().isNull()\" in file /build/buildd/kdegames-4.1.85/kpat/card.cpp, line 470") at global/qglobal.cpp:2102
#10 0xb6968872 in qFatal (msg=0xb6ab13b8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#11 0xb6968915 in qt_assert (assertion=0x809ec62 "!pixmap().isNull()", file=0x809ec78 "/build/buildd/kdegames-4.1.85/kpat/card.cpp", line=470) at global/qglobal.cpp:1872
#12 0x0805e824 in _start ()
Comment 10 dmoyne 2009-01-10 11:12:46 UTC
the only way to play with kpat4.1.3 on In trepid is this command suggested by someone :
KDE_LANG=en_US kpat
Otherwise the following message pops-up :
$ kpat
kpat(7807): Couldn't create index file "/var/tmp/kdecache-dmoyne/kpc/kde-icon-cache.index"
QFSFileEngine::open: No file name specified
ASSERT: "!pixmap().isNull()" in file /build/buildd/kdegames-4.1.3/kpat/card.cpp, line 470
KCrash: Application 'kpat' crashing...
sock_file=/home/dmoyne/.kde/socket-gavarnie/kdeinit4__0

Regards.
Comment 11 rayunix 2009-01-10 12:01:04 UTC
ok, thanks
I resolved with:
KDE_LANG=it kpat
Comment 12 dmoyne 2009-01-25 20:41:53 UTC
problems definetly cured with KDE-4.1.4.
Regards.
Comment 13 dmoyne 2009-02-01 22:21:17 UTC
on KDE 4.2 on test kpat is crashing again ; further more :
KDE_LANG=it kpat
no more works as before ; below is what I get when running kpat in konsole :
dmoyne@gavarnie:~$ kpat
QFSFileEngine::open: No file name specified
kpat(8261): Shortcut for KAction  "random_set" "Cartes aléatoires" set with QShortcut::setShortcut()! See KAction documentation.
kpat(8261): Shortcut for KAction  "select_deck" "Sélectionnez le tas..." set with QShortcut::setShortcut()! See KAction documentation.
ASSERT: "!pixmap().isNull()" in file /build/buildd/kdegames-4.1.4/kpat/card.cpp, line 470
KCrash: Application 'kpat' crashing...
sock_file=/home/dmoyne/.kde/socket-gavarnie/kdeinit4__0


Regards.
Comment 14 Albert Astals Cid 2009-02-02 21:13:54 UTC
You are joking when you say you run KDE 4.2 and then the assert says "/build/buildd/kdegames-4.1.4/kpat/card.cpp", no?
Comment 15 dmoyne 2009-02-04 17:19:17 UTC
I have updated to KDE 4.2 for test as it is crashing I cannot transmitt a report from the app with the actual version ; now it is crashing and I assumed it was also 4.2 like for example kmahjong (actually 4.2.0) ; games are in the same package.

I maintain the crash report in the conditions reported above. 
Comment 16 Albert Astals Cid 2009-02-04 21:24:39 UTC
Exactly when does it crash?

Which distribution are you using?

And we need a gdb backtrace and a valgrind backtrace. http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports