SegFault with HibernateD

Rene Zwanenburg renezwanenburg at gmail.com
Fri Jan 12 08:55:13 UTC 2018


On Friday, 12 January 2018 at 07:33:37 UTC, Mike Parker wrote:
> On Friday, 12 January 2018 at 05:24:52 UTC, Venkat wrote:
>> I get a SegFault with the main method below which uses 
>> HibernateD . The second main method which uses ddbc just works 
>> fine. What is wrong with the first main method ? I have 
>> attached the error at the bottom although I don't think it 
>> says much.
>
>>
>> This is the error.
>
>> object.Exception at source/dub/generators/build.d(530): Program
>
> It says enough to know that the exception is being thrown from 
> dub and not your program. You program is never executed because 
> dub throws the exception before it gets that far. You should 
> report this at the dub repository: 
> https://github.com/dlang/dub/issues

It looks to me like the program is being run through dub, and dub 
is just reporting the program's exit code.

Hard to guess what the issue is, I'd attach a debugger to see 
where it crashes.


More information about the Digitalmars-d-learn mailing list