Re: rdmd main.d leads to Segmentation fault

2018-02-14 Thread Martin Tschierschke via Digitalmars-d-learn
On Wednesday, 14 February 2018 at 10:28:51 UTC, Kagamin wrote: On Tuesday, 13 February 2018 at 06:53:46 UTC, Martin Tschierschke wrote: I am unfamiliar with debugging (gdb etc.) so any hint would be appreciated! https://issues.dlang.org/show_bug.cgi?id=18350 - maybe adjust bug severity. I

Re: rdmd main.d leads to Segmentation fault

2018-02-14 Thread Kagamin via Digitalmars-d-learn
On Tuesday, 13 February 2018 at 06:53:46 UTC, Martin Tschierschke wrote: I am unfamiliar with debugging (gdb etc.) so any hint would be appreciated! https://issues.dlang.org/show_bug.cgi?id=18350 - maybe adjust bug severity.

Re: rdmd main.d leads to Segmentation fault

2018-02-12 Thread Martin Tschierschke via Digitalmars-d-learn
On Sunday, 4 February 2018 at 11:50:05 UTC, Timoses wrote: On Thursday, 1 February 2018 at 09:01:34 UTC, Kagamin wrote: On Wednesday, 31 January 2018 at 16:59:15 UTC, Timoses wrote: And I would need to do what about it? Sorry, I'm not familiar with assembly code stuff in detail. You can try

Re: rdmd main.d leads to Segmentation fault

2018-02-04 Thread Timoses via Digitalmars-d-learn
On Thursday, 1 February 2018 at 09:01:34 UTC, Kagamin wrote: On Wednesday, 31 January 2018 at 16:59:15 UTC, Timoses wrote: And I would need to do what about it? Sorry, I'm not familiar with assembly code stuff in detail. You can try to see if it works on another distro or version. It does

Re: rdmd main.d leads to Segmentation fault

2018-02-01 Thread Kagamin via Digitalmars-d-learn
On Wednesday, 31 January 2018 at 16:59:15 UTC, Timoses wrote: And I would need to do what about it? Sorry, I'm not familiar with assembly code stuff in detail. You can try to see if it works on another distro or version.

Re: rdmd main.d leads to Segmentation fault

2018-01-31 Thread Timoses via Digitalmars-d-learn
On Wednesday, 31 January 2018 at 08:40:26 UTC, Kagamin wrote: On Tuesday, 30 January 2018 at 16:56:28 UTC, Timoses wrote: Output: https://pastebin.com/raw/SSx0P1Av Helps? Looks like TLS is not initialized. And I would need to do what about it? Sorry, I'm not familiar with assembly code

Re: rdmd main.d leads to Segmentation fault

2018-01-31 Thread Kagamin via Digitalmars-d-learn
On Tuesday, 30 January 2018 at 16:56:28 UTC, Timoses wrote: Output: https://pastebin.com/raw/SSx0P1Av Helps? Looks like TLS is not initialized.

Re: rdmd main.d leads to Segmentation fault

2018-01-30 Thread Timoses via Digitalmars-d-learn
On Tuesday, 30 January 2018 at 14:08:35 UTC, Kagamin wrote: On Sunday, 28 January 2018 at 22:02:11 UTC, Timoses wrote: How would I do that? https://forum.dlang.org/post/mailman.39.1510078013.9493.digitalmars-d-...@puremagic.com like this Thanks! I did $ gdb main $ (gdb) set logging on $

Re: rdmd main.d leads to Segmentation fault

2018-01-30 Thread Kagamin via Digitalmars-d-learn
On Sunday, 28 January 2018 at 21:41:39 UTC, Timoses wrote: Got it from here: http://d-apt.sourceforge.net/ with $ apt-get install dmd-compiler Sometimes such crashes can be caused by files left from previous installation. Or maybe confusion between gdc and dmd files.

Re: rdmd main.d leads to Segmentation fault

2018-01-30 Thread Kagamin via Digitalmars-d-learn
On Sunday, 28 January 2018 at 22:02:11 UTC, Timoses wrote: How would I do that? https://forum.dlang.org/post/mailman.39.1510078013.9493.digitalmars-d-...@puremagic.com like this

Re: rdmd main.d leads to Segmentation fault

2018-01-29 Thread Timoses via Digitalmars-d-learn
On Monday, 29 January 2018 at 15:03:48 UTC, Stefan Koch wrote: On Friday, 26 January 2018 at 22:40:29 UTC, Timoses wrote: Hey, simple hello world crashes with segfault: [...] I can not reproduce this. Well, the cause is not yet uncovered, I suppose... Any more ideas?

Re: rdmd main.d leads to Segmentation fault

2018-01-29 Thread Stefan Koch via Digitalmars-d-learn
On Friday, 26 January 2018 at 22:40:29 UTC, Timoses wrote: Hey, simple hello world crashes with segfault: [...] I can not reproduce this.

Re: rdmd main.d leads to Segmentation fault

2018-01-28 Thread Timoses via Digitalmars-d-learn
On Saturday, 27 January 2018 at 21:04:07 UTC, Kagamin wrote: On Friday, 26 January 2018 at 22:40:29 UTC, Timoses wrote: Program received signal SIGSEGV, Segmentation fault. 0x00432e04 in _d_dso_registry () (gdb) bt #0 0x00432e04 in _d_dso_registry () #1 0x00431c63 in ?? () #2 0x0045c08b in

Re: rdmd main.d leads to Segmentation fault

2018-01-28 Thread Timoses via Digitalmars-d-learn
On Saturday, 27 January 2018 at 01:23:44 UTC, Fra Mecca wrote: On Friday, 26 January 2018 at 22:40:29 UTC, Timoses wrote: Hey, simple hello world crashes with segfault: [...] Where did you get the D toolchain? Got it from here: http://d-apt.sourceforge.net/ with $ apt-get install

Re: rdmd main.d leads to Segmentation fault

2018-01-27 Thread Kagamin via Digitalmars-d-learn
On Friday, 26 January 2018 at 22:40:29 UTC, Timoses wrote: Program received signal SIGSEGV, Segmentation fault. 0x00432e04 in _d_dso_registry () (gdb) bt #0 0x00432e04 in _d_dso_registry () #1 0x00431c63 in ?? () #2 0x0045c08b in __libc_csu_init () #3 0xb7d8e206 in __libc_start_main

Re: rdmd main.d leads to Segmentation fault

2018-01-26 Thread Fra Mecca via Digitalmars-d-learn
On Friday, 26 January 2018 at 22:40:29 UTC, Timoses wrote: Hey, simple hello world crashes with segfault: [...] Where did you get the D toolchain? Does the same segmentation fault happen with dmd or gdc or ldc? (dmd should be the more probable) Can you compile a dub project?

rdmd main.d leads to Segmentation fault

2018-01-26 Thread Timoses via Digitalmars-d-learn
Hey, simple hello world crashes with segfault: import std.stdio; void main() { writeln("hi"); } $ rdmd main.d Segmentation fault Same problem with a vibe.d project. Just set up this VirtualBox $ dmd --version DMD32 D Compiler v2.078.1 $ rdmd --version rdmd build 20180121 ... $ uname -a