digitalmars.D.bugs - [Issue 12115] New: Segfault in FormatSpec.fillUp
- d-bugmail puremagic.com (57/57) Feb 08 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12115
https://d.puremagic.com/issues/show_bug.cgi?id=12115 Summary: Segfault in FormatSpec.fillUp Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: brian-schott cox.net Steps to reproduce: 1) Check out DScanner from https://github.com/Hackerpilot/Dscanner/tree/a5d7bf095607f4b8d9c36a453e96e28aafdc96fe 2) Check out UnicodeData.d from https://github.com/SiegeLord/Tango-D2/blob/b4635847a67faff9480aeb2ff2bbbd23385f38df/tango/text/UnicodeData.d 3) Run the build.sh script in the DScanner folder to compile 4) run "./dscanner --syntaxCheck path/to/UnicodeData.d" Stack trace: std.format.__T10FormatSpecTaZ.FormatSpec.__T17writeUpToNextSpecTS3std5stdio4File17LockingTextWriterZ.writeUpToNextSpec() (this=<error reading variable>, writer=...) at /home/alaran/src/phobos/std/format.d:796 std.format.__T14formattedWriteTS3std5stdio4File17LockingTextWriterTaTAyaTmTmTAyaTAyaZ.formattedWrite() (_param_6=..., _param_5=..., _param_4=2, _param_3=14778, _param_2=..., fmt=..., w=...) at /home/alaran/src/phobos/std/format.d:415 std.stdio.File.__T8writeflnTaTAyaTmTmTAyaTAyaZ.writefln() (this=0x2, _param_5=..., _param_4=..., _param_3=2, _param_2=14778, _param_1=..., fmt=...) at /home/alaran/src/phobos/std/stdio.d:1101 std.stdio.__T8writeflnTAyaTAyaTmTmTAyaTAyaZ.writefln() (_param_5=..., _param_4=..., _param_3=5525528, _param_2=5525528, _param_1=..., _param_0=...) at /home/alaran/src/phobos/std/stdio.d:2527 message=..., column=0, line=140737488345552, fileName=...) at analysis/run.d:27 this=0x5a9608 <std.stdio.File.LockingTextWriter.__postblit()+24>, shouldAdvance=17, message=0x000000000057884000007ffff7ecaf80) at stdx/d/parser.d:6320 (this=0x2adc6) at stdx/d/parser.d:6307 stdx/d/parser.d:1608 This seems to only be present when DScanner is built with DMD. Building with GDC results in code that completes without segfaulting. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 08 2014