- Status Closed
- Percent Complete
- Task Type Bugs
- Category User Interface → Simulator
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Release 3.8
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#12032 - disktidy crashes in the simulator
The problem seems to be that while sim_readdir() uses struct sim_dirent, disktidy.c uses the host dirent structure, and those are different
Closed by dreamlayers
2011-12-05 17:39
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2011-12-05 17:39
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Fixed in r31089 via FS#12414
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
The problem is that plugin.c sets readdir (and friends) to sim_readdir, which is wrong if the target has dircache. For dircache it needs to be readdir_cached (which internally calls readdir_uncached aka sim_readdir).
I have gathered some more information concerning this bug.
1. md5sum, random_folder_advance_config, stats, and properties also have problems (segfault) in the simulator
2. the w32 crosscompiled sim also crashes when these plugins are run
3. disabling dircache does not help
4. bisecting shows the first failing revision to be r28929
Does r31089 fix this?
Fred,
The listed plugins now function correctly.