Hello,
Pretty much what the title says: I can’t run the TrackDegrade related examples (mip.C and plotdedx.C). Whenever I try to run them I get the following stack trace:
Any help is appreciated.
Sincerely,
Gabriel
Hello,
Pretty much what the title says: I can’t run the TrackDegrade related examples (mip.C and plotdedx.C). Whenever I try to run them I get the following stack trace:
Any help is appreciated.
Sincerely,
Gabriel
Maybe @hschindl can help
Hi,
sorry for the late reply. Unfortunately I didn’t manage to reproduce this issue; both on my laptop (macOS) and on lxplus (RHEL9) the examples run ok. What platform are you using?
Hello,
No problem!
I am running Ubuntu-22.04 on WSL.
Hi,
I seem to remember that there was an issue with the memory limit on WSL some time ago. Can you check what’s the max. stack size (ulimit -s
) and try increasing it (or setting it to unlimited)?
Maybe I am doing something wrong, but I could not set the stack size to unlimited. I did manage to increase it from 8192 to 65533 (both Soft and Hard limits are unlimited). The output is still the same:
gabrielribcesario@:~/garfieldpp/Examples/Degrade/build$ ./mip
MediumMagboltz::SetComposition: Ar/CO2 (90/10)
*** Break *** segmentation violation
Generating stack trace...
0x00007ee97810af74 in Garfield::TrackDegrade::Initialise(Garfield::Medium*, bool) + 0x7ee from /home/gabrielribcesario/garfieldpp/install/lib/libGarfield.so.0.3
0x000057bca88f3c8a in <unknown> from ./mip
0x00007ee976229d90 in <unknown> from /lib/x86_64-linux-gnu/libc.so.6
0x00007ee976229e40 in __libc_start_main + 0x80 from /lib/x86_64-linux-gnu/libc.so.6
0x000057bca88f3725 in <unknown> from ./mip
ulimit
output:
gabrielribcesario@:~/garfieldpp/Examples/Degrade/build$ ulimit -S
unlimited
gabrielribcesario@:~/garfieldpp/Examples/Degrade/build$ ulimit -H
unlimited
gabrielribcesario@:~/garfieldpp/Examples/Degrade/build$ ulimit -s
65533