Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2021 17:09:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252643] devel/hpx : hpx application crashes since hwloc2 is used
Message-ID:  <bug-252643-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252643

            Bug ID: 252643
           Summary: devel/hpx : hpx application crashes since hwloc2 is
                    used
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: monwarez@mailoo.org
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

Since the change of hwloc dependency my project that use hpx crash at start=
up
with an abort.

I tested with the simple fibonacci example and get the same kind of error.

Here a backtrace

#0  thr_kill () at thr_kill.S:3
#1  0x0000000801d76084 in __raise (s=3D6) at /usr/src/lib/libc/gen/raise.c:=
52
#2  0x0000000801cec279 in abort () at /usr/src/lib/libc/stdlib/abort.c:67
#3  0x00000008003b5fa9 in report_failure (err=3D<optimized out>,=20
    thrown_exception=3D0x802a4fb08) at /usr/src/contrib/libcxxrt/exception.=
cc:719
#4  0x000000080033bfcc in std::rethrow_exception (p=3D...)
    at
/usr/src/contrib/llvm-project/libcxx/src/support/runtime/exception_pointer_=
cxxabi.ipp:68
#5  0x0000000801317896 in void
hpx::detail::throw_exception<hpx::exception>(hpx::exception const&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&, long) () f=
rom
/usr/local/lib/libhpx.so.1
#6  0x000000080137d045 in hpx::detail::throw_exception(hpx::error,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, long) () from /usr/local/lib/libhpx.so.1
#7  0x000000080137d46e in hpx::detail::throws_if(hpx::error_code&, hpx::err=
or,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, long) () from /usr/local/lib/libhpx.so.1
#8  0x00000008018548d0 in hpx::threads::topology::get_pu_number(unsigned lo=
ng,
unsigned long, hpx::error_code&) const () from /usr/local/lib/libhpx.so.1
#9  0x000000080182e78f in
hpx::threads::detail::decode_balanced_distribution(hpx::threads::topology&,
std::__1::vector<unsigned long, std::__1::allocator<unsigned long> >&, unsi=
gned
long, unsigned long, std::__1::vector<unsigned long,
std::__1::allocator<unsigned long> >&, hpx::error_code&) () from
/usr/local/lib/libhpx.so.1
#10 0x000000080182f834 in
hpx::threads::parse_affinity_options(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
std::__1::vector<unsigned long, std::__1::allocator<unsigned long> >&, unsi=
gned
long, unsigned long, unsigned long, std::__1::vector<unsigned long,
std::__1::allocator<unsigned long> >&, hpx::error_code&) () from
/usr/local/lib/libhpx.so.1
#11 0x000000080182aa5a in
hpx::threads::policies::detail::affinity_data::init(hpx::util::command_line=
_handling
const&) () from /usr/local/lib/libhpx.so.1
#12 0x000000080175f359 in
hpx::resource::detail::partitioner::parse(hpx::util::function<int
(boost::program_options::variables_map&), false> const&,
boost::program_options::options_description, int, char**,
std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<cha=
r,
std::__1::char_traits<char>, std::__1::allocator<char> > > >,
hpx::resource::partitioner_mode, hpx::runtime_mode, bool) () from
/usr/local/lib/libhpx.so.1
#13 0x0000000801762b48 in
hpx::resource::detail::create_partitioner(hpx::util::function<int
(boost::program_options::variables_map&), false> const&,
boost::program_options::options_description const&, int, char**,
std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<cha=
r,
std::__1::char_traits<char>, std::__1::allocator<char> > > >,
hpx::resource::partitioner_mode, hpx::runtime_mode, bool) () from
/usr/local/lib/libhpx.so.1
--Type <RET> for more, q to quit, c to continue without paging--
on const&, int, char**, std::__1::vector<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >,
std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char=
>,
std::__1::allocator<char> > > >&&, hpx::util::unique_function<void (), fals=
e>,
hpx::util::unique_function<void (), false>, hpx::runtime_mode, bool)
    () from /usr/local/lib/libhpx.so.1
#15 0x00000000002237ff in hpx::init(hpx::util::function<int
(boost::program_options::variables_map&), false> const&,
boost::program_options::options_description const&, int, char**,
std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<cha=
r,
std::__1::char_traits<char>, std::__1::allocator<char> > > > const&,
hpx::util::unique_function<void (), false>, hpx::util::unique_function<void=
 (),
false>, hpx::runtime_mode) ()
#16 0x0000000000223558 in hpx::init(boost::program_options::options_descrip=
tion
const&, int, char**, std::__1::vector<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >,
std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char=
>,
std::__1::allocator<char> > > > const&, hpx::util::unique_function<void (),
false>, hpx::util::unique_function<void (), false>, hpx::runtime_mode) ()
#17 0x00000000002233d6 in hpx::init(int, char**,
std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<cha=
r,
std::__1::char_traits<char>, std::__1::allocator<char> > > > const&,
hpx::runtime_mode) ()
#18 0x00000000002231ad in main ()

While here, the generated pkgconfig files have an error for pthread
-l-pthread while this should be -lpthread

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252643-7788>