-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
PANIC at spl-kmem.c:388:spl_kmem_free_track() VERIFY3(dptr != ((void *)0)) failed ( (null) != (null)) #4967
Comments
I rebooted, ran this zfs send|recv again, and instantly kernel panic'd again. The recv'd data set from last time doesn't exist. I should have mentioned, this happens at the start of the recv...
After a reboot...
|
This issue maybe introduced by commit 47dfff3, sorry add trouble to you and thanks for your report. We will fix it soon, you can rollback your version to date before Jun 25, 2016, or wait for our fix PR. |
So far I've seen few code paths where If this practice is preferable, then the kmem tracking code should be updated. |
The kmem illumos interfaces we are emulating in the SPL are supposed to support passing NULL to |
Oh yeah, I was going to mention, I build SPL with: |
@JuliaVixen just FYI |
I was wondering why I just rebuilt SPL with |
@behlendorf A new PR #openzfs/spl#567 which handles NULL pointer in spl_kmem_free_track() is done. By the way, not all the versions of kernel can handle |
@GeLiXin thanks for adding the SPL patch. Could you be more specific which versions of the kernel don't handle this? I know this used to be true, but that was a long time ago. |
When DEBUG_KMEM_TRACKING is enabled in SPL, we keep tracking all the buffers alloced by kmem_alloc() and kmem_zalloc(). If a NULL pointer which indicates no track info in SPL is passed to spl_kmem_free_track, we just ignore it. Signed-off-by: GeLiXin <ge.lixin@zte.com.cn> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs/zfs#4967 Closes #567
@behlendorf I'm sorry to make a mistake, it's not the kernel don't handle NULL pointer, but the Since the ABD patch isn't robust enough to resolve the memory fragmention in ZFS now, I take the Avoid to free NULL pointer will provides a convenient for secondary development and makes the code seems more rigorous. On the other hand, it's understandable to close ##4969 as well since it won't make actual trouble to ZoL. |
@GeLiXin OK, that makes sense. Thanks for the clarification. |
When DEBUG_KMEM_TRACKING is enabled in SPL, we keep tracking all the buffers alloced by kmem_alloc() and kmem_zalloc(). If a NULL pointer which indicates no track info in SPL is passed to spl_kmem_free_track, we just ignore it. Signed-off-by: GeLiXin <ge.lixin@zte.com.cn> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs/zfs#4967 Closes openzfs#567
When DEBUG_KMEM_TRACKING is enabled in SPL, we keep tracking all the buffers alloced by kmem_alloc() and kmem_zalloc(). If a NULL pointer which indicates no track info in SPL is passed to spl_kmem_free_track, we just ignore it. Signed-off-by: GeLiXin <ge.lixin@zte.com.cn> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs/zfs#4967 Closes openzfs#567
Well, I ran this command on an idle system...
zfs send -eLv -i more_disks@Aug_12_2016 more_disks@Aug_14_2016 | zfs recv -evsF U
And then this happened:
I'm using the current GIT version as of about two days ago...
And stuff...
The text was updated successfully, but these errors were encountered: