FS#11068 - FFT plugin crashes on startup on MIPS target

Attached to Project: Rockbox
Opened by Maurus Cuelenaere (mcuelenaere) - Sunday, 28 February 2010, 15:34 GMT
Last edited by Maurus Cuelenaere (mcuelenaere) - Saturday, 19 June 2010, 12:52 GMT
Task Type Bugs
Category Plugins
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The FFT plugin sometimes crashes on startup on my Onda VX747 (MIPS).

I've tried aligning the FFT_CFG state (see patch) but that didn't help, it seems like this is a timing issue: when I put splash'es between the creation of the thread and running the loop in the GUI thread it doesn't crash most of the time, if I don't it sometimes crashes (TLB exception on addresses that contain nothing).

This was tested on r24968.

(ignore the mutex_init() part of the patch, I've already committed that)
This task depends upon

Closed by  Maurus Cuelenaere (mcuelenaere)
Saturday, 19 June 2010, 12:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  This doesn't seem to appear anymore in current SVN, so I guess it's fixed.
Comment by Michael Sevakis (MikeS) - Wednesday, 02 June 2010, 09:43 GMT
Possibly related to my comment on  FS#11010 ? Wild guess.