digitalmars.D.learn - Program exited with code -11
- Danny Arends (10/10) Sep 18 2019 Hey all,
- Arjan (3/5) Sep 18 2019 Not signal 11? On unix/linux I assume?
- Danny Arends (5/11) Sep 18 2019 It's on linux yes...
- Adam D. Ruppe (7/10) Sep 18 2019 Same thing. This is a segmentation fault.
Hey all, I have written some code to analyze massive gzipped files (using std.iopipe), tested it on small subsets of the gzip files, and everything works using small 20 to 50 Mb files. However when I try to run the code on 2.7 Gb file sizes the program always crashes with the following error: "Program exited with code -11" No other messages, did anyone ever encounter something like this before / got any ideas on how to figure out what is wrong ? Danny
Sep 18 2019
On Wednesday, 18 September 2019 at 13:22:03 UTC, Danny Arends wrote:Hey all, "Program exited with code -11"Not signal 11? On unix/linux I assume?
Sep 18 2019
On Wednesday, 18 September 2019 at 13:36:30 UTC, Arjan wrote:On Wednesday, 18 September 2019 at 13:22:03 UTC, Danny Arends wrote:It's on linux yes... No idea if it is a signal or an exitcode, the only indication is the text: "Program exited with code -11"Hey all, "Program exited with code -11"Not signal 11? On unix/linux I assume?
Sep 18 2019
On Wednesday, 18 September 2019 at 13:36:30 UTC, Arjan wrote:On Wednesday, 18 September 2019 at 13:22:03 UTC, Danny ArendsSame thing. This is a segmentation fault. Compile the program with the -g switch to dmd, then run it inside the gdb program gdb --args ./your_program any_args_to_your_program the hit the "r" command to run and when it crashes, it will tell you where. probably a null pointer."Program exited with code -11"Not signal 11? On unix/linux I assume?
Sep 18 2019