ldc compiled binaries seg faults

David Nadlinger code at klickverbot.at
Mon Oct 7 06:30:58 PDT 2013


On Monday, 7 October 2013 at 11:40:39 UTC, Alexandr Druzhinin 
wrote:
> Could someone to help with it? Where and what should I do to 
> find answer why binary crashes?

The basic idea is to launch the executable in a debugger (gdb 
myprogram, then 'r') and see where it crashes. Without knowing 
what kind of problem this is, it's hard to get more specific.

I tried to have a look at the issue myself, but the program 
wouldn't build (fresh Git clone, dub build):

---
Checking dependencies in '/home/aule/Build/Source/geoviewer'
Package gl3n (configuration "library") defines no import paths, 
use {"importPaths": [...]} or the default package directory 
structure to fix this.
Package derelict (configuration "library") defines no import 
paths, use {"importPaths": [...]} or the default package 
directory structure to fix this.
Package glamour (configuration "Derelict3-gl3n-SDLImage") defines 
no import paths, use {"importPaths": [...]} or the default 
package directory structure to fix this.
Building configuration "application", build type debug
Running 
/home/aule/Build/Work/ldc2-llvm3.3-release-multilib/bin/ldmd2...
/home/aule/.dub/packages/arsd-master/arsd/netman.d(535): Warning: 
else is dangling, add { } after condition at 
/home/aule/.dub/packages/arsd-master/arsd/netman.d(532)
/home/aule/.dub/packages/arsd-master/arsd/netman.d(505): Error: 
module date is in file 'std/date.d' which cannot be read
---

std.date hasn't been around since 2012…

David


More information about the digitalmars-d-ldc mailing list