2017-04-08, 08:31
Kodi (on RPi3) crashes often while trying to receive media information:
It's always the same function:
BTW: since a few builds my TV does not automatically turn on - but I once had a power outage while updating - maybe it killed something.
Had to force hdmi hotplug and resolution in config.txt.
EDIT: I think my config.txt got rewritten after the upgrade crash:
PS.: Is there a way to shut down (power off) an external USB HDD when doing a "remove safely"?
Code:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x004e6a1c in ?? ()
[Current thread is 1 (Thread 0x699f43a0 (LWP 546))]
Thread 1 (Thread 0x699f43a0 (LWP 546)):
#0 0x004e6a1c in ?? ()
#1 0x004e6c30 in COMXImage::GetCodingType(XUTILS::auto_buffer const&, unsigned int&, unsigned int&, int&, std::string&) ()
#2 0x00705ea8 in CPiTexture::LoadFromFileInternal(std::string const&, XUTILS::auto_buffer const&, unsigned int, unsigned int, bool, std::string const&) ()
#3 0x006fc0d4 in CBaseTexture::LoadFromFile(std::string const&, unsigned int, unsigned int, bool, std::string const&) ()
#4 0x007dd878 in CImageLoader::DoWork() ()
#5 0x006142bc in CJobWorker::Process() ()
#6 0x0065b174 in CThread::Action() ()
#7 0x0065b864 in CThread::staticThread(void*) ()
#8 0x76f35f40 in start_thread (arg=0x699f43a0) at pthread_create.c:335
#9 0x751d7e18 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:86 from /usr/lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
It's always the same function:
Code:
Thread 1 (Thread 0x6eaff3a0 (LWP 381)):
#0 0x004e6a1c in ?? ()
#1 0x004e6c30 in COMXImage::GetCodingType(XUTILS::auto_buffer const&, unsigned int&, unsigned int&, int&, std::string&) ()
#2 0x00705ea8 in CPiTexture::LoadFromFileInternal(std::string const&, XUTILS::auto_buffer const&, unsigned int, unsigned int, bool, std::string const&) ()
#3 0x006fc0d4 in CBaseTexture::LoadFromFile(std::string const&, unsigned int, unsigned int, bool, std::string const&) ()
#4 0x007dd878 in CImageLoader::DoWork() ()
#5 0x006142bc in CJobWorker::Process() ()
#6 0x0065b174 in CThread::Action() ()
#7 0x0065b864 in CThread::staticThread(void*) ()
#8 0x76eb8f40 in start_thread (arg=0x6eaff3a0) at pthread_create.c:335
Backtrace stopped: Cannot access memory at address 0x4e2
Code:
20:40:54.755 T:1944895488 NOTICE: Starting Kodi (18.0-ALPHA1 Git:78cce57). Platform: Linux ARM 32-bit
20:40:54.755 T:1944895488 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
20:40:54.755 T:1944895488 NOTICE: Kodi compiled Apr 2 2017 by GCC 6.2.0 for Linux ARM 32-bit version 4.10.8 (264712)
20:40:54.755 T:1944895488 NOTICE: Running on LibreELEC (Milhouse) - Version: devel-20170402210247-#0402-g8cd9fa5 [Build #0402] 9.0, kernel: Linux ARM 32-bit version 4.10.8
....
20:41:07.219 T:1857024928 NOTICE: Start - EPG thread started
20:41:08.234 T:1448846240 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
20:41:08.504 T:1660941216 NOTICE: [plugin.video.youtube] Startup: detected Krypton (Kodi-18.0), setting DASH_SUPPORT_BUILTIN = False, DASH_SUPPORT_ADDON = True
20:41:08.684 T:1635775392 NOTICE: INDIGO NOTICE: STARTING INDIGO SERVICE
20:41:09.021 T:1635775392 NOTICE: INDIGO NOTICE: Indigo has NOT ran before
20:41:09.022 T:1635775392 NOTICE: INDIGO NOTICE: Auto Main Turned off
20:41:09.022 T:1635775392 NOTICE: INDIGO NOTICE: SCRIPT BLOCKER ON
20:41:13.422 T:1635775392 NOTICE: INDIGO NOTICE: Checking for Malicious scripts
20:42:30.185 T:1944895488 NOTICE: UDev: Added /var/media/Xeno HDD 3TB
20:45:38.785 T:1772045216 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://hdfilme.tv/upload/public/b820e2c3fd82c373d9264242dac325bc.jpg|User-Agent=Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0
20:45:38.792 T:1783616416 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://hdfilme.tv/upload/public/8a8a018b8852d31d901285c48659eb36.jpg|User-Agent=Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0
20:45:40.688 T:1792005024 ERROR: GetDirectory - Error getting
20:45:48.082 T:1772045216 ERROR: Previous line repeats 6 times.
20:45:48.082 T:1772045216 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
BTW: since a few builds my TV does not automatically turn on - but I once had a power outage while updating - maybe it killed something.
Had to force hdmi hotplug and resolution in config.txt.
EDIT: I think my config.txt got rewritten after the upgrade crash:
Code:
arm_freq=1200
audio_pwm_mode=1
config_hdmi_boost=5
core_freq=400
desired_osc_freq=0x36ee80
disable_commandline_tags=2
disable_l2cache=1
disable_splash=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=300
hdmi_channel_map=8
hdmi_force_cec_address=65535
hdmi_ignore_cec_init=1
init_uart_clock=0x2dc6c00
lcd_framerate=60
over_voltage_avs=0x186a0
over_voltage_avs_boost=0x186a0
overscan_bottom=48
overscan_left=48
overscan_right=48
overscan_top=48
pause_burst_frames=1
program_serial_random=1
sdram_freq=450
second_boot=1
temp_limit=85
PS.: Is there a way to shut down (power off) an external USB HDD when doing a "remove safely"?