-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Assertion '__n < this->size()' failed. #33
Comments
Are you able to give me a stack trace for the assertion? |
I think it was something like this: I ran ntfs2btrfs with GDB but it stopped at libc |
Thanks, that helps - it looks like you've defined |
Sorry, i've been too busy I will try to reproduce the bug as soon as possible and give you a reply |
I am using the latest version on the AUR it this path didn't fix the issue |
I just got the same error.
At this point, is my data likely to still be intact? |
Yes, no data was lost. I'll try to run ntfs2btrfs again, I had to format my drive and lost everything, but I'll try to reproduce this bug and generate a core dump |
If you can let me know which line of the code is generating the assertion, I'll have a look. |
Hi, Same issue for me :
|
Again, I'll need to know which line of code is causing this in order to be able to fix it. |
|
|
Is there any way I can help? |
@nkrichronos What is your |
I installed it with the ntfs2btrfs-git AUR package. |
Would it be possible for you to compile this yourself, and give me a full backtrace? |
Just compiled, working on the backtrace. |
Aaaaaand that worked :P I think you did actually fix it with commit 527e13b |
I wonder why ntfs2btrfs-git is not updated to the latest commit, is the PKGBUILD working as intended? |
That's nice to know. I tried to run before on Visual Studio debugger so I can see the line it fails but it ran without throwing that exception. I'll go back before [527e13b] to see if that commit really fixed, but apparently yes. |
I thought the PKGBUILD was setting an specific commit but no, maybe something with |
the pkgver is updated after a git clone is ran, so probably not that (unless its not a well made PKGBUILD) |
Do we know what compiler flags the repo maintainers are using? |
This is the PKGBUILD, the only flag is |
I finally made it crash, this is the line: dev.read(&ret[buf_start], buf_end - buf_start); [527e13b] really fixed this bug, so I'm closing this issue |
There is a bug between commit 7f32753 and
bfb5124 causing ntfs2btrfs failing at approx. 32% inodes processed (both Windows and Linux)
The text was updated successfully, but these errors were encountered: