Opened 13 years ago
Last modified 6 months ago
#7918 new bug
Assert Failed when copying to FAT
Reported by: | humdinger | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | File Systems/FAT | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev42466 gcc2hybrid.
I have these KDLs quite regularly. Now I had a camera ready to take a picture. I hope it's not to blurry at the edges...
After rebooting I find none of the new files I copied, but files I have deleted the last time. Though these files seem to be corrupted. Emptying Trash results in another KDL, see #7003.
It's a really annoying bug, as I keep having to format my USB stick to FAT32 (for which I have to boot into Ubuntu...). Also it keeps me from accessing backup HDs with music etc...
Is this related to #5362?
Attachments (6)
Change History (16)
by , 13 years ago
Attachment: | FileCopyKDL.jpg added |
---|
follow-up: 3 comment:1 by , 13 years ago
I don't think so, it more looks like #2690 again, or a new variation of that one. Since it's reproducible for you, is that a configuration that can be brought to the next BeGeistert?
comment:2 by , 13 years ago
BTW, there is the "mkdos" command in Haiku (not sure it's part of the image) that can initialize FAT32 as well. Someone just needs to convert it into an add-on to make it available in DriveSetup.
comment:3 by , 13 years ago
Replying to axeld:
I don't think so, it more looks like #2690 again, or a new variation of that one. Since it's reproducible for you, is that a configuration that can be brought to the next BeGeistert?
You bet! I'll be pestering you about that in about 10 weeks then... :)
mkdos is in the image and does even work, thanks for the hint.
comment:4 by , 13 years ago
I attach another syslog after recovering from KDL. It shows what happened when copying many files to a fat32 formatted USB stick after a short time. Before and after the KDL, I get many alerts "Error copying "{some-file}: File or directory already exists"; all with a freshly mkdos'ed USB stick.
comment:5 by , 13 years ago
Same problem. Assert in the same place (attached pic: DoublyLinkedList.JPG).
by , 13 years ago
Attachment: | DoublyLinkedList.JPG added |
---|
comment:6 by , 13 years ago
Seems like KDL for same reason, but assert is few lines under - DoublyLinkedList.h:515 (attached pic: DoublyLinkedList-515-line.JPG)
I can reproduce this bug in this way:
- i often copy a few large files (~1,5GB each) to USB stick
- i allways copy them one by one
- copy first file to USB stick (i was using tracker's context menu -> copy to)
- tracker status window disappears, means copying is done, but really file is still copying, because LED on USB stick is still blinking
- copy second file to USB stick without waiting while LED stops blinking on stick from first file copying
- by repeating steps 3/4/5 and copying third or fourth file i eventually get KDL.
!!! But if i wait while LED on USB stick stops blinking from previuos file copying and only then copy next file i can fill whole USB stick space (8GB) without KDL. !!!
Additional info:
- FAT32 formated USB flash stick
- Sandisk Cruzer Contour 8GB, write speed:18MB/sec, read speed:25MB/sec
- self built HAIKU hrev43167 gcc4
- swap ON, default swap file size (PC has 2GB RAM)
P.S. Would it help if i test same steps on slower USB stick (write:3MB/sec, read:10MB/sec) or disable swap (or any other combinations)? Would this kind of additional information be useful?
by , 13 years ago
Attachment: | DoublyLinkedList-515-line.JPG added |
---|
by , 12 years ago
Attachment: | IMG_0013.JPG added |
---|
comment:7 by , 12 years ago
I just ran into this problem in hrev45179, no FAT32 involved, though. I just started a couple of bundled apps, the last two were Magnify and Mail.
The KDL