2023-10-03 09:18:26 |
Bugra Aydogar |
bug |
|
|
added bug |
2023-10-03 09:18:26 |
Bugra Aydogar |
attachment added |
|
coredump-snap.zip https://bugs.launchpad.net/bugs/2038289/+attachment/5706201/+files/coredump-snap.zip |
|
2023-10-03 09:18:39 |
Bugra Aydogar |
description |
Hi,
There is no official documentation on how to create coredumps using Ubuntu Core and Snaps.
I have found an old discussion in the forum. https://forum.snapcraft.io/t/core-dumps-in-snapd/920
As suggested; one should apply the following commands to create coredumps but it does not work.
ulimit -c unlimited
sudo sh -c 'echo 1 > /proc/sys/fs/suid_dumpable
sudo sh -c 'echo /home/<my-user>/snap/my-snap/core > /proc/sys/kernel/core_pattern'
I attached an example application to ease the reproduction effort.
Thanks,
Bugra |
Hi,
There is no official documentation on how to create coredumps using Ubuntu Core and Snaps.
I have found an old discussion in the forum. https://forum.snapcraft.io/t/core-dumps-in-snapd/920
As suggested; one should apply the following commands to create coredumps but it does not work.
```
ulimit -c unlimited
sudo sh -c 'echo 1 > /proc/sys/fs/suid_dumpable
sudo sh -c 'echo /home/<my-user>/snap/my-snap/core > /proc/sys/kernel/core_pattern'
```
I attached an example application to ease the reproduction effort.
Thanks,
Bugra |
|
2023-10-04 14:34:58 |
Bugra Aydogar |
description |
Hi,
There is no official documentation on how to create coredumps using Ubuntu Core and Snaps.
I have found an old discussion in the forum. https://forum.snapcraft.io/t/core-dumps-in-snapd/920
As suggested; one should apply the following commands to create coredumps but it does not work.
```
ulimit -c unlimited
sudo sh -c 'echo 1 > /proc/sys/fs/suid_dumpable
sudo sh -c 'echo /home/<my-user>/snap/my-snap/core > /proc/sys/kernel/core_pattern'
```
I attached an example application to ease the reproduction effort.
Thanks,
Bugra |
Hi,
There is no official documentation on how to create coredumps using Ubuntu Core and Snaps.
I have found an old discussion in the forum. https://forum.snapcraft.io/t/core-dumps-in-snapd/920
As suggested; one should apply the following commands to create coredumps but it does not work.
```
ulimit -c unlimited
sudo sh -c 'echo 1 > /proc/sys/fs/suid_dumpable
sudo sh -c 'echo /home/<my-user>/snap/my-snap/core > /proc/sys/kernel/core_pattern'
```
I attached an example application to ease the reproducing effort.
Thanks,
Bugra |
|
2023-10-05 14:52:25 |
Jay Chen |
bug |
|
|
added subscriber Jay Chen |
2023-10-19 14:00:17 |
Sergio Cazzolato |
snapd: status |
New |
Confirmed |
|
2023-10-19 14:00:21 |
Sergio Cazzolato |
snapd: importance |
Undecided |
Medium |
|