Please do not post questions in the shout-box as it will be lost in a few days. Open your own topic in the appropriate section. Thank you.

Recent posts

#11
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by Phil - NY4Q - Jul 13, 2025, 07:53 PM
Quote from: Bas ON5HB on Jul 13, 2025, 06:59 PMThe curl from the github has 4.8.0 libs, not 4.7.0

So I removed 4.7.0 and replaced it with 4.8.0 from the github.

And I get the same message too, exactly the same.

Well I tried to point it to 4.8.0, but it gave the same message, so I moved it to 4.7.0 and it was ok then. SO, there is still some of the Ubuntu stuff on there or something. Maybe I need to do apt purge curl...?
#12
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by Bas ON5HB - Jul 13, 2025, 06:59 PM
The curl from the github has 4.8.0 libs, not 4.7.0

So I removed 4.7.0 and replaced it with 4.8.0 from the github.

And I get the same message too, exactly the same.
#13
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by Phil - NY4Q - Jul 13, 2025, 05:48 PM
I have had another crash as of an hour ago.

Jul 13 13:38:59 websdr start-websdr.sh[911]: Dropping Waterfall due tterminate called after throwing an instance of 'std::bad_alloc'
Jul 13 13:38:59 websdr start-websdr.sh[911]:   what():  std::bad_alloc
Jul 13 13:39:00 websdr start-websdr.sh[780]: /opt/PhantomSDR-Plus/start-websdr.sh: line 23:   911 Aborted                 (core dumped) build/spectrumserver --config $TOML < $FIFO

I also noticed this.
Jul 13 14:06:43 websdr start-websdr.sh[3478320]: build/spectrumserver: /usr/local/lib/libcurl.so.4: no version information available (required by build/spectrumserver)

I think this was caused by the removal of Ubuntu's curl and the install of the latest. I fixed this by deleting the old pointer to library and created a new pointer to the updated library.

sudo rm /usr/local/lib/libcurl.so.4

Then make a new symbolic link pointing to the new library.
sudo ln -s /usr/lib/x86_64-linux-gnu/libcurl.so.4.7.0 /usr/local/lib/libcurl.so.4

Then I recompiled spectrumserver and away we go.
#14
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by Bas ON5HB - Jul 13, 2025, 11:50 AM
And we crashed again with longjump...

Pfff....back 2 systemd files as only 1 doesn't restart the spectrum. :'(

1 day and 14 hours....

And again....installed Curl 8.15-DEV and purged Ubuntu Curl, then recompiled spectrum, let's see what happens now.

Also changed compiling to -O1 for compiler options. Let's see what happens. Uses 2% more CPU now.
#15
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by Phil - NY4Q - Jul 12, 2025, 08:52 PM
root@websdr:/# systemctl status websdr.service
● websdr.service - PhantomSDRPlus WebSDR
     Loaded: loaded (/lib/systemd/system/websdr.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2025-07-10 18:45:13 UTC; 2 days ago
   Main PID: 780 (start-websdr.sh)
      Tasks: 15 (limit: 18956)
     Memory: 581.8M
        CPU: 22h 35min 48.507s
     CGroup: /system.slice/websdr.service
             ├─780 /bin/bash /opt/PhantomSDR-Plus/start-websdr.sh
             └─911 build/spectrumserver --config config-rx888mk2.toml
#16
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by Bas ON5HB - Jul 12, 2025, 12:26 PM
19 hours and no crash, fingers crossed ;)

Update: Active: active (running) since Fri 2025-07-11 16:39:00 CEST; 24h ago

Fingers crossed....
#17
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by 9a7aof - Jul 12, 2025, 07:54 AM
After Bas' latest suggestions, I am at two days and 11 hours with no crashes.

I noticed that spectrumserver was slowly taking up more and more memory,
from 231 to 253 in two days and a few hours (i have 8Gb RAM on this computer).

And then, I change receiver band, only one user, crash. After 5 sec server works.
I edit spectrumserver.cpp, compile, and I back to one startup script (as Bas sugested).

Now server normal work.
Wait for next crash... :)

Darko, 9a7aof
#18
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by Phil - NY4Q - Jul 12, 2025, 12:11 AM
After Bas' latest suggestions, I am at 27 hours with no crashes.

Phil
#19
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by Bas ON5HB - Jul 11, 2025, 07:54 PM
I updated the buffers from 100 to 500, seems 100 is too low.

And in spectrumserver.cpp I changed the backlog size:

m_server.set_listen_backlog(16384); //Backlog upped from 8192 to 16384 for testing - Bas.
Maybe it's the backlog that is too small.

Test is running 4 hours now....so far no issues.
#20
PhantomSDR Bugs / Re: Coredumps and crash.
Last post by Phil - NY4Q - Jul 11, 2025, 07:08 PM
Quote from: Emmanuel SV1BTL on Jul 07, 2025, 10:29 PMStrange behavior during the last month. RX-888 USB disconnections, but the server is still running!
The only new condition is the heat - 38 and even 42 °C
To be honest, I am tired....

My receiver never (rarely) is the culprit. It is always spectrumserver. BUT, after Bas' latest suggestions, last check its at 23 hours with no systemd restart.
Powered by EzPortal