View previous topic :: View next topic |
Author |
Message |
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Thu Feb 23, 2006 11:43 pm Post subject: segfault - development halted |
|
|
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 |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Fri Feb 24, 2006 1:07 am Post subject: |
|
|
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.
-JJR |
|
Back to top |
|
|
h3r3tic
Joined: 30 Mar 2004 Posts: 261 Location: Torun, Poland
|
Posted: Fri Feb 24, 2006 6:27 am Post subject: |
|
|
Come on, share some source and instructions for how to reproduce the error. I'm sure we'll be able to help |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Fri Feb 24, 2006 9:35 am Post subject: Re: segfault - development halted |
|
|
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 |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sat Feb 25, 2006 1:23 am Post subject: Re: segfault - development halted |
|
|
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 |
|
|
larsivi Site Admin
Joined: 27 Mar 2004 Posts: 453 Location: Trondheim, Norway
|
Posted: Sat Feb 25, 2006 2:36 am Post subject: Re: segfault - development halted |
|
|
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 And if not us, there is almost certainly someone else. |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Sat Feb 25, 2006 5:59 pm Post subject: |
|
|
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 |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sat Feb 25, 2006 9:45 pm Post subject: Re: segfault - development halted |
|
|
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 |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Sun Feb 26, 2006 3:28 am Post subject: |
|
|
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 |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sun Feb 26, 2006 9:47 am Post subject: |
|
|
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...
(I don't think the new version has the foo() method)
Ant |
|
Back to top |
|
|
|