Bug 220520 - Kpatience games crash when cards are moving [Solver::doit, Solver::patsolve, SolverThread::run]
Summary: Kpatience games crash when cards are moving [Solver::doit, Solver::patsolve, ...
Status: RESOLVED WORKSFORME
Alias: None
Product: kpat
Classification: Applications
Component: solver (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2009-12-29 13:45 UTC by Stefano Galandrini
Modified: 2018-10-21 04:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano Galandrini 2009-12-29 13:45:29 UTC
Application: kpat (3.3)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
Games crash when cards are moving, sometimes even at the start of the game when cards are automatically positioned.
Sometimes it is possible to complete the game, but most of the time any Kpatience game crashes when cards are moving.

The crash can be reproduced everytime.

 -- Backtrace:
Application: KPatience (kpat), signal: Aborted
[Current thread is 1 (Thread 0xb77ea780 (LWP 29235))]

Thread 2 (Thread 0xb4230b70 (LWP 29413)):
[KCrash Handler]
#6  0x006d6422 in __kernel_vsyscall ()
#7  0x079ba4d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x079bd932 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x079f0ee5 in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0x079faff1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#11 0x079ff806 in free () from /lib/tls/i686/cmov/libc.so.6
#12 0x006d4ac0 in ?? () from /usr/lib/tls/libnvidia-tls.so.1
#13 0x080834aa in Solver::doit (this=0x7acfff4) at /build/buildd/kdegames-4.3.85/kpat/patsolve/patsolve.cpp:658
#14 0x08083523 in Solver::patsolve (this=0x8abf0e8, _max_positions=-1) at /build/buildd/kdegames-4.3.85/kpat/patsolve/patsolve.cpp:951
#15 0x08063a84 in SolverThread::run (this=0x8ce5608) at /build/buildd/kdegames-4.3.85/kpat/dealer.cpp:169
#16 0x042523ae in QThreadPrivate::start (arg=0x8ce5608) at thread/qthread_unix.cpp:244
#17 0x0031480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x07a5c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77ea780 (LWP 29235)):
#0  0x01ab93d0 in ?? () from /usr/lib/libGL.so.1
#1  0x079bf05f in ?? () from /lib/tls/i686/cmov/libc.so.6
#2  0x079bf0cf in exit () from /lib/tls/i686/cmov/libc.so.6
#3  0x0102a27b in qt_xio_errhandler () at kernel/qapplication_x11.cpp:734
#4  0x00c9ed6a in KApplication::xioErrhandler (this=0xbfb471a4, dpy=0x867b488) at ../../kdeui/kernel/kapplication.cpp:408
#5  0x00c9eda6 in kde_xio_errhandler (dpy=0x867b488) at ../../kdeui/kernel/kapplication.cpp:125
#6  0x02b812e6 in _XIOError () from /usr/lib/libX11.so.6
#7  0x02b88f8a in ?? () from /usr/lib/libX11.so.6
#8  0x02b898c6 in _XEventsQueued () from /usr/lib/libX11.so.6
#9  0x02b725ff in XEventsQueued () from /usr/lib/libX11.so.6
#10 0x01068d45 in x11EventSourceCheck (s=0x86b9330) at kernel/qguieventdispatcher_glib.cpp:87
#11 0x0193ecd1 in g_main_context_check () from /lib/libglib-2.0.so.0
#12 0x0193f47c in ?? () from /lib/libglib-2.0.so.0
#13 0x0193f863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#14 0x0437fbd5 in QEventDispatcherGlib::processEvents (this=0x86aa5b0, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#15 0x01068b75 in QGuiEventDispatcherGlib::processEvents (this=0x86aa5b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#16 0x043524c9 in QEventLoop::processEvents (this=0xbfb47084, flags=) at kernel/qeventloop.cpp:149
#17 0x0435291a in QEventLoop::exec (this=0xbfb47084, flags=...) at kernel/qeventloop.cpp:201
#18 0x04356b0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#19 0x00fab237 in QApplication::exec () at kernel/qapplication.cpp:3570
#20 0x0805a9ed in main (argc=3, argv=0xbfb474c4) at /build/buildd/kdegames-4.3.85/kpat/main.cpp:314

This bug may be a duplicate of or related to bug 213816.

Possible duplicates by query: bug 220219, bug 220166, bug 213816, bug 198562, bug 194943.

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-29 19:15:07 UTC
The backtrace has a weird detail:
#11 0x079ff806 in free () from /lib/tls/i686/cmov/libc.so.6
#12 0x006d4ac0 in ?? () from /usr/lib/tls/libnvidia-tls.so.1
#13 0x080834aa in Solver::doit (this=0x7acfff4) at
/build/buildd/kdegames-4.3.85/kpat/patsolve/patsolve.cpp:658

The game's code calling a nVidia function, this could be a bug in the application to get the backtrace, or in the graphics drivers. 
- Are your nVidia drivers updated?

Besides that, this looks related to bug 220166 / bug 213816

Regards
Comment 2 Stefano Galandrini 2009-12-29 21:01:52 UTC
Dario Andres ha scritto:
> https://bugs.kde.org/show_bug.cgi?id=220520
>
>
> Dario Andres <andresbajotierra@gmail.com> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |andresbajotierra@gmail.com
>
>
>
>
> --- Comment #1 from Dario Andres <andresbajotierra gmail com>  2009-12-29 19:15:07 ---
> The backtrace has a weird detail:
> #11 0x079ff806 in free () from /lib/tls/i686/cmov/libc.so.6
> #12 0x006d4ac0 in ?? () from /usr/lib/tls/libnvidia-tls.so.1
> #13 0x080834aa in Solver::doit (this=0x7acfff4) at
> /build/buildd/kdegames-4.3.85/kpat/patsolve/patsolve.cpp:658
>
> The game's code calling a nVidia function, this could be a bug in the
> application to get the backtrace, or in the graphics drivers. 
> - Are your nVidia drivers updated?
>   
Yes, I think they are: nVidia drivers version 185 [recommended].

> Besides that, this looks related to bug 220166 / bug 213816
>   
I'll take a look.

Thanks.
Comment 3 Stephan Kulow 2010-01-08 16:30:52 UTC
can you reproduce this? If so, also without MALLOC_CHECK_ set?
Comment 4 Andrew Crouthamel 2018-09-20 03:21:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-21 04:33:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!