Bug #3233

RPi - Full system crash

Added by Dean Kasabow almost 5 years ago. Updated almost 5 years ago.

Status:FixedStart date:11/01/2016
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:GLW
Target version:5.2
Found in version:5.0.425 Platform:RPi

Description

When movian tries to display the poster image and metadata for a movie/episode it crashes the system (screen gets garbled).

Reverting to the simple check+return in glw.c fixes the issue. Poster and metadata are shown correctly and system doesn't crash.

Crash:
Revision abf7c612 src/ui/glw/glw.c
if(rc0.rc_width < 1) rc0.rc_width = 1;
if(rc0.rc_height < 1) rc0.rc_height = 1;

OK:
if(rc0.rc_width < 1 || rc0.rc_height < 1) return;

screenshot.1478113742.jpg - RPi crash (725 KB) Max Lourenço, 11/02/2016 08:09 PM

3.log - log file (39.8 KB) Max Lourenço, 11/02/2016 08:15 PM

Associated revisions

Revision 9bd0fb47
Added by Andreas Smas almost 5 years ago

Revert: Fix layout when margin make a widget very small (last commit)

Fixes #3233

History

#1 Updated by Andreas Smas almost 5 years ago

  • Status changed from New to Accepted
  • Target version set to 5.2

Ah right, this was a fix for when margins become negative but apparently it have caused some issues on RPI then.

I'll have a look, thanks.

#2 Updated by Max Lourenço almost 5 years ago

Andreas Smas wrote:

Ah right, this was a fix for when margins become negative but apparently it have caused some issues on RPI then.

I'll have a look, thanks.

My RPi is like this (attached):

How do I get logs from RPi anyway??

#3 Updated by Max Lourenço almost 5 years ago

Got it...

#4 Updated by Max Lourenço almost 5 years ago

  1. tail f movian-0.log
    00:09:13.914: CEC [INFO ]:SL initialised
    00:09:14.549: CEC [INFO ]:SL initialised
    00:09:27.796: CEC [INFO ]:SL initialised
    00:09:28.380: CEC [INFO ]:SL initialised
    00:09:29.014: CEC [INFO ]:SL initialised
    00:09:29.650: CEC [INFO ]:SL initialised
    00:09:42.884: CEC [INFO ]:SL initialised
    00:09:43.439: CEC [INFO ]:SL initialised
    00:09:44.073: CEC [INFO ]:SL initialised
    00:09:44.709: CEC [INFO ]:SL initialised
    00:09:56.106: Upgrade [DEBUG]:Checking upgrades for master-rpi
    00:10:04.833: navigator [INFO ]:Opening https://rarbg.unblocked.date/download.php?id=wze6342&f=Marvels%20Luke%20Cage%20S01%20WEBRip%20XviD-FUM%5Bettv%5D
    [rarbg.com].torrent
    00:10:04.845: HTTP [INFO ]:Connect to rarbg.unblocked.date:443
    00:10:05.023: HTTP [INFO ]:Connect to rarbg.unblocked.date:443
    00:10:05.555: DB [DEBUG]:Opened database /stos/persistent/showtime/metadb/meta.db pages: free=0 total=200
    00:10:05.571: DB [DEBUG]:Opened database /stos/persistent/showtime/metadb/meta.db pages: free=0 total=200
    00:10:05.574: DB [DEBUG]:Opened database /stos/persistent/showtime/metadb/meta.db pages: free=0 total=200

#5 Updated by Max Lourenço almost 5 years ago

I removed fetching of metadata from thetvdb.com and themoviedb.org and it does not hang anymore :)

  1. tail f movian-0.log
    00:04:45.806: CEC [INFO ]:SL initialised
    00:04:46.442: CEC [INFO ]:SL initialised
    00:04:59.612: CEC [INFO ]:SL initialised
    00:05:00.168: CEC [INFO ]:SL initialised
    00:05:00.863: CEC [INFO ]:SL initialised
    00:05:01.498: CEC [INFO ]:SL initialised
    00:05:14.697: CEC [INFO ]:SL initialised
    00:05:15.269: CEC [INFO ]:SL initialised
    00:05:15.903: CEC [INFO ]:SL initialised
    00:05:16.540: CEC [INFO ]:SL initialised
    00:05:29.794: CEC [INFO ]:SL initialised
    00:05:30.375: CEC [INFO ]:SL initialised
    00:05:31.009: CEC [INFO ]:SL initialised
    00:05:31.645: CEC [INFO ]:SL initialised
    00:05:38.171: navigator [INFO ]:Opening https://rarbg.unblocked.date/download.php?id=wze6342&f=Marvels%20Luke%20Cage%20S01%20WEBRip%20XviD-FUM%5Bettv%5D
    [rarbg.com].torrent
    00:05:38.184: HTTP [INFO ]:Connect to rarbg.unblocked.date:443
    00:05:38.358: HTTP [INFO ]:Connect to rarbg.unblocked.date:443
    00:05:38.836: DB [DEBUG]:Opened database /stos/persistent/showtime/metadb/meta.db pages: free=0 total=200
    00:05:38.838: DB [DEBUG]:Opened database /stos/persistent/showtime/metadb/meta.db pages: free=0 total=200
    00:05:54.763: CEC [INFO ]:SL initialised
    00:05:55.358: CEC [INFO ]:SL initialised
    00:05:56.052: CEC [INFO ]:SL initialised
    00:05:56.688: CEC [INFO ]:SL initialised

But I dont see any difference in the LOGs. How to activate more debug messages?

#6 Updated by Andreas Smas almost 5 years ago

Funny how it manages to crash the Rpi so hard. Looks like there is some buffer overrun in the GPU or something.

#7 Updated by Andreas Smas almost 5 years ago

  • Status changed from Accepted to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF