https://bugs.kde.org/show_bug.cgi?id=466229

--- Comment #4 from Duncan <1i5t5.dun...@cox.net> ---
(In reply to Duncan from comment #3)
> I'll have to look up again how to build unstripped, with debugging enabled 

This is more like it.  (The -9999 bit is gentoo's normal live-git package
version-numbering.)

Again, a bunch of new-thread/thread-exited per-move as the solver-thread starts
and exits, then...

[New Thread 0x7fffd9da96c0 (LWP 74954)]

Thread 159 "SolverThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd9da96c0 (LWP 74954)]
0x00007ffff5ef3c0b in memmove () from /usr/lib64/libc.so.6
(gdb) bt
#0  0x00007ffff5ef3c0b in memmove () from /usr/lib64/libc.so.6
#1  0x00005555555c060e in memcpy (__len=<optimized out>, __src=0x7fffb80ce700,
__dest=0x7fffa4020ea8) at /include/bits/string_fortified.h:29
#2  Deck::update (this=this@entry=0x7fffa4020e28,
other=other@entry=0x7fffb80ce680) at
../kpat-9999/src/patsolve/spidersolver2.cpp:656
#3  0x00005555555c169e in Deck::applyMove (this=this@entry=0x7fffb80ce680,
m=..., newdeck=...) at ../kpat-9999/src/patsolve/spidersolver2.cpp:677
#4  0x00005555555c1bfd in Deck::shortestPath (this=<optimized out>,
cap=cap@entry=150) at ../kpat-9999/src/patsolve/spidersolver2.cpp:802
#5  0x00005555555c1eaa in SpiderSolver2::patsolve (this=0x555556e473f0,
max_positions=-1) at ../kpat-9999/src/patsolve/spidersolver2.cpp:941
#6  0x0000555555586979 in SolverThread::run (this=0x555555dddfe0) at
../kpat-9999/src/dealer.cpp:157
#7  0x00007ffff64cb05f in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffff5ee042d in ?? () from /usr/lib64/libc.so.6
#9  0x00007ffff5f5943c in ?? () from /usr/lib64/libc.so.6
(gdb)

glibc-2.36-r7 (r7 being the gentoo package revision), gcc-12.2.1_p20230121-r1,
qtcore-5.15.8-r3.

For the debug I built kpat with C(XX)FLAGS="-ggdb -Og", which I'll leave in
place for the moment in case you need something beyond the simple bt.

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

Reply via email to