bhyve bhyve.core: No such file or directory error while(1) trying to debug "segmentation fault" error while(2) running an experimental version of bhyve

Hello to everyone.

I'm trying to debug a new version of bhyve. When done and fixed it should allow to passthrough correctly an nvidia high performance graphic card within windows,avoiding to get the error 43. To do this,I need that FreeBSD is able to generate the bhyve.core files. But at the moment my installation is not able to do that,I don't know why. To be honest in the past I have disabled some parameters for stopping the generation of these files,because they take a lot of space from the disk. Despite that I have reverted those changes,it does not generate the core files anyway. Or maybe the error I get is caused by something else. Can you give a look to whats happening ? thanks.

Code:
/etc/csh.login
#limit coredumpsize 0

/etc/rc.conf
dumpdev="AUTO"

/etc/sysctl.conf
#kern.coredump=0

/home/marietto/.cshrc
#limit coredumpsize 0

root@marietto:/home/marietto/Desktop/Files/bhyve # gdb /usr/sbin/bhyve bhyve.core

GNU gdb (GDB) 11.1 [GDB v11.1 for FreeBSD]
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd13.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/bhyve...
Reading symbols from /usr/lib/debug//usr/sbin/bhyve.debug...
/usr/home/marietto/Desktop/Files/bhyve/bhyve.core: No such file or directory.
(gdb) bt
No stack.
(gdb)
 
As far as i know the core files are generated in the users home, not Desktop/Files/bhyve. I may be wrong, though.

I'm inside Desktop/Files/bhyve because this is the folder where I keep the sh scripts I run to start the vms and where is invoked bhyve. Anyway, I haven't any bhyve core file inside my user's home. Since I've got several seg faults errors, so I should see the bhyve.core file somewhere in the disk. I have also looked at it on the whole disk, but it is not generated. Instead on the root folder I see that has been generated the "kactivitymanagerd.core" file. So it seems that the core files are generally produced? And also the reason if bhyve does not produce it is only attributable to its functioning?
 
Back
Top