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

segfault - development halted

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Thu Feb 23, 2006 11:43 pm    Post subject: segfault - development halted Reply with quote

DMD is still crap.
I reported the same problem 1.5 years ago and it's back.
Walter ignore it... because I can't reduce it to a small example, I can understant that but DMD is still crap.

see the post "help posting a bug" on the d.learn group.

This is the same thing that delay DUI months on the Value/Pixbuf problem.
And made very frustrated with D.

development of Duit is halted until this is solved.

Ant
Back to top
View user's profile Send private message
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Fri Feb 24, 2006 1:07 am    Post subject: Reply with quote

I'll try to lend a hand with this one, Ant. Can you give a few more details? Are you working on Linux? Your post on the newsgroup doesn't really describe what's going on other than some debug information?

Are you on Linux? What module are you compiling that seems to cause the problem? How did you even discover the error in the first place

Don't give up, Ant. Just take a breather and tell me how I can help you. You don't have to do it all by yourself. Smile

-JJR
Back to top
View user's profile Send private message
h3r3tic



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

PostPosted: Fri Feb 24, 2006 6:27 am    Post subject: Reply with quote

Come on, share some source and instructions for how to reproduce the error. I'm sure we'll be able to help Smile
Back to top
View user's profile Send private message MSN Messenger
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Fri Feb 24, 2006 9:35 am    Post subject: Re: segfault - development halted Reply with quote

Ant wrote:
DMD is still crap


Ok, I'm obviously behaving like a child, sorry.

Maybe it's not DMD that is crap, maybe it's the linker, or gdb, or leds or my code.

I'll review it and try to help you to help me.

Thank you,

Ant
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sat Feb 25, 2006 1:23 am    Post subject: Re: segfault - development halted Reply with quote

Ant wrote:
I'll review it and try to help you to help me.


chek
http://svn.dsource.org/projects/dui/trunk/dyndui/DuitBUG.tar.gz
for the source code, compilation commands and how to reproduce the problem.
(linux only - requires Gtk)

you will need to edit the files compleDuit and compileDuitTests to point to your dmd location
(or better yet, don't touch that, create a symboli link in your home director)

if DuitTests can't find the Gtk+ libs check the file src/lib/paths.d

read the READM* first

it would be nice if we could meet on the chat room

Ant
Back to top
View user's profile Send private message
larsivi
Site Admin


Joined: 27 Mar 2004
Posts: 453
Location: Trondheim, Norway

PostPosted: Sat Feb 25, 2006 2:36 am    Post subject: Re: segfault - development halted Reply with quote

Ant wrote:

it would be nice if we could meet on the chat room

Ant


I think you will find at least one of me, JJR or h3r3tic in #D at freenode almost always Smile And if not us, there is almost certainly someone else.
Back to top
View user's profile Send private message
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Sat Feb 25, 2006 5:59 pm    Post subject: Reply with quote

I've downloaded it. I'll start taking a look today. It looks like Tom S and Lars are already investigating the code (per IRC).

-JJR
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sat Feb 25, 2006 9:45 pm    Post subject: Re: segfault - development halted Reply with quote

Ant wrote:

http://svn.dsource.org/projects/dui/trunk/dyndui/DuitBUG.tar.gz


updated to fix the C to D type conversion.

I'll try to make a 3rd version today including the conversion programs (need to rest now...)

Ant
Back to top
View user's profile Send private message
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Sun Feb 26, 2006 3:28 am    Post subject: Reply with quote

I've tried this one, Ant. Obviously the same problem still exists, so I guess fixing the data type conversion wasn't the solution.

More digging to be done, it looks like.

Thanks.

-JJR
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sun Feb 26, 2006 9:47 am    Post subject: Reply with quote

JJR wrote:
fixing the data type conversion wasn't the solution.

thinking of it it could NOT be the solution.

I tried ignoring the Gtk struct alltogether - I mean didn't even ask Gtk to create it.
what I did was create a Drawable with
new Drawable(cast(GdkDrawable*)1);

with that drawable we cannot call the gtk functions (obviously)
but we can call the foo() method that should print "in Drawable.foo()"
that never happens... Sad

(I don't think the new version has the foo() method)

Ant
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD 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