[ksirk] [Bug 474349] Ksirk crashes in Ksirk::GameLogic::AIPlayer::~AIPlayer

2023-09-11 Thread Doug Forguson
https://bugs.kde.org/show_bug.cgi?id=474349

--- Comment #2 from Doug Forguson  ---
Hi Nate,

Can you provide some guidance on the best way to get a valid package 
with one of these versions? Do I need to DL source and build or is there 
a package I can get somewhere?

Thanks,

Doug

On 9/11/23 14:04, Nate Graham wrote:
> https://bugs.kde.org/show_bug.cgi?id=474349
>
> Nate Graham  changed:
>
> What|Removed |Added
> 
>  Product|kde |ksirk
>   Status|REPORTED|NEEDSINFO
>   CC||kde-games-b...@kde.org,
> ||n...@kde.org
> Assignee|unassigned-b...@kde.org |nemhi...@gmail.com
>   Resolution|--- |WAITINGFORINFO
>  Summary|Ksirk crashes with a|Ksirk crashes in
> |SEGFAULT error in libc  |Ksirk::GameLogic::AIPlayer:
> ||:~AIPlayer
>Component|general |general
>  Version|unspecified |21.12.3
>
> --- Comment #1 from Nate Graham  ---
> 22.04 ships the quite-outdated version 21.12 version of KSirk which is almost
> two years old, and as such, out of support from KDE. Any chance you can 
> upgrade
> to 23.04 or 23.08 and try again? Thanks!
>

-- 
You are receiving this mail because:
You are watching all bug changes.

[kde] [Bug 474349] New: Ksirk crashes with a SEGFAULT error in libc

2023-09-09 Thread Doug Forguson
https://bugs.kde.org/show_bug.cgi?id=474349

Bug ID: 474349
   Summary: Ksirk crashes with a SEGFAULT error in libc
Classification: I don't know
   Product: kde
   Version: unspecified
  Platform: Ubuntu
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: unassigned-b...@kde.org
  Reporter: d...@forguson.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Running on Ubuntu studio 22.04 with xfce desktop. Note I also saw this issue
when using the default kde plasma desktop.

STEPS TO REPRODUCE
1. Launch ksirk application
2. Run as normal and app will frequently crash.
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: NA
macOS: NA
Linux/KDE Plasma:  Witnessed this under plasma and xfce desktop.
(available in About System)
KDE Plasma Version: ???
KDE Frameworks Version: 
Qt Version: 

Ran ksirk from gdb and captured the below stack trace. Never did get the kde
auto report tool to work. Always said it couldn't capture a backtrace even when
I launched using gdb.

ADDITIONAL INFORMATION

Thread 1 "ksirk" received signal SIGSEGV, Segmentation fault.
0x75d57c5d in __pthread_cancel (th=140736290416192) at
./nptl/pthread_cancel.c:64
Download failed: Invalid argument.  Continuing without source file
./nptl/./nptl/pthread_cancel.c.
64  ./nptl/pthread_cancel.c: No such file or directory.

(gdb) backtrace
#0  0x75d57c5d in __pthread_cancel (th=140736290416192) at
./nptl/pthread_cancel.c:64
#1  0x762078c9 in QThread::terminate() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x555faff7 in Ksirk::GameLogic::AIPlayer::~AIPlayer
(this=, this=)
at ./ksirk/GameLogic/aiplayer.cpp:84
#3  0x555e7b8d in Ksirk::GameLogic::AIColsonPlayer::~AIColsonPlayer
(this=, this=)
at ./ksirk/GameLogic/aiColsonPlayer.cpp:69
#4  0x555c2aae in Ksirk::KGameWindow::attackEnd (this=0x559492a0)
at ./ksirk/kgamewin.cpp:833
#5  0x555b08bf in Ksirk::KGameWindow::terminateAttackSequence
(this=0x559492a0) at ./ksirk/kgamewin.cpp:1901
#6  Ksirk::GameLogic::GameAutomaton::slotNetworkData (this=0x5592ec40,
msgid=, buffer=..., receiver=0, 
sender=1) at ./ksirk/GameLogic/gameautomaton.cpp:2145
#7  0x7642c793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x77d02087 in KGame::signalNetworkData
(this=this@entry=0x5592ec40, _t1=, _t1@entry=275, 
_t2=..., _t3=, _t3@entry=0, _t4=,
_t4@entry=1)
at
./obj-x86_64-linux-gnu/src/private/KF5KDEGamesPrivate_autogen/BQQKSAKFSH/moc_kgame.cpp:417
#9  0x77d17dc8 in KGame::networkTransmission (this=0x5592ec40,
stream=..., msgid=531, receiver=0, sender=1)
at ./src/private/kgame/kgame.cpp:1066
#10 0x77d1e82c in KGameNetwork::receiveNetworkTransmission
(this=0x5592ec40, receiveBuffer=..., clientID=1)
at ./src/private/kgame/kgamenetwork.cpp:482
#11 0x7642c793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x77d02247 in KMessageClient::broadcastReceived
(this=this@entry=0x55967750, _t1=..., _t2=, 
_t2@entry=1) at
./obj-x86_64-linux-gnu/src/private/KF5KDEGamesPrivate_autogen/BQQKSAKFSH/moc_kmessageclient.cpp:258
#13 0x77d2943e in KMessageClient::processMessage (this=0x55967750,
msg=...)
at ./src/private/kgame/kmessageclient.cpp:212
#14 0x7642c793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x77d01f76 in KMessageIO::received (this=, _t1=...)
at
./obj-x86_64-linux-gnu/src/private/KF5KDEGamesPrivate_autogen/BQQKSAKFSH/moc_kmessageio.cpp:152
#16 0x77d2d0ea in KMessageServer::broadcastMessage
(this=0x558c4780, msg=...)
at ./src/private/kgame/kmessageserver.cpp:340
#17 0x77d2fdc6 in KMessageServer::processOneMessage
(this=0x558c4780)
at ./src/private/kgame/kmessageserver.cpp:416
--Type  for more, q to quit, c to continue without paging--
#18 0x7642c793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x764307fe in QTimer::timeout(QTimer::QPrivateSignal) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x7642233f in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x76fc2713 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x763f4e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x7644d3eb in QTimerInfoList::activateTimers() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x7644dd34 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x7404fd3b in g_main_dispatch (context=0x7fffe8005010) at