crashes

Hy Murveit murveit at gmail.com
Thu Dec 10 07:23:49 GMT 2020


After cloning and compiling stellarsolver, and NOT running gdb (OK next
time I'll try that 'set handle SIG32 nostop noprint' magic) everything
seems to be running. I'm going to chalk this one up to some StellarSolver
incompatibility between it and KStars, unless I see more crashes.

Hy

On Wed, Dec 9, 2020 at 11:08 PM Hy Murveit <murveit at gmail.com> wrote:

> I think I had a crash without GDB, but perhaps that was because of an
> incompatible stellarsolver. I'll try again.
> Hy
>
> On Wed, Dec 9, 2020 at 11:03 PM Jasem Mutlaq <mutlaqja at ikarustech.com>
> wrote:
>
>> Hello Hy,
>>
>> If you run KStars in gdb, then SIG32 is not a crash per se, you can set
>> GDB to ignore it.
>>
>> set handle SIG32 nostop noprint
>>
>> should do it.
>>
>> --
>> Best Regards,
>> Jasem Mutlaq
>>
>>
>>
>> On Thu, Dec 10, 2020 at 9:39 AM Hy Murveit <murveit at gmail.com> wrote:
>>
>>> I'm seeing crashing at head on my new RPi.
>>> FYI, this seems to happen I think in detection in StellarSolver, e.g.
>>> this happened in the focus on the first star detection
>>> Happens every time I startup and focus.
>>>
>>> I'm running from HEAD, latest stellarSolver HEAD (and also tried
>>> astroberry's release StellarSolver).
>>> New 8Gb RPi, RPi OS Released 12/2.
>>>
>>> Hy
>>>
>>>
>>> backtrace not too informative to me...should there be this many threads?
>>>
>>> Thread 35 "kstars" received signal SIG32, Real-time event 32.
>>> [Switching to Thread 0x8a2580a0 (LWP 483)]
>>> futex_wait_cancelable (private=0, expected=0, futex_word=0xa5c522e8) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>> 88 ../sysdeps/unix/sysv/linux/futex-internal.h: No such file or
>>> directory.
>>> (gdb) where
>>> #0  0xb50101a0 in futex_wait_cancelable (private=0, expected=0,
>>> futex_word=0xa5c522e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>> #1  0xb50101a0 in __pthread_cond_wait_common (abstime=0x0, mutex=0x0,
>>> cond=0xa5c522c0) at pthread_cond_wait.c:502
>>> #2  0xb50101a0 in __pthread_cond_wait (cond=0xa5c522c0, mutex=0x0) at
>>> pthread_cond_wait.c:655
>>> #3  0x80733620 in  () at /lib/arm-linux-gnueabihf/libvlccore.so.9
>>> (gdb) info thread
>>>   Id   Target Id                                       Frame
>>>   1    Thread 0xafd58990 (LWP 32325) "kstars"          __GI___poll
>>> (timeout=38, nfds=8, fds=0x4acae50) at ../sysdeps/unix/sysv/linux/poll.c:29
>>>   2    Thread 0xaf5420a0 (LWP 32366) "QXcbEventReader" __GI___poll
>>> (timeout=-1, nfds=1, fds=0xaf5419ac) at ../sysdeps/unix/sysv/linux/poll.c:29
>>>   3    Thread 0xa9d660a0 (LWP 32387) "llvmpipe-0"
>>>  futex_wait_cancelable (private=0, expected=0, futex_word=0x10dde48) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>>   4    Thread 0xa93ff0a0 (LWP 32388) "llvmpipe-1"
>>>  futex_wait_cancelable (private=0, expected=0, futex_word=0x10ddf50) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>>   5    Thread 0xa89fe0a0 (LWP 32389) "llvmpipe-2"
>>>  futex_wait_cancelable (private=0, expected=0, futex_word=0x10de058) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>>   6    Thread 0xa81fd0a0 (LWP 32390) "llvmpipe-3"
>>>  futex_wait_cancelable (private=0, expected=0, futex_word=0x10de160) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>>   7    Thread 0xa79fc0a0 (LWP 32391) "kstars"
>>>  futex_wait_cancelable (private=0, expected=0, futex_word=0x10dbfd0) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>>   8    Thread 0xa6dff0a0 (LWP 32392) "kstars"
>>>  futex_wait_cancelable (private=0, expected=0, futex_word=0x10dbfd0) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>>   9    Thread 0xa65fe0a0 (LWP 32393) "kstars"
>>>  futex_wait_cancelable (private=0, expected=0, futex_word=0x10dbfd0) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>>   10   Thread 0xa5bff0a0 (LWP 32394) "kstars"
>>>  futex_wait_cancelable (private=0, expected=0, futex_word=0x10dbfd0) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>>   11   Thread 0xa4d6a0a0 (LWP 32403) "QDBusConnection" __GI___poll
>>> (timeout=-1, nfds=3, fds=0x3bb4328) at ../sysdeps/unix/sysv/linux/poll.c:29
>>>   12   Thread 0xa41ff0a0 (LWP 32408) "Thread (pooled)"
>>> futex_reltimed_wait_cancelable (private=0, reltime=0xa41fe980, expected=0,
>>> futex_word=0x128d688) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
>>>   13   Thread 0xa21fe0a0 (LWP 32409) "Thread (pooled)"
>>> futex_reltimed_wait_cancelable (private=0, reltime=0xa21fd980, expected=0,
>>> futex_word=0x13ff188) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
>>>   14   Thread 0xa01fd0a0 (LWP 32410) "Thread (pooled)"
>>> futex_reltimed_wait_cancelable (private=0, reltime=0xa01fc980, expected=0,
>>> futex_word=0x13fc688) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
>>>   15   Thread 0x9d26d0a0 (LWP 32439) "Qt bearer threa" __GI___poll
>>> (timeout=9980, nfds=1, fds=0xa9404270) at
>>> ../sysdeps/unix/sysv/linux/poll.c:29
>>>   18   Thread 0x9b5ad0a0 (LWP 32462) "gmain"           __GI___poll
>>> (timeout=-1, nfds=1, fds=0x2f1d670) at ../sysdeps/unix/sysv/linux/poll.c:29
>>>   20   Thread 0x9a5ab0a0 (LWP 32464) "gdbus"           __GI___poll
>>> (timeout=-1, nfds=2, fds=0xa6f1a960) at ../sysdeps/unix/sysv/linux/poll.c:29
>>>   21   Thread 0x999ee0a0 (LWP 32465) "Thread (pooled)"
>>> futex_reltimed_wait_cancelable (private=0, reltime=0x999ed980, expected=0,
>>> futex_word=0x4203b3c) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
>>>   24   Thread 0x9adac0a0 (LWP 32652) "kstars"          __GI___select
>>> (timeout=0x9ad9f260, exceptfds=0x0, writefds=0x0, readfds=0x9ad9f1dc,
>>> nfds=35) at ../sysdeps/unix/sysv/linux/select.c:41
>>>   25   Thread 0x9c5af0a0 (LWP 32682) "kstars"          __GI___select
>>> (timeout=0x9c5a2260, exceptfds=0x0, writefds=0x0, readfds=0x9c5a21dc,
>>> nfds=39) at ../sysdeps/unix/sysv/linux/select.c:41
>>>   26   Thread 0x979ed0a0 (LWP 32688) "kstars"          __GI___select
>>> (timeout=0x979e0260, exceptfds=0x0, writefds=0x0, readfds=0x979e01dc,
>>> nfds=44) at ../sysdeps/unix/sysv/linux/select.c:41
>>>   27   Thread 0x967d30a0 (LWP 32689) "kstars"          __GI___select
>>> (timeout=0x967c6260, exceptfds=0x0, writefds=0x0, readfds=0x967c61dc,
>>> nfds=47) at ../sysdeps/unix/sysv/linux/select.c:41
>>>   28   Thread 0x95fd20a0 (LWP 32690) "QQmlThread"      __GI___poll
>>> (timeout=-1, nfds=1, fds=0xa6e98fe8) at ../sysdeps/unix/sysv/linux/poll.c:29
>>>   29   Thread 0x94d910a0 (LWP 32693) "kstars"          __GI___select
>>> (timeout=0x94d84260, exceptfds=0x0, writefds=0x0, readfds=0x94d841dc,
>>> nfds=51) at ../sysdeps/unix/sysv/linux/select.c:41
>>>   30   Thread 0x93bfd0a0 (LWP 32714) "kstars"          __GI___select
>>> (timeout=0x93bf0260, exceptfds=0x0, writefds=0x0, readfds=0x93bf01dc,
>>> nfds=55) at ../sysdeps/unix/sysv/linux/select.c:41
>>>   33   Thread 0x817460a0 (LWP 448) "threaded-ml"       __GI___poll
>>> (timeout=80, nfds=3, fds=0x57b9968) at ../sysdeps/unix/sysv/linux/poll.c:29
>>>   34   Thread 0x80f450a0 (LWP 450) "kstars"            0xb500aa3c in
>>> __GI___pthread_timedjoin_ex (threadid=2317713568, thread_return=0x0,
>>> abstime=<optimized out>, block=<optimized out>) at pthread_join_common.c:89
>>> * 35   Thread 0x8a2580a0 (LWP 483) "kstars"
>>>  futex_wait_cancelable (private=0, expected=0, futex_word=0xa5c522e8) at
>>> ../sysdeps/unix/sysv/linux/futex-internal.h:88
>>>
>>>
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20201209/7d3c2853/attachment-0001.htm>


More information about the Kstars-devel mailing list