Out of tasks... [fixed in v1.385]

edited April 2020 in Problems Now Fixed
One of my KiwiSDR restarts about once or twice a week. /var/log/syslog shows something like this from the event:


Mar 9 17:15:40 kiwisdr kiwid: PANIC: "create_task: no tasks available" (support/coroutines.cpp, line 1399)
Mar 9 17:15:40 kiwisdr kiwid: panic: backtrace 0 0x927c4 /usr/local/bin/kiwid() [0x927c4]
Mar 9 17:15:40 kiwisdr kiwid: panic: backtrace 1 0x92750 /usr/local/bin/kiwid() [0x92750]
Mar 9 17:15:40 kiwisdr kiwid: panic: backtrace 2 0x90d80 /usr/local/bin/kiwid() [0x90d80]
Mar 9 17:15:40 kiwisdr kiwid: panic: backtrace 3 0x355d8 /usr/local/bin/kiwid() [0x355d8]
Mar 9 17:15:40 kiwisdr kiwid: panic: backtrace 4 0x35290 /usr/local/bin/kiwid() [0x35290]
Mar 9 17:15:40 kiwisdr kiwid: panic: backtrace 5 0x8f024 /usr/local/bin/kiwid() [0x8f024]
Mar 9 17:15:40 kiwisdr kiwid: panic: backtrace 6 0xb6895ae0 /lib/arm-linux-gnueabihf/libc.so.6(+0x26ae0) [0xb6895ae0]
Mar 9 17:15:40 kiwisdr kiwid: panic: backtrace 7 0xb68868e6 /lib/arm-linux-gnueabihf/libc.so.6(+0x178e6) [0xb68868e6]
Mar 9 17:15:41 kiwisdr systemd[1]: kiwid.service: main process exited, code=exited, status=255/n/a
Mar 9 17:15:41 kiwisdr kiwid[6143]: DEBIAN 8
Mar 9 17:15:41 kiwisdr kiwid[6143]: USE_SPIDEV
Mar 9 17:15:41 kiwisdr kiwid[6143]: LOAD_SPI = no
Mar 9 17:15:41 kiwisdr kiwid[6143]: Stopping kiwid:
Mar 9 17:15:41 kiwisdr systemd[1]: Unit kiwid.service entered failed state.
Mar 9 17:15:51 kiwisdr kiwid[6159]: DEBIAN 8
Mar 9 17:15:51 kiwisdr kiwid[6159]: USE_SPIDEV
Mar 9 17:15:52 kiwisdr kiwid[6159]: LOAD_SPI = no
Mar 9 17:15:52 kiwisdr kiwid[6159]: Starting kiwid
Mar 9 17:15:52 kiwisdr kiwid[6159]: Start kiwid: OK
Mar 9 17:15:52 kiwisdr kiwid[6159]: Mon Mar 9 17:15:52 UTC 2020
Mar 9 17:15:52 kiwisdr kiwid: 00:00:00.229 KiwiSDR v1.383 --------------------------------------------------------------------
Mar 9 17:15:52 kiwisdr kiwid: 00:00:00.232 compiled: Mar 3 2020 00:04:18
Mar 9 17:15:52 kiwisdr kiwid: 00:00:00.235 -debian 8
Mar 9 17:15:52 kiwisdr kiwid: 00:00:00.235 /etc/debian_version 8.5
Mar 9 17:15:52 kiwisdr kiwid: 00:00:00.235 background mode: delaying start 30 secs...
Mar 9 17:16:22 kiwisdr kiwid: 00:00:30.290 reading configuration from file /root/kiwi.config/kiwi.json: 261 tokens
Mar 9 17:16:22 kiwisdr kiwid: 00:00:30.294 reading configuration from file /root/kiwi.config/admin.json: 107 tokens

Trying to figure out if this is a software issue or something specific to my setup. Has anyone else seen this behavior?


Mauritz / SM2BYC

Comments

  • The next release will send some additional debug information to the log when this panic occurs. From the backtrace the crash seems to occur when DRM mode is started.
  • Okay, v1.384 is out and should include additional info in the log when this panic happens again. It will tell us which stack type task allocation has run out: normal, large (for waterfall), huge (for DRM).
  • Thanks, updated to v1.384. Will report when I see this event next time.

    Mauritz / SM2BYC
Sign In or Register to comment.