Thread overview | ||||||
---|---|---|---|---|---|---|
|
September 18, 2019 Program exited with code -11 | ||||
---|---|---|---|---|
| ||||
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 |
September 18, 2019 Re: Program exited with code -11 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Danny Arends | 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?
|
September 18, 2019 Re: Program exited with code -11 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan | 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:
>> Hey all,
>>
>> "Program exited with code -11"
>
> Not signal 11? On unix/linux I assume?
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"
|
September 18, 2019 Re: Program exited with code -11 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan | On Wednesday, 18 September 2019 at 13:36:30 UTC, Arjan wrote:
> On Wednesday, 18 September 2019 at 13:22:03 UTC, Danny Arends
>> "Program exited with code -11"
>
> Not signal 11? On unix/linux I assume?
Same 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.
|
Copyright © 1999-2021 by the D Language Foundation