Linux Scraper causes crash and reboot loop
#1
Bug 
When I add a scraper to a source, Movie or TV, kodi will scrape for a while then crash and go into a reboot loop. I have seen similar threads similar threads when the source is a samba server. This is on an LVM. I had a successful setup with an RBP B+ and no LVM but idk if it's the RBP 2 or the LVM thats the problem

Rbp: Raspberry Pi 2
OS: Arch Linux Arm
Kodi: kodi-rbp-git 6.20150820-1
I have tried downgrading to isengard from jarvis to no success

Mods from the android thread linked above asked for a folder structure drop and crash log:

Here is a folder structure that causes kodi to crash when scanning recursively with the default movie scraper. Other directories with the TV or Movie scraper will crash if scanned recursively.

Code:
[root@bmo video]# tree -d /media/extra/video/misc
/media/extra/video/misc
`-- Pixar\ Short\ Films\ Collection\ Volume\ 2
    |-- 01\ -\ Your\ Friend\ The\ Rat\ (2007)\ ENG-ITA-COMM
    |-- 02\ -\ Presto\ (2008)\ No-Lang\ -\ Comm
    |-- 03\ -\ BURN-E\ (2008)\ ENG-ITA-Comm
    |-- 04\ -\ Partly\ Cloudy\ (2009)\ No-Lang\ -\ Comm
    |-- 05\ -\ Dug's\ Special\ Mission\ (2009)\ ENG-ITA-Comm
    |-- 06\ -\ George\ And\ A.\ J.\ (2009)\ ENG-Comm
    |-- 07\ -\ Day\ &\ Night\ (2010)\ ENG-ITA-Comm
    |-- 08\ -\ La\ Luna\ (2001)\ No-Lang\ -\ Comm
    |-- 09\ -\ Hawaiian\ Vacation\ (2011)\ ENG-ITA-Comm
    |-- 10\ -\ Air\ Mater\ (2011)\ ENG-ITA-Comm
    |-- 11\ -\ Small\ Fry\ (2011)\ ENG-ITA-Comm
    |-- 12\ -\ Time\ Travel\ Mater\ (2012)\ ENG-ITA-Comm
    `-- Extras
        |-- 01\ -\ Nitemare\ (1979)
        |-- 02\ -\ Lady\ And\ The\ Lamp\ (1979)
        |-- 03\ -\ Somewhere\ In\ The\ Artic\ (1988)
        |-- 04\ -\ A\ Story\ (1987)
        |-- 05\ -\ Winter\ (1988)
        |-- 06\ -\ Palm\ Springs\ (1989)
        `-- 07\ -\ Next\ Door\ (1990)

21 directories

Here is one of the crash logs. There are multiple because of the reboot loop. I tried reading it but I can't find any hints. Maybe the devs can.

Code:
############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
Date: Wed Sep 30 21:55:18 CDT 2015
Kodi Options:
Arch: armv7l
Kernel: Linux 4.1.8-1-ARCH #1 SMP PREEMPT Tue Sep 22 19:47:50 MDT 2015
Release: Arch Linux ARM
############## END SYSTEM INFO ##############

############### STACK TRACE #################
############# END STACK TRACE ###############

################# LOG FILE ##################

21:54:50 T:1945837568  NOTICE: special://profile/ is mapped to: special://masterprofile/
21:54:50 T:1945837568  NOTICE: -----------------------------------------------------------------------
21:54:50 T:1945837568  NOTICE: Starting Kodi (16.0-ALPHA2 Git:Unknown). Platform: Linux ARM 32-bit
21:54:50 T:1945837568  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
21:54:50 T:1945837568  NOTICE: Kodi compiled Aug 20 2015 by GCC 5.2.0 for Linux ARM 32-bit version 4.1.4 (262404)
21:54:50 T:1945837568  NOTICE: Running on Arch Linux ARM 0.0, kernel: Linux ARM 32-bit version 4.1.8-1-ARCH
21:54:50 T:1945837568  NOTICE: FFmpeg statically linked, version: 2.7.2-kodi-2.7.2-Jarvis-alpha1
21:54:50 T:1945837568  NOTICE: Host CPU: ARMv7 Processor rev 5 (v7l), 4 cores available
21:54:50 T:1945837568  NOTICE: ARM Features: Neon enabled
21:54:50 T:1945837568  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
21:54:50 T:1945837568  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
21:54:50 T:1945837568  NOTICE: special://masterprofile/ is mapped to: /var/lib/kodi/.kodi/userdata
21:54:50 T:1945837568  NOTICE: special://home/ is mapped to: /var/lib/kodi/.kodi
21:54:50 T:1945837568  NOTICE: special://temp/ is mapped to: /var/lib/kodi/.kodi/temp
21:54:50 T:1945837568  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
21:54:50 T:1945837568  NOTICE: Local hostname: bmo
21:54:50 T:1945837568  NOTICE: Log File is located: /var/lib/kodi/.kodi/temp/kodi.log
21:54:50 T:1945837568  NOTICE: -----------------------------------------------------------------------
21:54:50 T:1945837568   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
21:54:50 T:1945837568   ERROR: DBus: Error org.freedesktop.DBus.Error.AccessDenied - Permission denied
21:54:50 T:1945837568   ERROR: Previous line repeats 1 times.
21:54:50 T:1945837568   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.PolicyKit1 was not provided by any .service files
21:54:50 T:1945837568 WARNING: LogindUPowerSyscall - failed to inhibit sleep delay lock
21:54:50 T:1945837568  NOTICE: load settings...
21:54:50 T:1945829872  NOTICE: Thread FDEventMonitor start, auto delete: false
21:54:50 T:1945837568  NOTICE: Found 2 Lists of Devices
21:54:50 T:1945837568  NOTICE: Enumerated PI devices:
21:54:50 T:1945837568  NOTICE:     Device 1
21:54:50 T:1945837568  NOTICE:         m_deviceName      : HDMI
21:54:50 T:1945837568  NOTICE:         m_displayName     : HDMI
21:54:50 T:1945837568  NOTICE:         m_displayNameExtra:
21:54:50 T:1945837568  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
21:54:50 T:1945837568  NOTICE:         m_channels        : FL,FR
21:54:50 T:1945837568  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
21:54:50 T:1945837568  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
21:54:50 T:1945837568  NOTICE:     Device 2
21:54:50 T:1945837568  NOTICE:         m_deviceName      : Analogue
21:54:50 T:1945837568  NOTICE:         m_displayName     : Analogue
21:54:50 T:1945837568  NOTICE:         m_displayNameExtra:
21:54:50 T:1945837568  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
21:54:50 T:1945837568  NOTICE:         m_channels        : FL,FR
21:54:50 T:1945837568  NOTICE:         m_sampleRates     : 48000
21:54:50 T:1945837568  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
21:54:50 T:1945837568  NOTICE:     Device 3
21:54:50 T:1945837568  NOTICE:         m_deviceName      : Both
21:54:50 T:1945837568  NOTICE:         m_displayName     : HDMI and Analogue
21:54:50 T:1945837568  NOTICE:         m_displayNameExtra:
21:54:50 T:1945837568  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
21:54:50 T:1945837568  NOTICE:         m_channels        : FL,FR
21:54:50 T:1945837568  NOTICE:         m_sampleRates     : 48000
21:54:50 T:1945837568  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
21:54:50 T:1945837568  NOTICE: Enumerated ALSA devices:
21:54:50 T:1945837568  NOTICE:     Device 1
21:54:50 T:1945837568  NOTICE:         m_deviceName      : @
21:54:50 T:1945837568  NOTICE:         m_displayName     : Default (bcm2835 ALSA bcm2835 ALSA)
21:54:50 T:1945837568  NOTICE:         m_displayNameExtra:
21:54:50 T:1945837568  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
21:54:50 T:1945837568  NOTICE:         m_channels        : FL,FR
21:54:50 T:1945837568  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000
21:54:50 T:1945837568  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
21:54:50 T:1945837568  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
21:54:50 T:1945837568  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <video>
                                                <defaultplayer>dvdplayer</defaultplayer>
                                                <defaultdvdplayer>dvdplayer</defaultdvdplayer>
                                              </video>
                                            </advancedsettings>
21:54:50 T:1945837568  NOTICE: Loaded settings file from special://profile/advancedsettings.xml
21:54:50 T:1945837568  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <services>
                                                <esallinterfaces>true</esallinterfaces>
                                                <webserver>true</webserver>
                                                <zeroconf>true</zeroconf>
                                              </services>
                                            </advancedsettings>
21:54:50 T:1945837568  NOTICE: Default DVD Player: dvdplayer
21:54:50 T:1945837568  NOTICE: Default Video Player: dvdplayer
21:54:50 T:1945837568  NOTICE: Default Audio Player: paplayer
21:54:50 T:1945837568  NOTICE: Disabled debug logging due to GUI setting. Level 0.
21:54:50 T:1945837568  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
21:54:50 T:1945837568  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
21:54:50 T:1945837568  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
21:54:50 T:1945837568  NOTICE: Loaded playercorefactory configuration
21:54:50 T:1945837568  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
21:54:50 T:1945837568  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
02:54:50 T:1935667696  NOTICE: Thread ActiveAE start, auto delete: false
02:54:50 T:1925181936  NOTICE: Thread AESink start, auto delete: false
02:54:50 T:1864364528  NOTICE: Thread CRBPWorker start, auto delete: false
02:54:50 T:1945837568  NOTICE: ActiveAE DSP - starting
02:54:50 T:1945837568  NOTICE: Running database version Addons19
02:54:50 T:1945837568  NOTICE: ADDONS: Using repository repository.xbmc.org
02:54:51 T:1945837568  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
02:54:51 T:1835848176  NOTICE: Thread CECAdapter start, auto delete: false
02:54:51 T:1808790000  NOTICE: Thread PeripBusUSBUdev start, auto delete: false
02:54:51 T:1800401392  NOTICE: Thread RemoteControl start, auto delete: false
02:54:51 T:1792012784  NOTICE: Thread BaiduPYApi start, auto delete: false
02:54:51 T:1945837568  NOTICE: Raspberry PI firmware version: Sep 29 2015 13:06:19
                                            Copyright (c) 2012 Broadcom
                                            version 3bbf5122d0c4ff421c92d72871dbc8fa104a976d (clean) (release)
02:54:51 T:1945837568  NOTICE: ARM mem: 880MB GPU mem: 128MB MPG2:0 WVC1:0
02:54:51 T:1945837568  NOTICE: Config:
                                            arm_freq=900
                                            config_hdmi_boost=5
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            emmc_pll_core=1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            hdmi_channel_map=8
                                            hdmi_force_cec_address=65535
                                            over_voltage_avs=0x1b774
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            sdram_freq=450
                                            temp_limit=85
02:54:51 T:1945837568  NOTICE: Config:
                                            device_tree=-
02:54:51 T:1945837568  NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
02:54:51 T:1945837568  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 60.000000 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 59.940063 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 60.000000 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 59.940063 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000000 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 59.940063 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 60.000000 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 59.940063 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 60.000000 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 59.940063 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 60.000000 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 59.940063 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1280 x 768 for display 0 with 1280 x 768 @ 60.000000 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1280 x 768 for display 0 with 1280 x 768 @ 59.940063 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1360 x 768 for display 0 with 1360 x 768 @ 60.000000 Hz
02:54:51 T:1945837568  NOTICE: Found resolution 1360 x 768 for display 0 with 1360 x 768 @ 59.940063 Hz
02:54:51 T:1945837568  NOTICE: Found ([email protected]) at 30, setting to RES_DESKTOP at 16
02:54:51 T:1945837568  NOTICE: Checking resolution 16
02:54:51 T:1945837568  NOTICE: GL_VENDOR = Broadcom
02:54:51 T:1945837568  NOTICE: GL_RENDERER = VideoCore IV HW
02:54:51 T:1945837568  NOTICE: GL_VERSION = OpenGL ES 2.0
02:54:51 T:1945837568  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
02:54:51 T:1945837568  NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_APPLE_rgb_422 GL_EXT_debug_marker
02:54:52 T:1781527024  NOTICE: Thread CECAdapterUpdate start, auto delete: false
02:54:52 T:1945837568  NOTICE: Running database version Addons19
02:54:52 T:1945837568  NOTICE: Running database version ViewModes6
02:54:52 T:1945837568  NOTICE: Running database version Textures13
02:54:52 T:1945837568  NOTICE: Running database version MyMusic53
02:54:52 T:1945837568  NOTICE: Running database version MyVideos94
02:54:52 T:1945837568  NOTICE: Running database version TV29
02:54:52 T:1945837568  NOTICE: Running database version Epg10
02:54:52 T:1945837568  NOTICE: start dvd mediatype detection
02:54:52 T:1782653424  NOTICE: Thread DetectDVDMedia start, auto delete: false
02:54:52 T:1945837568 WARNING: CSkinInfo: failed to load skin settings
02:54:55 T:1945837568 WARNING: Previous line repeats 1 times.
02:54:55 T:1945837568 WARNING: JSONRPC: Could not parse type "PVR.Details.Channel"
02:54:55 T:1945837568 WARNING: JSONRPC: Could not parse type "PVR.Details.ChannelGroup.Extended"
02:54:55 T:1945837568 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
02:54:55 T:1945837568 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
02:54:55 T:1768657392  NOTICE: Thread LanguageInvoker start, auto delete: false
02:54:55 T:1945837568  NOTICE: ActiveAE DSP - starting
02:54:55 T:1945837568  NOTICE: initialize done
02:54:55 T:1945837568  NOTICE: Running the application...
02:54:55 T:1768657392  NOTICE: -->Python Interpreter Initialized<--
02:54:56 T:1758523888  NOTICE: Thread JobWorker start, auto delete: true
02:54:56 T:1945837568  NOTICE: starting zeroconf publishing
02:54:56 T:1945837568  NOTICE: Webserver: Starting...
02:54:56 T:1741746672  NOTICE: Thread JobWorker start, auto delete: true
02:54:56 T:1945837568  NOTICE: WebServer: Started the webserver
02:54:56 T:1945837568  NOTICE: starting upnp client
02:54:56 T:1716580848  NOTICE: Thread JobWorker start, auto delete: true
02:54:56 T:1945837568  NOTICE: ES: Starting event server
02:54:56 T:1666249200  NOTICE: Thread TCPServer start, auto delete: false
02:54:56 T:1674637808  NOTICE: Thread EventServer start, auto delete: false
02:54:56 T:1674637808  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
02:54:56 T:1674637808  NOTICE: UDP: Listening on port 9777


############### END LOG FILE ################

############ END Kodi CRASH LOG #############
Reply
#2
1. don't post logs inline, use pastebin
2. enable debugging
3. provide a crashlog
4. gcc 5.2 is know to cause issues
Reply
#3
This is an Arch issue (apparently already solved).
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#4
switching from kodi-rbp-git to kodi-rbp solved the issue.

Will use pastebin next time.
Reply

Logout Mark Read Team Forum Stats Members Help
Scraper causes crash and reboot loop0