Bug 193307 - kpat crashes on undo-move while playing spider (difficult mode)
Summary: kpat crashes on undo-move while playing spider (difficult mode)
Status: RESOLVED WORKSFORME
Alias: None
Product: kpat
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 01:21 UTC by H.H.
Modified: 2010-01-06 16:48 UTC (History)
2 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 H.H. 2009-05-20 01:21:28 UTC
Application that crashed: kpat
Version of the application: 3.1
KDE Version: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1)) "release 3.2"
Qt Version: 4.5.1
Operating System: Linux 2.6.25.11-0.1-pae i686
Distribution: "openSUSE 11.0 (i586)"

What I was doing when the application crashed:
kpat crashed on pressing undo on a move. I hope you can use the debugging symbols.

 -- Backtrace:
Application: KPatience (kpat), signal: Segmentation fault
[Current thread is 0 (LWP 3187)]

Thread 2 (Thread 0xb2e6fb90 (LWP 19191)):
#0  0x08084738 in MemoryManager::insert_node ()
#1  0x08082b50 in Solver::insert ()
#2  0x08082bcc in Solver::new_position ()
#3  0x08083601 in Solver::solve ()
#4  0x0808404a in Solver::doit ()
#5  0x080840c3 in Solver::patsolve ()
#6  0x080624f4 in SolverThread::run ()
#7  0xb729d71e in ?? () from /usr/lib/libQtCore.so.4
#8  0xb723d175 in start_thread () from /lib/libpthread.so.0
#9  0xb6593dce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5cb2700 (LWP 3187)):
[KCrash Handler]
#6  0x0805f4e9 in Card::spread ()
#7  0x0807ad11 in Pile::relayoutCards ()
#8  0x08066a05 in DealerScene::setState ()
#9  0x0806b9de in DealerScene::undo ()
#10 0x080791e0 in pWidget::qt_metacall ()
#11 0xb73a7d68 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb73a81a0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb6847f11 in QAction::triggered () from /usr/lib/libQtGui.so.4
#14 0xb684948f in QAction::activate () from /usr/lib/libQtGui.so.4
#15 0xb684bf3b in QAction::event () from /usr/lib/libQtGui.so.4
#16 0xb7851969 in KAction::event () from /usr/lib/libkdeui.so.5
#17 0xb684e55c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0xb685688e in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0xb793593d in KApplication::notify () from /usr/lib/libkdeui.so.5
#20 0xb73919cb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0xb6887aa8 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb688997f in ?? () from /usr/lib/libQtGui.so.4
#23 0xb6857b30 in QApplication::notify () from /usr/lib/libQtGui.so.4
#24 0xb793593d in KApplication::notify () from /usr/lib/libkdeui.so.5
#25 0xb73919cb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#26 0xb684f44e in ?? () from /usr/lib/libQtGui.so.4
#27 0xb68eb6c0 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb68ed88e in ?? () from /usr/lib/libQtGui.so.4
#29 0xb68c48c4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#30 0xb68ef32c in ?? () from /usr/lib/libQtGui.so.4
#31 0xb5f27c69 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb5f2aece in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#33 0xb5f2b41c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb73bd578 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb68ee9f5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb739000a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb739044a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#38 0xb73928d9 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#39 0xb684e3d7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#40 0x0805a379 in main ()
Comment 1 Parker Coates 2010-01-06 16:48:01 UTC
There have been numerous improvements to the pile layout code (in which this crash occurred). While I don't know the root cause of this crash, I can say for certain that this particular backtrace can't happen any more, as the Card::spread() method has been removed.

If another, similar crash occurs after upgrading to KPat 3.3, please open a new report.