Bug 197944 - lang/ecl: Segfault with libgc
Summary: lang/ecl: Segfault with libgc
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 08:37 UTC by Ashish SHUKLA
Modified: 2015-02-24 10:50 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (olgeni)


Attachments
build log (123.04 KB, text/plain)
2015-02-23 08:37 UTC, Ashish SHUKLA
no flags Details
gdb backtrace from the core-file (10.81 KB, text/plain)
2015-02-23 08:40 UTC, Ashish SHUKLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ashish SHUKLA freebsd_committer freebsd_triage 2015-02-23 08:37:00 UTC
Created attachment 153365 [details]
build log

Instead of a linker error like before, this time it segfaults during build process.

Output of `uname -a`:

FreeBSD chateau.d.if 10.1-RELEASE-p5 FreeBSD 10.1-RELEASE-p5 #2 r278025: Sun Feb  1 15:57:20 IST 2015     root@chateau.d.if:/usr/obj/usr/src/sys/CHATEAU  amd64

Let me know if you need any other information.

Thanks,
Ashish
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-23 08:37:00 UTC
Auto-assigned to maintainer olgeni@FreeBSD.org
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2015-02-23 08:40:31 UTC
Created attachment 153366 [details]
gdb backtrace from the core-file

I've also attach gdb backtrace from the core-file.

HTH
Comment 3 Ashish SHUKLA freebsd_committer freebsd_triage 2015-02-23 08:42:02 UTC
Also I forgot to mention building `--enable-boehm=included' instead of `--enable-boehm=system' works.

HTH
Comment 4 Jimmy Olgeni freebsd_committer freebsd_triage 2015-02-23 09:40:06 UTC
Does it still crash if you disable THREADS?
Comment 5 Ashish SHUKLA freebsd_committer freebsd_triage 2015-02-23 17:25:40 UTC
(In reply to Jimmy Olgeni from comment #4)

> Does it still crash if you disable THREADS?

Nope, it builds fine without THREADS option.
Comment 6 Ashish SHUKLA freebsd_committer freebsd_triage 2015-02-24 01:49:35 UTC
Sorry, I just realized I built devel/boehm-gc-threaded with PARALLEL_MARK option enabled. After installing boehm-gc-threaded with that option disabled, and building lang/ecl does not segfault any more.

This PR can be closed.

Thanks!
Comment 7 Jimmy Olgeni freebsd_committer freebsd_triage 2015-02-24 10:50:18 UTC
Good news :) thanks!