Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Data abort on Sansa Clip+ with latest daily build
« previous next »
  • Print
Pages: [1] 2 3 ... 5

Author Topic: Data abort on Sansa Clip+ with latest daily build  (Read 8317 times)

Offline Carlo

  • Member
  • *
  • Posts: 52
Data abort on Sansa Clip+ with latest daily build
« on: February 12, 2023, 01:23:08 PM »
After updating Rockbox on my Sansa Clip+ to the 20230208 daily build I'm frequently experiencing "Data abort" errors when switching tracks or fast forwarding. They started to happen right after updating from a last december build. A sample of the error summary:

Data abort at 30063908
FSR 0x8
(domain 0, fault 8)
address 0x57ee557a
pc:30063908
sp:300d47a8
bt end

The MP3 files I'm listening to have been transferred on the Clip+ several months ago, so no recent additions, and the error manifest itself on average after 15 minutes, sometimes just after two or three minutes from booting. It cannot be reproduced, but it's triggered by switching tracks and by fast forward/reverse. Daily build from today shows the same behavior.

I've performed a r/w test on the internal memory and there are no reported issues.

Any suggestion about how to further diagnose and solve the issue? Thanks.

Edit: it seems it could be related to this bug report, https://www.rockbox.org/tracker/task/13388 . I tried to register on the bug tracker but I receive the error "Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/rockbox/flyspray/vendor/dapphp/securimage/securimage.php on line 2209".

Edit 2: it happens with the build from 20230113 too, so the bug was introduced earlier.
« Last Edit: February 12, 2023, 08:10:07 PM by Carlo »
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1190
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #1 on: February 13, 2023, 12:20:58 AM »
I have a clip+ as well and I can't repro this so far

if you want to give me the dataabort on this build we can try to trace it
I've included the .map file which should show us where the program counter is pointing

https://www.mediafire.com/file/sxd4vdznpuj8f0c/ClipPlus_3bb75e0039-230213_rockbox-full.zip/file

be sure to rename your old .rockbox folder and do a clean 'install'

it doesn't mean there is or isn't an issue with your sd card though but i'd try a different one anyway
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #2 on: February 13, 2023, 05:56:24 AM »
It's unlikely that's an hardware issue, as I've compiled a build from 20221230 and it seems fine so far. I'll give your build a try and report back.
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #3 on: February 13, 2023, 01:15:38 PM »
The error showed up again when using your build, this is the data:

Data abort at 30062974
FSR 0x8
(domain 0, fault 8 )
address 0xfffffef4
pc:30062974
sp:300d4740

It happened right after booting and switching no more than 6 or 7 tracks. A second one, after a few minutes:

Data abort at 30062318
FSR 0x8
(domain 0, fault 8 )
address 0xac5fdf74
pc:30062318
sp:300d4740
bt end

It seems the only common address between the last two crashes is the stack pointer one. A third one, also happened while cycling through the same directory as the other two crashes:

Data abort at 30063908
FSR 0x8
(domain 0, fault 8 )
address: 0x55555561
pc:30063908
sp:300d47a8
bt end
« Last Edit: February 13, 2023, 01:37:32 PM by Carlo »
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1190
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #4 on: February 13, 2023, 04:11:29 PM »
The first two are in the font system and the third appears to be in LCD init_viewport are you using any themes or is it a bone stock install? Also do the songs it crashes on crash everytime or just randomly? any special chars in those filenames ETC?
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #5 on: February 13, 2023, 05:13:34 PM »
1) I'm using the Informative Beauty theme, as I've done for years on all my Clip+ players without any issue.

2) The crashes are random, I could cycle 5-6 times through the files in the same directory before getting one.

3) No special characters. Again, last time I added new files on this device was a few months ago, and it's my daily driver - so I noticed the crashes immediately after updating, as until that moment it was working perfectly.

I can confirm beyond any reasonable doubt that the 20221230 build is NOT affected by the issue, while 20230113 is affected.

Thank you for your help!
« Last Edit: February 13, 2023, 05:15:55 PM by Carlo »
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1190
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #6 on: February 13, 2023, 05:16:28 PM »
Try to repro the issue using the default theme cabbie the closer you can get me to the issue the less time it'll take to fix it if i can reproduce it it'll be even faster otherwise we will have to bisect through 10-100 builds one at a time
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #7 on: February 13, 2023, 05:27:21 PM »
Could the bug be related to the "[BUGFix] ClipPlus move picker below yellow screen split" from 20230113? It wouldn't be that much of a hassle for me to bisect the two weeks between 20221230 and 20230113 until I can pinpoint a bug free build.

I've prepared a Debian vm with the proper compiler toolchain last night, and it doesn't take that long to checkout a specific commit, build and test.
« Last Edit: February 13, 2023, 05:30:50 PM by Carlo »
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1190
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #8 on: February 13, 2023, 05:36:45 PM »
not unless you are using the keyboard in that run..

git bisect is your next course of action if you can compile builds or I can for you given about 30 mins to an hour
see us on IRC in that case

Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #9 on: February 13, 2023, 05:42:09 PM »
I'm able and willing to compile builds, will start right now with 20230106 and see how it goes.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1190
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #10 on: February 13, 2023, 05:46:54 PM »
https://gerrit.rockbox.org/r/c/rockbox/+/5112
parent 78718aa7eb < here is where it works is my guess
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #11 on: February 13, 2023, 05:58:24 PM »
It seems that change was committed on Jan 29, but the crashes already happen with the daily Jan 13 build.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1190
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #12 on: February 15, 2023, 01:22:36 AM »
I think I found it its been merged so try the latest daily
https://gerrit.rockbox.org/r/c/rockbox/+/5123
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #13 on: February 15, 2023, 05:52:00 AM »
Thank you very much, I will try the latest daily for a couple of hours later today and report back.
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Data abort on Sansa Clip+ with latest daily build
« Reply #14 on: February 15, 2023, 12:13:30 PM »
Sadly I have bad news: I had an hard freeze with the Informative Beauty theme a couple of minutes after booting, but when I switched to the default Cabbiev2 theme it worked fine for more than two hours. I'll do more testing tonight.

Edit: as puzzling as it sounds, after performing a clean install and manually changing all the relevant settings I didn't have any crashes for more than one hour. 
« Last Edit: February 15, 2023, 04:50:39 PM by Carlo »
Logged

  • Print
Pages: [1] 2 3 ... 5
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Data abort on Sansa Clip+ with latest daily build
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.088 seconds with 21 queries.