Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source View test segfault #26

Closed
alexhairyman opened this issue Oct 11, 2012 · 4 comments
Closed

Source View test segfault #26

alexhairyman opened this issue Oct 11, 2012 · 4 comments

Comments

@alexhairyman
Copy link

#0  0xb7c7d400 in gtkc.gtk._sharedStaticCtor3() () from libgtkd.so.1.6
#1  0xb7e2edd9 in gtkc.gtk.__modsharedctor() () from libgtkd.so.1.6
#2  0xb7e90fee in rt.minfo.ModuleGroup.runCtors() () from libgtkd.so.1.6
#3  0xb7e90a9d in rt.minfo.ModuleGroup.runCtors() () from libgtkd.so.1.6
#4  0x08081af6 in rt_moduleCtor ()
#5  0x080819fa in rt.dmain2.main() ()
#6  0x080814e4 in rt.dmain2.main() ()
#7  0x08081494 in main ()

here is the backtrace for the segfault
I'm obviously on the gtkd 1.6 branch (my desktop is a gnome-2 fork)
I'm no expert, but the problem seems to be with the colors :D

EDIT:
I think I'll compile with debug symbols and see if I can get some more information as to why this isn't working

@MikeWey
Copy link
Member

MikeWey commented Oct 11, 2012

Witch compiler are you using ?

@alexhairyman
Copy link
Author

dmd 2.060 on linux 32
On Oct 11, 2012 3:26 PM, "Mike Wey" notifications@github.com wrote:

Witch compiler are you using ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-9358699.

@MikeWey
Copy link
Member

MikeWey commented Oct 12, 2012

The druntime for dmd doesn't properly support building shared libraries see dmd bug 7870.

http://d.puremagic.com/issues/show_bug.cgi?id=7870

Currently the shared libraries only work reliably when using ldc.

@MikeWey
Copy link
Member

MikeWey commented Apr 28, 2013

With the latest beta i can now successfully build gtkd and gtkdsv as shared libraries and run the sourceview demo.

I needed to add -defaultlib=phobos2so to the dmd.conf file to link with the correct phobos lib for this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants