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
Search



Donate

Rockbox Technical Forums


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

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Divide by zero error, 090322
« previous next »
  • Print
Pages: [1] 2

Author Topic: Divide by zero error, 090322  (Read 6594 times)

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Divide by zero error, 090322
« on: March 24, 2009, 11:08:41 AM »
I'm at work and wasn't able to really test out this error but after two quick tests it seems an MP3 file gets played, up next is a WAV file and that's when the error hits.

I tried playing a WAV file alone and got the error.

Using build unknown-090322.

Can anyone verify this so I can throw this up on the bug tracker?
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Divide by zero error, 090322
« Reply #1 on: March 24, 2009, 12:49:12 PM »
How did you get a build with version number unknown-090322? Are you using a custom build?
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: Divide by zero error, 090322
« Reply #2 on: March 24, 2009, 02:01:38 PM »
I'm pretty sure I grabbed the source from the Current build page and I compiled my own build.
I changed a few things in the source but never even went close to the music playback section. I changed the boot image & parameters, plugin and theme related stuff.

I guess it is weird that it says unknown...

I'll try compiling my own build with the latest source tonight and see how it goes.

Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Divide by zero error, 090322
« Reply #3 on: March 24, 2009, 02:16:34 PM »
Quote from: Job Van Dam on March 24, 2009, 02:01:38 PM
I'm pretty sure I grabbed the source from the Current build page and I compiled my own build.
I changed a few things in the source but never even went close to the music playback section. I changed the boot image & parameters, plugin and theme related stuff.

I guess it is weird that it says unknown...

I'll try compiling my own build with the latest source tonight and see how it goes.



Quote
Please do not report bugs that occur using a custom or experimental build, unless you have confirmed that the bug can be replicated using an official build from the current build link on the left.


From the guidelines (which you should read)
Logged

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: Divide by zero error, 090322
« Reply #4 on: March 24, 2009, 08:22:53 PM »
I would like to make a correction, Rockbox won't play my FLAC files. I have no WAV's just FLAC's.

Alright I recompiled, no edits to source, got the same error.

Used the Toshiba Gigabeat F/X build from the Current Build page and still got the same error...

I restarted the DAP everytime. Any suggestions at all?
Version: r20527-090324
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Divide by zero error, 090322
« Reply #5 on: March 24, 2009, 08:23:44 PM »
What is the exact, complete error message you're getting with a build downloaded from the current build page?
Logged

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: Divide by zero error, 090322
« Reply #6 on: March 24, 2009, 08:35:31 PM »
Divide by zero
at 01E56B90
Logged

Offline Thecoolgman

  • Member
  • *
  • Posts: 55
    • Xylem
Re: Divide by zero error, 090322
« Reply #7 on: March 24, 2009, 08:41:33 PM »
I did something about a couple days ago and got a divide by zero error message. I laughed because it's a meme.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Divide by zero error, 090322
« Reply #8 on: March 24, 2009, 08:43:46 PM »
What SVN revision is that with?

And what, exactly, are the circumstances you trigger it under?
Logged

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: Divide by zero error, 090322
« Reply #9 on: March 25, 2009, 12:01:10 AM »
I don't use SVN I just drag and drop.

Just loading any FLAC file causes the error. The two ways I've done is during shuffled playlist playback. The other I selected a FLAC file from a folder.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Divide by zero error, 090322
« Reply #10 on: March 25, 2009, 12:39:06 AM »
Your build still has an SVN revision.

Seriously, I'm not asking these questions simply for the sake of asking questions. The answers are important.

So, what revision of Rockbox was that *exact* error message from and how were the FLAC files created, exactly?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Divide by zero error, 090322
« Reply #11 on: March 25, 2009, 12:49:05 AM »
I have no problems playing FLAC with r20527 on my F40.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: Divide by zero error, 090322
« Reply #12 on: March 25, 2009, 01:52:38 AM »
Quote from: Job Van Dam on March 24, 2009, 08:35:31 PM
Divide by zero
at 01E56B90

In the FLAC codec, near the end of flac_init() at:
fc->bitrate = ((fc->filesize-fc->metadatalength) * 8 ) / fc->length;

I wonder if some metadata is missing in the FLAC files.  It would be helpful if you provided a link to a FLAC file which causes this error.  I wonder if totalsamples is 0.
« Last Edit: March 25, 2009, 02:00:46 AM by dreamlayers »
Logged

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: Divide by zero error, 090322
« Reply #13 on: March 25, 2009, 02:16:37 AM »
How do I find the SVN revision number?
I created the FLAC files using Goldwave, originally they were WAV's. Never had a problem playing these files before anywhere.

I even tried Rockbox 3.2 and that gives me an error so something has got to be up.

I tried deleting all Rockbox files on my DAP (minus themes and config) and still get the error.

Does anyone have a "proper" FLAC file that plays on the current Rockbox build they could upload somewhere? I just want to test ...

DreamLayers, there just sound effects I uploaded 3 to Rapidshare.
There copyright, I'm sorry, I will delete the link when I'm done with it.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Divide by zero error, 090322
« Reply #14 on: March 25, 2009, 02:50:02 AM »
Release/revision number is under System -> Rockbox Info -> Version.

If all files encoded with Goldwave give you this error, you could encode something that isn't copyrighted and upload that.
« Last Edit: March 25, 2009, 02:51:49 AM by cool_walking_ »
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Divide by zero error, 090322
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.123 seconds with 16 queries.