Closed biabbas closed 2 months ago
no idea. could you bisect it to a specific commit?
no idea. could you bisect it to a specific commit?
Will try that. I suspect the segmentation fault is due to a type mismatch in directory entry structures.
1.77
The current stable Rust is 1.79. If this bug isn't present on that version, I don't think we fix issues that are older than the current stable release, so I think this issue should just be closed?
@biabbas specifically I'm interested in knowing which commit fixed this.
@compiler-errors I agree but given that @biabbas has started looking into making sure VxWorks actually functions, and given that severity of the failing case (segfault at runtime), I think confirming that the commit in question is one we would expect to actually fix the error, or if it just is masking it, would be good. There have been large refactors of parts of std::sys
.
Bisecting to a particular commit seems very difficult, as each bisection requires cross-compiling the sources. An example must then be created and run on the VxWorks image. Therefore, using higher versions seems like the better choice
Here is the program that reproduces this:
Output:
The test directory is present with child sub directories and folders. The call to readdir is successful, We get segmentation fault while trying to read child files/directories.
Thank you for any leads. Note: This somehow works with 1.81 nightly.
Additional test case that fails on vxworks. Traversing the directories.