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

cron - Nuke obsolete stuff #14

Merged
merged 1 commit into from
Dec 9, 2015
Merged

cron - Nuke obsolete stuff #14

merged 1 commit into from
Dec 9, 2015

Conversation

doktornotor
Copy link
Contributor

Not bumping version now, there are still some bootstrap changes pending for https://redmine.pfsense.org/issues/5571

@netgate-git-updates netgate-git-updates merged commit c4e524a into pfsense:devel Dec 9, 2015
jim-p added a commit that referenced this pull request Dec 9, 2015
@doktornotor doktornotor deleted the patch-4 branch December 9, 2015 13:29
netgate-git-updates pushed a commit that referenced this pull request Feb 2, 2016
…hp5-redis for REDIS

Both ports are at the same version of redis, and the option is off by default.

PR:		201709 (comment #14 to #16)
Approved by:	portmgr (miwi)
netgate-git-updates pushed a commit that referenced this pull request Feb 3, 2016
nmsg (0.11.0)

  [ Henry Stern ]
  * Add an interval randomization option that randomizes the initial offset
    within the selected time interval. This functionality is exposed via the
    libnmsg nmsg_io_set_interval_randomized() function and the nmsgtool -R /
    --randomize command-line option (#27, #33).

  * Add documention for nmsgtool -j / --readjson and -J / --write-json
    command-line options (#26, #28).

  * Add PKG_CHECK_MODULES dependency on yajl >= 2.1.0 (#29, #31).

  * Make nmsgtool -k / --kicker work when combined with -c or -t, when
    producing output in JSON format (#25, #38).

  * Fix compiler warning [-Wtautological-compare] in
    _nmsg_msgmod_json_to_payload_load() (#36, #39).

  * Add nmsg_message_get_num_field_values(),
    nmsg_message_get_num_field_values_by_idx() functions (#5, #40).

  [ Robert Edmonds ]
  * Remove the unused enum nmsg_modtype from the internal libnmsg API (#30).

  * Header file cleanups (#14, #34).

  * Rewrite nmsg_res_lookup() to use a switch, which eliminates a Clang
    warning (#14, #35).

  * Add a message filtering capability to the libnmsg I/O loop, including
    external filter module plugin and nmsgtool support (#41, #43, #44).

  [ Mike Schiffman ]
  * Add yajl/ prefix to #include's of yajl headers (#37)

Pet portlint

Sponsored by:	Farsight Security, Inc.
netgate-git-updates pushed a commit that referenced this pull request Jun 19, 2016
- submitter becomes maintainer
- reverse: re-enable kernel cache (bug #60)
- reverse mode: disable unique IV by default (was enabled in 1.8)
- add make benchmark-reverse
- remove -o default_permissions unless needed to improve performance
- add option --require-macs (bug #14)
- add per-file IVs based on the inode number to reverse mode to
  improve security
- add automatic benchmark (make benchmark)
- compare MAC in constant time ( fixes bug #12 )
- add --nocache option

PR:		210196
Submitted by:	Dmitri Goutnik <dg@syrec.org>
netgate-git-updates pushed a commit that referenced this pull request Mar 12, 2018
It is documented that the first FLAVOR is the default.  Due to some use
of DEFAULT_VERSIONS and USES, the default FLAVOR may be determined
dynamically.  Poudriere in particular expects the default to be first
and does the wrong thing for emacs ports currently [1].  This resolves
that and avoids other tools making the same mistake.

PR:		225659 comment #14
Approved by:	portmgr (implicit)
netgate-git-updates pushed a commit that referenced this pull request Mar 12, 2018
FLAVORS: Reorder so the default is first.

It is documented that the first FLAVOR is the default.  Due to some use
of DEFAULT_VERSIONS and USES, the default FLAVOR may be determined
dynamically.  Poudriere in particular expects the default to be first
and does the wrong thing for emacs ports currently [1].  This resolves
that and avoids other tools making the same mistake.

PR:		225659 comment #14
Approved by:	portmgr (implicit)
netgate-git-updates pushed a commit that referenced this pull request Apr 27, 2018
FAILED: src/kernels/cl_internal_copy_buf_align16_str.c
cd /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src && rm -rf /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16_str.c && env OCL_BITCODE_LIB_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet.bc OCL_HEADER_FILE_DIR=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//include/ OCL_PCH_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet.local.pch OCL_BITCODE_LIB_20_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet_20.bc OCL_PCH_20_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet_20.local.pch LD_LIBRARY_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/gbe_bin_generater -s -o/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16_str.c /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16.cl
ninja: build stopped: subcommand failed.

  Program received signal SIGBUS, Bus error.
  std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare (
      this=0x80959ac20, __str=...) at /usr/include/c++/v1/string:3643
  3643        size_t __rhs_sz = __str.size();
  (gdb) backtrace
  #0  std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare (
      this=0x80959ac20, __str=...) at /usr/include/c++/v1/string:3643
  #1  std::__1::operator< <char, std::__1::char_traits<char>, std::__1::allocator<char> > (__lhs=..., __rhs=...)
      at /usr/include/c++/v1/string:3827
  #2  std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<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> > > >::value_comp (
      this=0x7fffffff9af8, this=0x7fffffff9af8, __x=..., __y=...) at /usr/include/c++/v1/__functional_base:63
  #3  std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<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> > > >::__find_equal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > (this=0x7fffffff9ae8,
      __parent=@0x7fffffff94b8: 0x80063e400, __v=...) at /usr/include/c++/v1/__tree:1613
  #4  0x0000000800f6c3c2 in std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<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> > > ---Type <return> to continue, or q <return> to quit---
  >::__insert_unique (this=0x7fffffff9ae8, __v=...) at /usr/include/c++/v1/__tree:1867
  #5  0x000000080147e8eb in clang::ASTReader::ReadASTBlock(clang::serialization::ModuleFile&, unsigned int) ()
     from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  #6  0x0000000801484484 in clang::ASTReader::ReadAST(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, unsigned int, llvm::SmallVectorImpl<clang::ASTReader::ImportedSubmodule>*) ()
     from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  #7  0x000000080138be1b in clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef, llvm::StringRef, bool, bool, clang::Preprocessor&, clang::ASTContext&, clang::PCHContainerReader const&, llvm::ArrayRef<std::__1::shared_ptr<clang::ModuleFileExtension> >, clang::DependencyFileGenerator*, llvm::ArrayRef<std::__1::shared_ptr<clang::DependencyCollector> >, void*, bool, bool, bool) ()
     from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  #8  0x000000080138bb7c in clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef, bool, bool, void*, bool) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  #9  0x00000008013d0d47 in clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  #10 0x000000080138eec5 in clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) ()
  ---Type <return> to continue, or q <return> to quit---
     from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  #11 0x0000000800f19565 in gbe::buildModuleFromSource (
      source=0x8007b2000 "kernel void __cl_copy_region_align16 ( global float* src, unsigned int src_offset,\n", ' ' <repeats 38 times>, "global float* dst, unsigned int dst_offset,\n\t\t\t\t      unsigned int size)\n{\n    "..., out_module=0x7fffffffd360, llvm_ctx=0x809419468, dumpLLVMFileName=..., dumpSPIRBinaryName=..., options=...,
      stringSize=0, err=0x0, errSize=0x0, oclVersion=120) at backend/src/backend/program.cpp:735
  #12 0x0000000800f0688c in gbe::programCompileFromSource (deviceID=0,
      source=0x8007b2000 "kernel void __cl_copy_region_align16 ( global float* src, unsigned int src_offset,\n", ' ' <repeats 38 times>, "global float* dst, unsigned int dst_offset,\n\t\t\t\t      unsigned int size)\n{\n    "..., temp_header_path=0x0, stringSize=0, options=0x809417259 "", err=0x0, errSize=0x0)
      at backend/src/backend/program.cpp:1163
  #13 0x00000000004073f8 in program_build_instance::build_program (this=0x809417240)
      at backend/src/gbe_bin_generater.cpp:280
  #14 0x000000000040990f in main (argc=4, argv=0x7fffffffe740) at backend/src/gbe_bin_generater.cpp:429
netgate-git-updates pushed a commit that referenced this pull request Jan 27, 2019
Changes since 1.10:
o Fix bug FreeBSD/229654: properly generate man pages on FreeBSD.
o Fix Issue #14: properly create iked.conf.5
o Support OpenSSL 1.1 and newer.
o Support for OpenSSL 1.0 has been retained with compatibility defines.

PR:		229654
Reviewed by:	mat@
Differential Revision:	https://reviews.freebsd.org/D18907
netgate-git-updates pushed a commit that referenced this pull request Mar 27, 2019
dav1d 0.2.1 - by VideoLAN
Decoded 1/150 frames (0.7%)Process 84877 stopped
* thread #1, name = 'dav1d', stop reason = signal SIGBUS: hardware error
    frame #0: 0x000000080028c1f5 libdav1d.so.1`..@26262.end + 101
libdav1d.so.1`..@26262.end:
->  0x80028c1f5 <+101>: vmovdqa %ymm15, (%rsp)
    0x80028c1fa <+106>: callq  0x80028baa0               ; ..@25257.end
    0x80028c1ff <+111>: vpbroadcastd -0x74(%rax), %ymm1
    0x80028c205 <+117>: vpmulhrsw %ymm1, %ymm6, %ymm6
(lldb) reg read rsp
     rsp = 0x00007fffffffc030
(lldb) bt
* thread #1, name = 'dav1d', stop reason = signal SIGBUS: hardware error
  * frame #0: 0x000000080028c1f5 libdav1d.so.1`..@26262.end + 101
    frame #1: 0x00000008002f605c libdav1d.so.1`read_coef_tree(t=0x0000000800e0f840, bs=BS_16x16, b=0x00007fffffffc630, ytx=2, depth=0, tx_split=0x00007fffffffc644, x_off=0, y_off=0, dst="wwvvvuttuvwxyyxz") at recon_tmpl.c:356:17
    frame #2: 0x00000008002fd3cb libdav1d.so.1`dav1d_recon_b_inter_8bpc(t=0x0000000800e0f840, bs=BS_16x16, b=0x00007fffffffc630) at recon_tmpl.c:1510:21
    frame #3: 0x00000008002c1180 libdav1d.so.1`decode_b(t=0x0000000800e0f840, bl=BL_16X16, bs=BS_16x16, bp=PARTITION_NONE, intra_edge_flags=0) at decode.c:1855:17
    frame #4: 0x00000008002b65d0 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_16X16, node=0x00000008007faf10) at decode.c:2040:17
    frame #5: 0x00000008002b68a8 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_32X32, node=0x00000008007f8e20) at decode.c:2084:21
    frame #6: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_64X64, node=0x00000008007f85a0) at decode.c:2091:21
    frame #7: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_128X128, node=0x00000008007f8380) at decode.c:2091:21
    frame #8: 0x00000008002b5fce libdav1d.so.1`dav1d_decode_tile_sbrow(t=0x0000000800e0f840) at decode.c:2542:13
    frame #9: 0x00000008002cb1ab libdav1d.so.1`dav1d_decode_frame(f=0x0000000800e00000) at decode.c:2916:29
    frame #10: 0x00000008002cd477 libdav1d.so.1`dav1d_submit_frame(c=0x00000008007f5280) at decode.c:3374:20
    frame #11: 0x00000008002b1433 libdav1d.so.1`dav1d_parse_obus(c=0x00000008007f5280, in=0x00000008007f52e8, global=0) at obu.c:1490:24
    frame #12: 0x000000080032f786 libdav1d.so.1`dav1d_get_picture(c=0x00000008007f5280, out=0x00007fffffffe048) at lib.c:359:15
    frame #13: 0x00000000002035ee dav1d`main(argc=7, argv=0x00007fffffffe250) at dav1d.c:139:20
    frame #14: 0x000000000020310f dav1d`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7

Reported by:	Mozilla
netgate-git-updates pushed a commit that referenced this pull request Jun 30, 2020
No PORTEPOCH bump because this port wasn't stable to begin with.

* thread #9, name = 'yuzu:CPUThread', stop reason = signal SIGABRT
  * frame #0: 0x0000000804146a8a libc.so.7`__sys_thr_kill at thr_kill.S:4
    frame #1: 0x0000000804146424 libc.so.7`__raise(s=6) at raise.c:52:10
    frame #2: 0x00000008040aef19 libc.so.7`abort at abort.c:67:8
    frame #3: 0x00000008038f39b9 libcxxrt.so.1`report_failure(err=<unavailable>, thrown_exception=0x00000009d701aa88) at exception.cc:719:5
    frame #4: 0x00000008038c34dc libc++.so.1`std::__1::__throw_system_error(ev=11, what_arg="mutex lock failed") at system_error.cpp:287:5
    frame #5: 0x00000008038a834d libc++.so.1`std::__1::mutex::lock(this=<unavailable>) at mutex.cpp:35:9
    frame #6: 0x0000000000dbb534 yuzu`std::__1::unique_lock<std::__1::mutex>::unique_lock(this=0x00000009c68f1d90, __m=0x0000000805984918) at __mutex_base:119:61
    frame #7: 0x000000000136167d yuzu`Service::NVFlinger::NVFlinger::Lock(this=0x000000080c8c6958) at nvflinger.h:90:16
    frame #8: 0x00000000014c5ab4 yuzu`Service::VI::IHOSBinderDriver::TransactParcel(this=0x00000009d536e6f8, thread=std::__1::shared_ptr<Kernel::Thread>::element_type @ 0x000000090faedc20 strong=9 weak=2, ctx=0x00000009d536e310, reason=Signal)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)::operator()(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason) const at vi.cpp:554:37
    frame #9: 0x00000000014c59f5 yuzu`decltype(__f=0x00000009d536e6f8, __args=nullptr, __args=0x00000009d536e310, __args=0x00000009c68f2004)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&>(fp)(std::__1::forward<std::__1::shared_ptr<Kernel::Thread> >(fp0), std::__1::forward<Kernel::HLERequestContext&>(fp0), std::__1::forward<Kernel::ThreadWakeupReason>(fp0))) std::__1::__invoke<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&, std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason>(Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&, std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) at type_traits:3539:1
    frame #10: 0x00000000014c594c yuzu`void std::__1::__invoke_void_return_wrapper<void>::__call<Service::VI::IHOSBinderDriver::TransactParcel(__args=0x00000009d536e6f8, __args=nullptr, __args=0x00000009d536e310, __args=0x00000009c68f2004)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&, std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason>(Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&, std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) at __functional_base:348:9
    frame #11: 0x00000000014c58dc yuzu`std::__1::__function::__alloc_func<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason), std::__1::allocator<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>, void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>::operator(this=0x00000009d536e6f8, __arg=nullptr, __arg=0x00000009d536e310, __arg=0x00000009c68f2004)(std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) at functional:1540:16
    frame #12: 0x00000000014c480d yuzu`std::__1::__function::__func<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason), std::__1::allocator<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>, void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>::operator(this=0x00000009d536e6f0, __arg=nullptr, __arg=0x00000009d536e310, __arg=0x00000009c68f2004)(std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) at functional:1714:12
    frame #13: 0x0000000001116862 yuzu`std::__1::__function::__value_func<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>::operator(this=0x00000009d536e6f0, __args=nullptr, __args=0x00000009d536e310, __args=0x00000009c68f2004)(std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) const at functional:1867:16
    frame #14: 0x00000000011167bc yuzu`std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>::operator(this= Lambda in File vi.cpp at Line 552, __arg=<unavailable>, __arg=0x00000009d536e310, __arg=Signal)(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason) const at functional:2473:12
    frame #15: 0x000000000110a6a4 yuzu`Kernel::HLERequestContext::SleepClientThread(this=0x00000009d536e310, thread=std::__1::shared_ptr<Kernel::Thread>::element_type @ 0x000000090faedc20 strong=9 weak=2)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0::operator()(std::__1::shared_ptr<Kernel::Thread>) at hle_ipc.cpp:67:17
    frame #16: 0x000000000110a5b1 yuzu`decltype(__f=0x00000009d536e310, __args=nullptr)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&>(fp)(std::__1::forward<std::__1::shared_ptr<Kernel::Thread> >(fp0))) std::__1::__invoke<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&, std::__1::shared_ptr<Kernel::Thread> >(Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&, std::__1::shared_ptr<Kernel::Thread>&&) at type_traits:3539:1
    frame #17: 0x000000000110a532 yuzu`bool std::__1::__invoke_void_return_wrapper<bool>::__call<Kernel::HLERequestContext::SleepClientThread(__args=0x00000009d536e310, __args=nullptr)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&, std::__1::shared_ptr<Kernel::Thread> >(Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&, std::__1::shared_ptr<Kernel::Thread>&&) at __functional_base:317:16
    frame #18: 0x000000000110a4f2 yuzu`std::__1::__function::__alloc_func<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0, std::__1::allocator<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0>, bool (std::__1::shared_ptr<Kernel::Thread>)>::operator(this=0x00000009d536e310, __arg=nullptr)(std::__1::shared_ptr<Kernel::Thread>&&) at functional:1540:16
    frame #19: 0x00000000011094b3 yuzu`std::__1::__function::__func<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0, std::__1::allocator<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0>, bool (std::__1::shared_ptr<Kernel::Thread>)>::operator(this=0x00000009d536e300, __arg=nullptr)(std::__1::shared_ptr<Kernel::Thread>&&) at functional:1714:12
    frame #20: 0x00000000011834ed yuzu`std::__1::__function::__value_func<bool (std::__1::shared_ptr<Kernel::Thread>)>::operator(this=0x000000090faee1c0, __args=nullptr)(std::__1::shared_ptr<Kernel::Thread>&&) const at functional:1867:16
    frame #21: 0x0000000001180c18 yuzu`std::__1::function<bool (std::__1::shared_ptr<Kernel::Thread>)>::operator(this=0x000000090faee1c0, __arg=<unavailable>)(std::__1::shared_ptr<Kernel::Thread>) const at functional:2473:12
    frame #22: 0x000000000117edb2 yuzu`Kernel::Thread::InvokeHLECallback(this=0x000000090faedc20, thread=nullptr) at thread.cpp:403:12
    frame #23: 0x00000000011929d7 yuzu`Kernel::Svc::SendSyncRequest(system=0x000000000252f3d8, handle=622615) at svc.cpp:365:17
    frame #24: 0x000000000118b3b5 yuzu`void Kernel::SvcWrap64<&(Kernel::Svc::SendSyncRequest(Core::System&, unsigned int))>(system=0x000000000252f3d8) at svc_wrap.h:50:24
    frame #25: 0x000000000118a334 yuzu`Kernel::Svc::Call(system=0x000000000252f3d8, immediate=33) at svc.cpp:2649:13
    frame #26: 0x00000000011a60e3 yuzu`Core::DynarmicCallbacks64::CallSVC(this=0x00000009c657df60, swi=33) at arm_dynarmic_64.cpp:123:9
    frame #27: 0x00000000023f2c74 yuzu`Dynarmic::Backend::X64::impl::ThunkBuilder<void (Dynarmic::A64::UserCallbacks::*)(unsigned int), &(Dynarmic::A64::UserCallbacks::CallSVC(unsigned int))>::Thunk(this_=0x00000009c657df60, args=33) at devirtualize.h:28:16
netgate-git-updates pushed a commit that referenced this pull request Aug 10, 2020
ncnn API is not stable, updates frequently break this port.
Binary is also smaller when using bundled ncnn.

 $ size $(which waifu2x-ncnn-vulkan)
    text    data     bss     dec     hex filename
-7245567  242384   58992 7546943  73283f /usr/local/bin/waifu2x-ncnn-vulkan
+3281223    3152   58840 3343215  33036f /usr/local/bin/waifu2x-ncnn-vulkan

$ waifu2x-ncnn-vulkan -i foo.png -o bar.png
[0 Intel(R) HD Graphics 530 (SKL GT2)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 Intel(R) HD Graphics 530 (SKL GT2)]  bugsbn1=0  buglbia=0  bugcopc=0  bugihfa=0
[0 Intel(R) HD Graphics 530 (SKL GT2)]  fp16p=1  fp16s=1  fp16a=1  int8s=1  int8a=1
pipeline specialization count mismatch, expect 4 but got 1
new_pipeline failed
pipeline specialization count mismatch, expect 4 but got 1
new_pipeline failed
Process 8606 stopped
* thread #14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
    frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
   1369
   1370    assert(_set < MAX_PUSH_DESCRIPTORS);
   1371
-> 1372    struct anv_descriptor_set_layout *set_layout = layout->set[_set].layout;
   1373
   1374    struct anv_descriptor_set *set =
   1375       anv_cmd_buffer_push_descriptor_set(cmd_buffer, template->bind_point,
(lldb) bt
* thread #14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
  * frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
    frame #1: 0x00000000004facce waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=0x00000008045e3400, buffer_bindings=0x00007fffc35ea418, image_bindings=0x00007fffc35ea0f0, constants=0x00007fffc35ea400, dispatcher=0x00007fffc35ea110) at command.cpp:1457:13
    frame #2: 0x00000000004f981c waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(ncnn::Pipeline const*, std::__1::vector<ncnn::VkMat, std::__1::allocator<ncnn::VkMat> > const&, std::__1::vector<ncnn::vk_constant_type, std::__1::allocator<ncnn::vk_constant_type> > const&, ncnn::VkMat const&) [inlined] ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, buffer_bindings=<unavailable>, image_bindings=0x00007fffc35ea0f0, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1187:5
    frame #3: 0x00000000004f97bb waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, bindings=<unavailable>, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1175
    frame #4: 0x000000000086b516 waifu2x-ncnn-vulkan`Waifu2x::process(this=0x00007fffffffdd58, inimage=0x00007fffc35eaf30, outimage=0x00007fffc35eaf70) const at waifu2x.cpp:457:25
    frame #5: 0x000000000084cd45 waifu2x-ncnn-vulkan`proc(args=0x00007fffffffdb70) at main.cpp:281:18
    frame #6: 0x00000008008fd1c9 libthr.so.3`thread_start(curthread=0x0000000807874300) at thr_create.c:292:16
netgate-git-updates pushed a commit that referenced this pull request Aug 10, 2020
graphics/waifu2x-ncnn-vulkan: back out r539374

ncnn API is not stable, updates frequently break this port.
Binary is also smaller when using bundled ncnn.

 $ size $(which waifu2x-ncnn-vulkan)
    text    data     bss     dec     hex filename
-7245567  242384   58992 7546943  73283f /usr/local/bin/waifu2x-ncnn-vulkan
+3281223    3152   58840 3343215  33036f /usr/local/bin/waifu2x-ncnn-vulkan

$ waifu2x-ncnn-vulkan -i foo.png -o bar.png
[0 Intel(R) HD Graphics 530 (SKL GT2)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 Intel(R) HD Graphics 530 (SKL GT2)]  bugsbn1=0  buglbia=0  bugcopc=0  bugihfa=0
[0 Intel(R) HD Graphics 530 (SKL GT2)]  fp16p=1  fp16s=1  fp16a=1  int8s=1  int8a=1
pipeline specialization count mismatch, expect 4 but got 1
new_pipeline failed
pipeline specialization count mismatch, expect 4 but got 1
new_pipeline failed
Process 8606 stopped
* thread #14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
    frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
   1369
   1370    assert(_set < MAX_PUSH_DESCRIPTORS);
   1371
-> 1372    struct anv_descriptor_set_layout *set_layout = layout->set[_set].layout;
   1373
   1374    struct anv_descriptor_set *set =
   1375       anv_cmd_buffer_push_descriptor_set(cmd_buffer, template->bind_point,
(lldb) bt
* thread #14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
  * frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
    frame #1: 0x00000000004facce waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=0x00000008045e3400, buffer_bindings=0x00007fffc35ea418, image_bindings=0x00007fffc35ea0f0, constants=0x00007fffc35ea400, dispatcher=0x00007fffc35ea110) at command.cpp:1457:13
    frame #2: 0x00000000004f981c waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(ncnn::Pipeline const*, std::__1::vector<ncnn::VkMat, std::__1::allocator<ncnn::VkMat> > const&, std::__1::vector<ncnn::vk_constant_type, std::__1::allocator<ncnn::vk_constant_type> > const&, ncnn::VkMat const&) [inlined] ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, buffer_bindings=<unavailable>, image_bindings=0x00007fffc35ea0f0, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1187:5
    frame #3: 0x00000000004f97bb waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, bindings=<unavailable>, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1175
    frame #4: 0x000000000086b516 waifu2x-ncnn-vulkan`Waifu2x::process(this=0x00007fffffffdd58, inimage=0x00007fffc35eaf30, outimage=0x00007fffc35eaf70) const at waifu2x.cpp:457:25
    frame #5: 0x000000000084cd45 waifu2x-ncnn-vulkan`proc(args=0x00007fffffffdb70) at main.cpp:281:18
    frame #6: 0x00000008008fd1c9 libthr.so.3`thread_start(curthread=0x0000000807874300) at thr_create.c:292:16

Approved by:	ports-secteam blanket
netgate-git-updates pushed a commit that referenced this pull request Oct 31, 2020
While upstream issue is in userland driver FreeBSD kernel driver may
fail to handle it gracefully e.g.,

  $ sway
  $ mpv --hwdec=vaapi /path/to/file

  pid 12449 (sway), jid 0, uid 1234: exited on signal 11
  WARNING !drm_modeset_is_locked(&crtc->mutex) failed at drm-kmod-drm_v5.4.62_3/drivers/gpu/drm/drm_atomic_helper.c:621
  #0 0xffffffff81f3e833 at linux_dump_stack+0x23
  #1 0xffffffff81ea43e3 at drm_atomic_helper_check_modeset+0xb3
  #2 0xffffffff8259492c at intel_atomic_check+0x8c
  #3 0xffffffff81ea3379 at drm_atomic_check_only+0x3f9
  #4 0xffffffff81ea37c3 at drm_atomic_commit+0x13
  #5 0xffffffff81eb0c3f at drm_client_modeset_commit_atomic+0x1af
  #6 0xffffffff81eb093a at drm_client_modeset_commit_force+0x6a
  #7 0xffffffff81efa12a at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
  #8 0xffffffff81ef2386 at vt_kms_postswitch+0x166
  #9 0xffffffff8076b66b at vt_window_switch+0x12b
  #10 0xffffffff807688ff at vtterm_cngrab+0x1f
  #11 0xffffffff80805a36 at cngrab+0x16
  #12 0xffffffff8086295c at vpanic+0xec
  #13 0xffffffff80862863 at panic+0x43
  #14 0xffffffff81f5d142 at dma_buf_poll+0x12
  #15 0xffffffff808d2959 at kern_poll+0x329
  #16 0xffffffff808d2620 at sys_poll+0x50
  #17 0xffffffff80b3353b at amd64_syscall+0xfb
netgate-git-updates pushed a commit that referenced this pull request Nov 8, 2020
…bug [2]

Update mail/fetchmail{,conf} to 6.4.13 and fix rc script to work correctly
when root's shell does not include /usr/local/bin in $PATH.

mail/fetchmail passes 'poudriere testport' on both i386 and amd64 under
11.4 and 12.1 for the following configurations:
  - Default settings
  - Default settings, build as non-root
  - ssl=base, GSSAPI_MIT
  - ssl=base, GSSAPI_NONE
  - ssl=openssl
  - ssl=openssl with SSL2 and SSL3 disabled
  - ssl=openssl, GSSAPI_NONE
  - ssl=libressl
  - ssl=libressl, GSSAPI_NONE

mail/fetchmailconf passes 'poudriere testport' on both i386 and amd64 under
11.4 and 12.1 with default settings

Additionally, passes bulk -tC on 12.1-arm64.

PR:		250925 [1]
Submitted by:	Corey Halpin (maintainer)
PR:		250691 [2, comments #14, #15]
Reported by:	Brian Biskeborn [2], Andrey Kiryanov [2]
netgate-git-updates pushed a commit that referenced this pull request Apr 22, 2024
* thread #1, name = 'xdg-desktop-port', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x0)
    frame #0: 0x000000000026acf0 xdg-desktop-portal-hyprland`dmabufFeedbackMainDevice(data=0x0000000000000000, feedback=0x0000182398a105c0, device_arr=0x0000182398a891d0) at PortalManager.cpp:90:5
   87   static void dmabufFeedbackMainDevice(void* data, zwp_linux_dmabuf_feedback_v1* feedback, wl_array* device_arr) {
   88       Debug::log(LOG, "[core] dmabufFeedbackMainDevice");
   89
-> 90       RASSERT(!g_pPortalManager->m_sWaylandConnection.gbm, "double dmabuf feedback");
   91
   92       dev_t device;
   93       assert(device_arr->size == sizeof(device));
(lldb) bt
* thread #1, name = 'xdg-desktop-port', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x0)
  * frame #0: 0x000000000026acf0 xdg-desktop-portal-hyprland`dmabufFeedbackMainDevice(data=0x0000000000000000, feedback=0x0000182398a105c0, device_arr=0x0000182398a891d0) at PortalManager.cpp:90:5
    frame #1: 0x000000082c61067a libffi.so.8`ffi_call_unix64 at unix64.S:104
    frame #2: 0x000000082c60f8f9 libffi.so.8`ffi_call_int(cif=0x0000000820fbba80, fn=(xdg-desktop-portal-hyprland`dmabufFeedbackMainDevice(void*, zwp_linux_dmabuf_feedback_v1*, wl_array*) at PortalManager.cpp:87), rvalue=0x0000000000000000, avalue=0x0000000820fbbab0, closure=0x0000000000000000) at ffi64.c:673:3
    frame #3: 0x000000082c60f452 libffi.so.8`ffi_call(cif=0x0000000820fbba80, fn=(xdg-desktop-portal-hyprland`dmabufFeedbackMainDevice(void*, zwp_linux_dmabuf_feedback_v1*, wl_array*) at PortalManager.cpp:87), rvalue=0x0000000000000000, avalue=0x0000000820fbbab0) at ffi64.c:710:3
    frame #4: 0x00000008242fac28 libwayland-client.so.0`wl_closure_invoke(closure=0x0000182398a89100, flags=1, target=0x0000182398a105c0, opcode=2, data=0x0000000000000000) at connection.c:1025:2
    frame #5: 0x00000008242f84cf libwayland-client.so.0`dispatch_event(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:1631:3
    frame #6: 0x00000008242f72f4 libwayland-client.so.0`dispatch_queue(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:1777:3
    frame #7: 0x00000008242f70bd libwayland-client.so.0`wl_display_dispatch_queue_pending(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:2019:8
    frame #8: 0x00000008242f6c8e libwayland-client.so.0`wl_display_dispatch_queue(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:1995:9
    frame #9: 0x00000008242f6814 libwayland-client.so.0`wl_display_roundtrip_queue(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:1403:9
    frame #10: 0x00000008242f6ce0 libwayland-client.so.0`wl_display_roundtrip(display=0x0000182398a1b140) at wayland-client.c:1432:9
    frame #11: 0x0000000000326718 xdg-desktop-portal-hyprland`CToplevelManager::activate(this=0x0000182398a19240) at ToplevelManager.cpp:109:5
    frame #12: 0x0000000000267b72 xdg-desktop-portal-hyprland`CPortalManager::onGlobal(this=0x0000182398a1b000, data=0x0000000000000000, registry=0x0000182398a10440, name=24, interface="zwlr_foreign_toplevel_manager_v1", version=3) at PortalManager.cpp:261:34
    frame #13: 0x00000000002675e5 xdg-desktop-portal-hyprland`handleGlobal(data=0x0000000000000000, registry=0x0000182398a10440, name=24, interface="zwlr_foreign_toplevel_manager_v1", version=3) at PortalManager.cpp:20:23
    frame #14: 0x000000082c61067a libffi.so.8`ffi_call_unix64 at unix64.S:104
    frame #15: 0x000000082c60f8f9 libffi.so.8`ffi_call_int(cif=0x0000000820fbc140, fn=(xdg-desktop-portal-hyprland`handleGlobal(void*, wl_registry*, unsigned int, char const*, unsigned int) at PortalManager.cpp:19), rvalue=0x0000000000000000, avalue=0x0000000820fbc170, closure=0x0000000000000000) at ffi64.c:673:3
    frame #16: 0x000000082c60f452 libffi.so.8`ffi_call(cif=0x0000000820fbc140, fn=(xdg-desktop-portal-hyprland`handleGlobal(void*, wl_registry*, unsigned int, char const*, unsigned int) at PortalManager.cpp:19), rvalue=0x0000000000000000, avalue=0x0000000820fbc170) at ffi64.c:710:3
    frame #17: 0x00000008242fac28 libwayland-client.so.0`wl_closure_invoke(closure=0x0000182398a1b8c0, flags=1, target=0x0000182398a10440, opcode=0, data=0x0000000000000000) at connection.c:1025:2
    frame #18: 0x00000008242f84cf libwayland-client.so.0`dispatch_event(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:1631:3
    frame #19: 0x00000008242f72f4 libwayland-client.so.0`dispatch_queue(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:1777:3
    frame #20: 0x00000008242f70bd libwayland-client.so.0`wl_display_dispatch_queue_pending(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:2019:8
    frame #21: 0x00000008242f6c8e libwayland-client.so.0`wl_display_dispatch_queue(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:1995:9
    frame #22: 0x00000008242f6814 libwayland-client.so.0`wl_display_roundtrip_queue(display=0x0000182398a1b140, queue=0x0000182398a1b230) at wayland-client.c:1403:9
    frame #23: 0x00000008242f6ce0 libwayland-client.so.0`wl_display_roundtrip(display=0x0000182398a1b140) at wayland-client.c:1432:9
    frame #24: 0x00000000002689a4 xdg-desktop-portal-hyprland`CPortalManager::init(this=0x0000182398a1b000) at PortalManager.cpp:312:5
    frame #25: 0x00000000002a3f76 xdg-desktop-portal-hyprland`main(argc=1, argv=0x0000000820fbc870, envp=0x0000000820fbc880) at main.cpp:38:23
    frame #26: 0x000000082a0172aa libc.so.7`__libc_start1(argc=1, argv=0x0000000820fbc870, env=0x0000000820fbc880, cleanup=<unavailable>, mainX=(xdg-desktop-portal-hyprland`main at main.cpp:15)) at libc_start1.c:157:7
    frame #27: 0x0000000000267520 xdg-desktop-portal-hyprland`_start at crt1_s.S:83

* thread #1, name = 'xdg-desktop-port', stop reason = signal SIGILL: privileged opcode
    frame #0: 0x0000000824c5f7cf libc++.so.1`std::__1::mutex::unlock(this=<unavailable>) at mutex.cpp:39:3
   36   void mutex::unlock() noexcept {
   37     int ec = __libcpp_mutex_unlock(&__m_);
   38     (void)ec;
-> 39     _LIBCPP_ASSERT_VALID_EXTERNAL_API_CALL(
   40         ec == 0, "call to mutex::unlock failed. A possible reason is that the mutex wasn't locked");
   41   }
   42
(lldb) bt
* thread #1, name = 'xdg-desktop-port', stop reason = signal SIGILL: privileged opcode
  * frame #0: 0x0000000824c5f7cf libc++.so.1`std::__1::mutex::unlock(this=<unavailable>) at mutex.cpp:39:3
    frame #1: 0x00000000002691d3 xdg-desktop-portal-hyprland`CPortalManager::startEventLoop(this=0x000021aa1001b000) at PortalManager.cpp:424:48
    frame #2: 0x0000000000268f06 xdg-desktop-portal-hyprland`CPortalManager::init(this=0x000021aa1001b000) at PortalManager.cpp:335:5
    frame #3: 0x00000000002a3f56 xdg-desktop-portal-hyprland`main(argc=1, argv=0x0000000820d386c8, envp=0x0000000820d386d8) at main.cpp:38:23
    frame #4: 0x00000008274222aa libc.so.7`__libc_start1(argc=1, argv=0x0000000820d386c8, env=0x0000000820d386d8, cleanup=<unavailable>, mainX=(xdg-desktop-portal-hyprland`main at main.cpp:15)) at libc_start1.c:157:7
    frame #5: 0x0000000000267520 xdg-desktop-portal-hyprland`_start at crt1_s.S:83
(lldb) f 1
frame #1: 0x00000000002691d3 xdg-desktop-portal-hyprland`CPortalManager::startEventLoop(this=0x000021aa1001b000) at PortalManager.cpp:424:48
   421
   422      while (1) { // dbus events
   423          // wait for being awakened
-> 424          m_sEventLoopInternals.loopRequestMutex.unlock(); // unlock, we are ready to take events
   425
   426          std::unique_lock lk(m_sEventLoopInternals.loopMutex);
   427          if (m_sEventLoopInternals.shouldProcess == false) // avoid a lock if a thread managed to request something already since we .unlock()ed

PR:		278496
Reported by:	shurd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants