f3 icon indicating copy to clipboard operation
f3 copied to clipboard

libprobe.c:602: find_cache_size: Assertion `done' failed.

Open ppetr opened this issue 2 years ago • 3 comments

I'm running f3probe (compiled from 447e37338b23a40c28da47f33b18f7ad07707a61 )on this AliExpress 2TB card (proved fraudulent with f3write/f3read). But it fails with a strange error:

$ /home/p/projects/f3/f3probe --destructive --time-ops /dev/sdc
F3 probe 8.0
Copyright (C) 2010 Digirati Internet LTDA.
This is free software; see the source for copying conditions.

WARNING: Probing normally takes from a few seconds to 15 minutes, but
         it can take longer. Please be patient.

f3probe: libprobe.c:602: find_cache_size: Assertion `done' failed.
Aborted

Any ideas what might be wrong?

ppetr avatar Jul 14 '22 13:07 ppetr

Hi @ppetr,

According to the source, either this drive is doing something unpredicted, or there's a bug somewhere. f3probe failed while trying to figure out the cache size of the drive. During this test stage, f3probe found a bad block, but something happened that pushed the execution into an unpredicted state that triggered the assertion. Assertions are sanity checks in the code that make sure that everything is moving as intended.

If you can and are willing, I'd be interested in receiving this drive as a donation to see if there's a way to improve f3probe.

AltraMayor avatar Jul 14 '22 14:07 AltraMayor

More than happy to! I'll write you to the email address I found in #50 to arrange that.

ppetr avatar Jul 14 '22 14:07 ppetr