FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dmd 1.018 + Derelict r264 = Segfault

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
Chocobo



Joined: 02 Jul 2007
Posts: 3

PostPosted: Mon Jul 02, 2007 5:27 am    Post subject: dmd 1.018 + Derelict r264 = Segfault Reply with quote

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
View user's profile Send private message
h3r3tic



Joined: 30 Mar 2004
Posts: 261
Location: Torun, Poland

PostPosted: Mon Jul 02, 2007 5:45 am    Post subject: Reply with quote

Works for me on WinXP...
Back to top
View user's profile Send private message MSN Messenger
Chocobo



Joined: 02 Jul 2007
Posts: 3

PostPosted: Mon Jul 02, 2007 5:47 am    Post subject: Reply with quote

Ahhh, perhaps this is a linux only issue then. If I can provide any more information let me know.
Back to top
View user's profile Send private message
h3r3tic



Joined: 30 Mar 2004
Posts: 261
Location: Torun, Poland

PostPosted: Mon Jul 02, 2007 5:54 am    Post subject: Reply with quote

A stacktrace maybe... I can't test it on a linux box at the moment, unfortunately Sad Maybe some #d folks could help...
Back to top
View user's profile Send private message MSN Messenger
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Mon Jul 02, 2007 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Chocobo



Joined: 02 Jul 2007
Posts: 3

PostPosted: Mon Jul 02, 2007 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Mon Jul 02, 2007 5:58 pm    Post subject: Reply with quote

Chocobo, old school writefln works pretty well... but it is a pain too.
Back to top
View user's profile Send private message AIM Address
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Mon Jul 02, 2007 6:48 pm    Post subject: Reply with quote

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 Sad 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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group