digitalmars.D - Segfault during D1 writefln output of double value
- Jonathan Crapuchettes (26/26) Aug 12 2011 I think I've run into a problem with DMD's compilation. Can anyone sugge...
- bearophile (4/8) Aug 12 2011 Is it segfaulting with a printf too? Don't you want to show the code too...
I think I've run into a problem with DMD's compilation. Can anyone suggest a work around? In the middle of a function I called writefln to output a double value for testing, but the code is now segfaulting during the execution of writefln. Backtrace from gdb follows. Thanks, JC Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffee750700 (LWP 12638)] 0x0000000000aff2a8 in std.stdio.writefln() () (gdb) bt access memory at address 0x74eafb0f9fdc830e ) at ../ccb/matrix/Vector.d:990 Cannot access memory at address 0x74eafb0f9fdc8326
Aug 12 2011
Jonathan Crapuchettes:I think I've run into a problem with DMD's compilation. Can anyone suggest a work around? In the middle of a function I called writefln to output a double value for testing, but the code is now segfaulting during the execution of writefln. Backtrace from gdb follows.Is it segfaulting with a printf too? Don't you want to show the code too? Maybe in the D.learn newsgroup? Bye, bearophile
Aug 12 2011