Seite 1 von 1

Segfault

Verfasst: Fr 3. Dez 2021, 16:49
von thc09
Moins.

Wenn ich nen rtsp Stream abspiele (abgespielt hatte) segfaultet die Kiste beim runterfahren.
Läuft stunden problemlos, nur runterfahren iss nicht :D

Code: Alles auswählen

16:19:39.226     cutNeutrino: playing 0 isUPNP 0
16:19:39.231     [zapit.cpp:StopPlayBack:2332] standby 0 playing 1 forced 0 send_pmt 1
16:19:39.238     TuxTxt stopping subtitle thread ...
16:19:39.244     [dvb-sub] paused
16:19:39.249     cutNeutrino: old mode 1
16:19:39.254     cutNeutrino: new mode 9
16:19:39.260     cutNeutrino: save mode 101
16:19:39.265     CNeutrinoApp::handleMsg: CHANGEMODE to 9 rezap 0
16:19:39.270     [HAL:0061fb88:play  ] Open - player output name: Output PlayMode: PLAYMODE_FILE
16:19:39.275     [HAL:0061fb88:play  ] Start - filename=rtsp://***:***@192.168.99.99:554/stream1 vpid=0 vtype=0 apid=0 ac3=0
16:19:39.280     [scanepg.cpp:AddTransponders:220] Added bouquet #0, scan map size: 0
16:19:39.286     [scanepg.cpp:handleMsg:304] EVT_ZAP_COMPLETE, scan map size: 0
16:19:39.292     
16:19:39.298     [HAL:0061fb88:play  ] FindAllPids
16:19:40.069     Last message repeated 3 times
16:19:40.079     [0;39m[udp @ 0xa04c2010] [0m[0;33mattempted to set receive buffer to size 393216 but it only ended up set as 327680
16:19:40.089     [0m[0;39m[udp @ 0xa0be5500] [0m[0;33mattempted to set receive buffer to size 393216 but it only ended up set as 327680
16:19:40.096     [0mminimal Probe: 0
16:19:44.994     [dvb-sub] start, stopped 1 pid ffffffff
16:19:45.663     [0;35m[rtsp @ 0xa04e6460] [0mdecoding for stream 0 failed
16:19:45.726     [HAL:0061fb88:play  ] SetSpeed playing 1 speed 1
16:19:45.733     returning false
16:19:45.739     [HAL:0061fb88:play  ] FindAllPids
16:19:45.744     bgPlayThread: started: 1
Nichts auffälliges beim runterfahren ..

Code: Alles auswählen

23:35:30.199     [zapit.cpp:run:2762] shutdown complete
23:35:30.204     zapit shutdown done
23:35:30.231     [ConfigFile] saving /var/tuxbox/config/neutrino.conf
23:35:30.248     [neutrino] executing /var/tuxbox/control/deepstandby.on
23:35:30.259     entering off state
23:35:30.264     timer_minutes: 27308599
23:35:30.270     wakeup time : Fri Dec  3 08:19:00 2021 (1638515940)
23:35:30.275     current time: Thu Dec  2 23:35:29 2021 (1638484529)
23:35:30.280     rtc_offset  : 0
23:35:30.306     [fb_accel_arm] run end
23:35:30.311     [HAL:00000000:init  ] hal_api_exit, initialized = 1
23:35:30.316     [neutrino] This is the end. Exiting with code 0
23:35:30.347     Segmentation fault
23:35:40.364     killall: showiframe: no process killed
Die xml dazu

Code: Alles auswählen

<?xml version="1.0" encoding="UTF-8"?>
<webtvs name="Webcam">
<webtv title="Igel Live" urlkey="0" url="rtsp://***:***@192.168.99.99:554/stream1" description="Igel Live Stream" />
</webtvs>
Das ist der jabsco stream server

Kann ich an der xml noch was drehen ?
Die Kamera läuft mit 1920x1080 50

Re: Segfault

Verfasst: Sa 4. Dez 2021, 07:32
von BPanther
Interessant, denn das "[neutrino] This is the end. Exiting with code 0" kommt noch. Das ist auch die letzte Zeile vor dem echten Programmende, denn davor wurde alles Neutrino-Interne bereits beendet. Siehe dazu: https://github.com/Duckbox-Developers/n ... .cpp#L4333

Vielleicht läuft da noch nen Zombie irgendwo und der dann dazwischenfunkt und den C++ Standard-Exit Befehl dann stört/durcheinanderbringt?! Hmm...

Re: Segfault

Verfasst: Di 7. Dez 2021, 07:56
von thc09
Nachtrag:

Der rtsp stream hat damit zumindest nichts zu tun.
Das lag wieder nahe, passiert aber auch so.

Nur was das auslöst muss ich noch finden :angry:
Das belastet meinen Co2 Fußabdruck mächtig ... :(