Kotlin/Native, mem leak hunting when valgrind dumps core
up vote
0
down vote
favorite
Valgrind, under Ubuntu 18.04lts goes and dies in fire (dumps core to /dev/null) when I try find where and why my K/N (kotlin/Native) cmdline app leaks mem (due companion object toRegex() 's, but not sure...). Any idea how to proceed when a robust tool goes and dies?
valgrind kotlin-native
add a comment |
up vote
0
down vote
favorite
Valgrind, under Ubuntu 18.04lts goes and dies in fire (dumps core to /dev/null) when I try find where and why my K/N (kotlin/Native) cmdline app leaks mem (due companion object toRegex() 's, but not sure...). Any idea how to proceed when a robust tool goes and dies?
valgrind kotlin-native
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Valgrind, under Ubuntu 18.04lts goes and dies in fire (dumps core to /dev/null) when I try find where and why my K/N (kotlin/Native) cmdline app leaks mem (due companion object toRegex() 's, but not sure...). Any idea how to proceed when a robust tool goes and dies?
valgrind kotlin-native
Valgrind, under Ubuntu 18.04lts goes and dies in fire (dumps core to /dev/null) when I try find where and why my K/N (kotlin/Native) cmdline app leaks mem (due companion object toRegex() 's, but not sure...). Any idea how to proceed when a robust tool goes and dies?
valgrind kotlin-native
valgrind kotlin-native
asked Nov 9 at 3:18
Scre
1541212
1541212
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
In most cases pure Native programs without interop or atomic references shall not leak. Good approach is to create minimal reproducer and report to JetBrains using issue tracker. As Valgrind shall not crash as well, report to Valgrind devs may help as well.
Thanks, will do.
– Scre
Nov 12 at 15:57
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
In most cases pure Native programs without interop or atomic references shall not leak. Good approach is to create minimal reproducer and report to JetBrains using issue tracker. As Valgrind shall not crash as well, report to Valgrind devs may help as well.
Thanks, will do.
– Scre
Nov 12 at 15:57
add a comment |
up vote
1
down vote
accepted
In most cases pure Native programs without interop or atomic references shall not leak. Good approach is to create minimal reproducer and report to JetBrains using issue tracker. As Valgrind shall not crash as well, report to Valgrind devs may help as well.
Thanks, will do.
– Scre
Nov 12 at 15:57
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
In most cases pure Native programs without interop or atomic references shall not leak. Good approach is to create minimal reproducer and report to JetBrains using issue tracker. As Valgrind shall not crash as well, report to Valgrind devs may help as well.
In most cases pure Native programs without interop or atomic references shall not leak. Good approach is to create minimal reproducer and report to JetBrains using issue tracker. As Valgrind shall not crash as well, report to Valgrind devs may help as well.
answered Nov 10 at 6:53
Nikolay Igotti
31416
31416
Thanks, will do.
– Scre
Nov 12 at 15:57
add a comment |
Thanks, will do.
– Scre
Nov 12 at 15:57
Thanks, will do.
– Scre
Nov 12 at 15:57
Thanks, will do.
– Scre
Nov 12 at 15:57
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53219368%2fkotlin-native-mem-leak-hunting-when-valgrind-dumps-core%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown