No core Ubuntu on a Parallels shared folder

I have an application that I'm working with, and also I'm having problem obtaining a core dump when it segfaults. Actually, I'm having problem obtaining actual core dump documents in all. A straightforward examination instance will certainly create a core dump documents, yet it is absolutely no size.

I've obtained ulimit -c unlimited set. This is 64 - little bit Ubuntu Maverick. Any kind of tip what to do next?

[[email protected] t]$ ulimit -c
unlimited

[[email protected] t]$ cat mkcore.cpp
int main() { *((int *)0) = 0; }

[[email protected] t]$ g++ -g mkcore.cpp -o mkcore

[[email protected] t]$ ./mkcore 
Segmentation fault

[[email protected] t]$ ls -l core*
-rw-r--r-- 1 dlee dlee 0 2010-12-21 15:00 core.2993

Edit: More details

[[email protected] t]$ tail -n +1 /proc/sys/kernel/core_*
==> /proc/sys/kernel/core_pattern <==
core

==> /proc/sys/kernel/core_pipe_limit <==
0

==> /proc/sys/kernel/core_uses_pid <==
1

[[email protected] t]$ tail /var/log/kern.log
<snip/>
Dec 21 16:07:40 dlee-oak kernel: [  133.863045] mkcore[1589]: segfault at 0 ip 000000000040043d sp 00007fffbd025510 error 6 in mkcore[400000+aa000]

I've simply understood that the filesystem the core documents is being created on is a Parallels Shared Folder. (This Ubuntu instance is working on a Parallels VM on my Mac). When I run the application from a directory site that gets on neighborhood disk, core documents is created as anticipated.

So I'll transform the inquiry a little : why isn't it creating the core documents on the prl_fs filesystem? Simply interested ...

Edit # 2:

You'll keep in mind that when it creates the absolutely no size core documents, it does not publish (core dumped). I did check my peace of mind, and also of course the absolutely no size core documents is actually being developed.

[[email protected] t]$ X=$(pwd)
[[email protected] t]$ ls -l core*
ls: cannot access core*: No such file or directory
[[email protected] t]$ ./mkcore 
Segmentation fault
[[email protected] t]$ ls -l core*
-rw-r--r-- 1 dlee dlee 0 2010-12-22 00:41 core.6009

[[email protected] t]$ cd ~
[[email protected] ~]$ $X/mkcore
Segmentation fault (core dumped)
0
2019-05-13 05:54:46
Source Share
Answers: 1

I could not plainly locate the hidden reason that, yet the absolutely no size core documents was brought on by attempting to create the core documents on a Parallels Shared Folder.

I addressed the trouble by running the application from a neighborhood directory site. I intend an additional choice would certainly be to set /proc/sys/kernel/core_pattern to unload core documents right into a neighborhood directory site.

0
2019-05-17 15:35:02
Source