Bug 234824 - ports-mgmt/pkg: segfaults during 'make package' in graphics/qgis, with lld as the system linker on i386
Summary: ports-mgmt/pkg: segfaults during 'make package' in graphics/qgis, with lld as...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
Depends on:
Blocks: 214864
  Show dependency treegraph
Reported: 2019-01-10 15:00 UTC by Ed Maste
Modified: 2019-09-23 07:15 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 2019-01-10 15:00:55 UTC
Details to be added after more investigation

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864#c194

=======================<phase: package        >============================
===>  Building package for qgis-2.18.26_1
Child process pid=46854 terminated abnormally: Segmentation fault
*** Error code 1

I built graphics/qgis locally and found that pkg-static is the segfaulting process.

Unfortunately pkg-static has no debug info

* thread #1, name = 'pkg-static', stop reason = signal SIGSEGV
  * frame #0: 0x084c5e90 pkg-static`___lldb_unnamed_symbol293$$pkg-static + 580032
    frame #1: 0x08076e04 pkg-static`___lldb_unnamed_symbol1$$pkg-static + 187908
    frame #2: 0x08077a81 pkg-static`___lldb_unnamed_symbol1$$pkg-static + 191105
    frame #3: 0x0804f1ff pkg-static`___lldb_unnamed_symbol1$$pkg-static + 25087
    frame #4: 0x0805418c pkg-static`___lldb_unnamed_symbol1$$pkg-static + 45452
    frame #5: 0x0804914b pkg-static`___lldb_unnamed_symbol1$$pkg-static + 331  
    frame #6: 0x08049018 pkg-static`___lldb_unnamed_symbol1$$pkg-static + 24   

Version is pkg-1.10.5_5, i386
Comment 1 Loïc Bartoletti freebsd_committer 2019-03-05 19:54:43 UTC
QGIS is now in version 3 with a lot of change (python3, Qt5 and better FreeBSD support), is there still this problem?
Comment 2 Ed Maste freebsd_committer 2019-03-05 20:27:19 UTC
lld is now the system linker for FreeBSD/i386 (as of last week) so if qgis gets built in the next official pkg set we can assume this is no longer reproducible
Comment 3 Ed Maste freebsd_committer 2019-07-24 19:34:57 UTC
lld has been enabled as system linker for i386 on stable/12 in advance of 12.1 (base svn r350297, a few minutes ago)
Comment 4 Loïc Bartoletti freebsd_committer 2019-09-21 14:12:31 UTC
I think that, this ticket may be closed. lld is now the system linker and QGIS has had several updates since then.
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-22 12:44:03 UTC
^Triage Not sure why this wasn't assigned to maintainer on creation, assign accordingly. Maintainer may close "overcome by events" per comments, or re-assess.
Comment 6 Baptiste Daroussin freebsd_committer 2019-09-23 07:15:38 UTC
This seems not to be an issue anymore.

Please reopen if worth it.