View previous topic :: View next topic |
Author |
Message |
Chocobo
Joined: 02 Jul 2007 Posts: 3
|
Posted: Mon Jul 02, 2007 5:27 am Post subject: dmd 1.018 + Derelict r264 = Segfault |
|
|
Hi All,
I can compile this source fine:
http://dmedia.dprogramming.com/?n=Tutorials.SdlGlTutorial3?action=sourceblock&ref=3
But when I run it I get a Segmentation fault. I have tracked it down to OpenGL calls.
My response file for rebuild:
testogl2.d
-I../derelict/trunk/DerelictGL
-I../derelict/trunk/DerelictGLU
-I../derelict/trunk/DerelictSDL
-I../derelict/trunk/DerelictUtil
-lldl
-clean
Any idea on how to fix this, or why it occurs? Thanks,
Sam |
|
Back to top |
|
|
h3r3tic
Joined: 30 Mar 2004 Posts: 261 Location: Torun, Poland
|
Posted: Mon Jul 02, 2007 5:45 am Post subject: |
|
|
Works for me on WinXP... |
|
Back to top |
|
|
Chocobo
Joined: 02 Jul 2007 Posts: 3
|
Posted: Mon Jul 02, 2007 5:47 am Post subject: |
|
|
Ahhh, perhaps this is a linux only issue then. If I can provide any more information let me know. |
|
Back to top |
|
|
h3r3tic
Joined: 30 Mar 2004 Posts: 261 Location: Torun, Poland
|
Posted: Mon Jul 02, 2007 5:54 am Post subject: |
|
|
A stacktrace maybe... I can't test it on a linux box at the moment, unfortunately Maybe some #d folks could help... |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Mon Jul 02, 2007 4:21 pm Post subject: |
|
|
last time i tried, i was getting crashes with all my applications with newest derelict source and 1.018, but not with 1.017 on windows xp |
|
Back to top |
|
|
Chocobo
Joined: 02 Jul 2007 Posts: 3
|
Posted: Mon Jul 02, 2007 4:58 pm Post subject: |
|
|
I have found that too... 1.017 seems fine. I am not sure if this is a DMD problem or a Derelict problem. I haven't quite figured out how to debug D applications yet :( so I won't be much help. |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Mon Jul 02, 2007 5:58 pm Post subject: |
|
|
Chocobo, old school writefln works pretty well... but it is a pain too. |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Mon Jul 02, 2007 6:48 pm Post subject: |
|
|
Chocobo wrote: | I have found that too... 1.017 seems fine. I am not sure if this is a DMD problem or a Derelict problem. I haven't quite figured out how to debug D applications yet so I won't be much help. |
I'm quite certain it's a DMD problem. It appears to be related to the fix for bug #657. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
|