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

py-django-jsonfield #13

Closed
wants to merge 5 commits into from
Closed

Conversation

splbio
Copy link
Contributor

@splbio splbio commented Sep 14, 2014

No description provided.

uqs pushed a commit that referenced this pull request Nov 24, 2015
Changelog:
- quiet batch mode (not available on OSX) - #13
- bugfixes in Napisy24 engine - #23
- icons placed at directories according to their sizes - #24
- HiDPI display awareness (OSX) - #27
- support for paths containing special characters (Windows) - #28
- bugfixed SRT conversion adding empty lines to resulting file (Windows) - #29
- application self-closing in batch mode (OSX) - #31
- added version information to .exe file (Windows) - #32
- bugfixes in file encoding detection (UTF-8 with BOM amongst others) - #34
- preserving original file encoding during subtitle format conversion
- bugfixed backup language support - #36


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@402375 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit that referenced this pull request Nov 24, 2015
Changelog:
- quiet batch mode (not available on OSX) - #13
- bugfixes in Napisy24 engine - #23
- icons placed at directories according to their sizes - #24
- HiDPI display awareness (OSX) - #27
- support for paths containing special characters (Windows) - #28
- bugfixed SRT conversion adding empty lines to resulting file (Windows) - #29
- application self-closing in batch mode (OSX) - #31
- added version information to .exe file (Windows) - #32
- bugfixes in file encoding detection (UTF-8 with BOM amongst others) - #34
- preserving original file encoding during subtitle format conversion
- bugfixed backup language support - #36
@mat813
Copy link
Member

mat813 commented Jun 9, 2016

The review is still opened, but it will be committed directly, not from a merge here.

@mat813 mat813 closed this Jun 9, 2016
uqs pushed a commit that referenced this pull request Nov 11, 2016
Changelog:
  - Fix GH issue #13: Expression does not give expected result
  - Fix GH issue #15: Including non-builtin class in names allows end user
                      to snoop
  - Fix GH issue #16: Multiple comparisons being short-circuited

Approved by:	AMDmi3 (mentor)
Differential Revision:	https://reviews.freebsd.org/D8493


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@425908 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit that referenced this pull request Nov 11, 2016
Changelog:
  - Fix GH issue #13: Expression does not give expected result
  - Fix GH issue #15: Including non-builtin class in names allows end user
                      to snoop
  - Fix GH issue #16: Multiple comparisons being short-circuited

Approved by:	AMDmi3 (mentor)
Differential Revision:	https://reviews.freebsd.org/D8493
uqs pushed a commit that referenced this pull request Apr 15, 2018
- OPTION LETTER CHANGES:
  Language         previous option         current option
  ------------------------------------------------------------
  cgm              -b dummy                -a
  epic             -A scale                -d scale
  eepic            -A scale                -d scale
  eepicemu         -A scale                -d scale
  gbx              -i on|off               -v
  ibmgl            -m mag,xoff,yoff        -m mag -x xoff -y yoff
  mp               -I file                 -d file
  ps               -S dummy                -o
- NEW FEATURES:
  o Print language-specific help text by using fig2dev -L lang -h.
  o Add option -M, multipage, for MetaPost output language.
  o Add option -P, pagemode, and -z to choose a pagesize for pdf output.
  o Add option -W (scaling of figures not possible) for tikz.
  o Add option -b, border width, for LaTeX output language.
  o Add option -f for pstex_t and pdftex_t output language.
  o Add uk_UA and ru_RU encodings for PostScript output. Ticket #12.
- BUGS FIXED:
  o Update help text: Output help for dxf and textyl output language,
    add description of -g option for Tk/Tcl and Perl/Tk output, allow -f
    option for pstex_t and pdftex_t output language.
- Debian bug numbers refer to https://bugs.debian.org/#.
  Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
  o Sanitize input. Do not segfault on malformed input files. Fixes debian
    bugs 881143, 881144, 881396, 890015, 890016, 882021 and also 882022.
  o Do not put an %%Orientation: comment into PostScript output. Some
    viewers would rotate the resulting file, others not.
  o Fix build on NetBSD, which has a _setmode() function different from
    _setmode() on Windows. Ticket #17. Also, avoid alloca(). Ticket #16.
  o tikz output: Omit the semicolon after \pgftext[..]{...};.
  o Define PostScript patterns with larger tiles, may render better. #13
  o Fix build in case libXpm is missing. Ticket #15.
  o Use netpbm programs instead of ghostscript, to produce smaller files.
  o Correctly embed eps files with binary preview (epsi, typically
    found on Microsoft systems). Also, allow to embed ps-files. Fixes
    debian bug 248807, ticket #8.
  o For compilation, do not depend on PATH_MAX being defined.


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@467411 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit that referenced this pull request Apr 15, 2018
- OPTION LETTER CHANGES:
  Language         previous option         current option
  ------------------------------------------------------------
  cgm              -b dummy                -a
  epic             -A scale                -d scale
  eepic            -A scale                -d scale
  eepicemu         -A scale                -d scale
  gbx              -i on|off               -v
  ibmgl            -m mag,xoff,yoff        -m mag -x xoff -y yoff
  mp               -I file                 -d file
  ps               -S dummy                -o
- NEW FEATURES:
  o Print language-specific help text by using fig2dev -L lang -h.
  o Add option -M, multipage, for MetaPost output language.
  o Add option -P, pagemode, and -z to choose a pagesize for pdf output.
  o Add option -W (scaling of figures not possible) for tikz.
  o Add option -b, border width, for LaTeX output language.
  o Add option -f for pstex_t and pdftex_t output language.
  o Add uk_UA and ru_RU encodings for PostScript output. Ticket #12.
- BUGS FIXED:
  o Update help text: Output help for dxf and textyl output language,
    add description of -g option for Tk/Tcl and Perl/Tk output, allow -f
    option for pstex_t and pdftex_t output language.
- Debian bug numbers refer to https://bugs.debian.org/#.
  Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
  o Sanitize input. Do not segfault on malformed input files. Fixes debian
    bugs 881143, 881144, 881396, 890015, 890016, 882021 and also 882022.
  o Do not put an %%Orientation: comment into PostScript output. Some
    viewers would rotate the resulting file, others not.
  o Fix build on NetBSD, which has a _setmode() function different from
    _setmode() on Windows. Ticket #17. Also, avoid alloca(). Ticket #16.
  o tikz output: Omit the semicolon after \pgftext[..]{...};.
  o Define PostScript patterns with larger tiles, may render better. #13
  o Fix build in case libXpm is missing. Ticket #15.
  o Use netpbm programs instead of ghostscript, to produce smaller files.
  o Correctly embed eps files with binary preview (epsi, typically
    found on Microsoft systems). Also, allow to embed ps-files. Fixes
    debian bug 248807, ticket #8.
  o For compilation, do not depend on PATH_MAX being defined.
swills pushed a commit to swills/freebsd-ports that referenced this pull request Apr 16, 2018
- OPTION LETTER CHANGES:
  Language         previous option         current option
  ------------------------------------------------------------
  cgm              -b dummy                -a
  epic             -A scale                -d scale
  eepic            -A scale                -d scale
  eepicemu         -A scale                -d scale
  gbx              -i on|off               -v
  ibmgl            -m mag,xoff,yoff        -m mag -x xoff -y yoff
  mp               -I file                 -d file
  ps               -S dummy                -o
- NEW FEATURES:
  o Print language-specific help text by using fig2dev -L lang -h.
  o Add option -M, multipage, for MetaPost output language.
  o Add option -P, pagemode, and -z to choose a pagesize for pdf output.
  o Add option -W (scaling of figures not possible) for tikz.
  o Add option -b, border width, for LaTeX output language.
  o Add option -f for pstex_t and pdftex_t output language.
  o Add uk_UA and ru_RU encodings for PostScript output. Ticket freebsd#12.
- BUGS FIXED:
  o Update help text: Output help for dxf and textyl output language,
    add description of -g option for Tk/Tcl and Perl/Tk output, allow -f
    option for pstex_t and pdftex_t output language.
- Debian bug numbers refer to https://bugs.debian.org/#.
  Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
  o Sanitize input. Do not segfault on malformed input files. Fixes debian
    bugs 881143, 881144, 881396, 890015, 890016, 882021 and also 882022.
  o Do not put an %%Orientation: comment into PostScript output. Some
    viewers would rotate the resulting file, others not.
  o Fix build on NetBSD, which has a _setmode() function different from
    _setmode() on Windows. Ticket freebsd#17. Also, avoid alloca(). Ticket freebsd#16.
  o tikz output: Omit the semicolon after \pgftext[..]{...};.
  o Define PostScript patterns with larger tiles, may render better. freebsd#13
  o Fix build in case libXpm is missing. Ticket freebsd#15.
  o Use netpbm programs instead of ghostscript, to produce smaller files.
  o Correctly embed eps files with binary preview (epsi, typically
    found on Microsoft systems). Also, allow to embed ps-files. Fixes
    debian bug 248807, ticket freebsd#8.
  o For compilation, do not depend on PATH_MAX being defined.


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@467411 35697150-7ecd-e111-bb59-0022644237b5
uqs 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


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@468502 35697150-7ecd-e111-bb59-0022644237b5
uqs 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
swills pushed a commit to swills/freebsd-ports that referenced this pull request Apr 30, 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
  freebsd#1  std::__1::operator< <char, std::__1::char_traits<char>, std::__1::allocator<char> > (__lhs=..., __rhs=...)
      at /usr/include/c++/v1/string:3827
  freebsd#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
  freebsd#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
  freebsd#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
  freebsd#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
  freebsd#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
  freebsd#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
  freebsd#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
  freebsd#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
  freebsd#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
  freebsd#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
  freebsd#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
  freebsd#13 0x00000000004073f8 in program_build_instance::build_program (this=0x809417240)
      at backend/src/gbe_bin_generater.cpp:280
  freebsd#14 0x000000000040990f in main (argc=4, argv=0x7fffffffe740) at backend/src/gbe_bin_generater.cpp:429


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@468502 35697150-7ecd-e111-bb59-0022644237b5
uqs 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


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@496941 35697150-7ecd-e111-bb59-0022644237b5
uqs 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
swills pushed a commit to swills/freebsd-ports that referenced this pull request Mar 27, 2019
dav1d 0.2.1 - by VideoLAN
Decoded 1/150 frames (0.7%)Process 84877 stopped
* thread freebsd#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 freebsd#1, name = 'dav1d', stop reason = signal SIGBUS: hardware error
  * frame #0: 0x000000080028c1f5 libdav1d.so.1`..@26262.end + 101
    frame freebsd#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 freebsd#2: 0x00000008002fd3cb libdav1d.so.1`dav1d_recon_b_inter_8bpc(t=0x0000000800e0f840, bs=BS_16x16, b=0x00007fffffffc630) at recon_tmpl.c:1510:21
    frame freebsd#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 freebsd#4: 0x00000008002b65d0 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_16X16, node=0x00000008007faf10) at decode.c:2040:17
    frame freebsd#5: 0x00000008002b68a8 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_32X32, node=0x00000008007f8e20) at decode.c:2084:21
    frame freebsd#6: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_64X64, node=0x00000008007f85a0) at decode.c:2091:21
    frame freebsd#7: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_128X128, node=0x00000008007f8380) at decode.c:2091:21
    frame freebsd#8: 0x00000008002b5fce libdav1d.so.1`dav1d_decode_tile_sbrow(t=0x0000000800e0f840) at decode.c:2542:13
    frame freebsd#9: 0x00000008002cb1ab libdav1d.so.1`dav1d_decode_frame(f=0x0000000800e00000) at decode.c:2916:29
    frame freebsd#10: 0x00000008002cd477 libdav1d.so.1`dav1d_submit_frame(c=0x00000008007f5280) at decode.c:3374:20
    frame freebsd#11: 0x00000008002b1433 libdav1d.so.1`dav1d_parse_obus(c=0x00000008007f5280, in=0x00000008007f52e8, global=0) at obu.c:1490:24
    frame freebsd#12: 0x000000080032f786 libdav1d.so.1`dav1d_get_picture(c=0x00000008007f5280, out=0x00007fffffffe048) at lib.c:359:15
    frame freebsd#13: 0x00000000002035ee dav1d`main(argc=7, argv=0x00007fffffffe250) at dav1d.c:139:20
    frame freebsd#14: 0x000000000020310f dav1d`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7

Reported by:	Mozilla


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@496941 35697150-7ecd-e111-bb59-0022644237b5
jfouquart pushed a commit to jfouquart/freebsd-ports-dank that referenced this pull request Mar 29, 2019
dav1d 0.2.1 - by VideoLAN
Decoded 1/150 frames (0.7%)Process 84877 stopped
* thread DankBSD#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 DankBSD#1, name = 'dav1d', stop reason = signal SIGBUS: hardware error
  * frame #0: 0x000000080028c1f5 libdav1d.so.1`..@26262.end + 101
    frame DankBSD#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 DankBSD#2: 0x00000008002fd3cb libdav1d.so.1`dav1d_recon_b_inter_8bpc(t=0x0000000800e0f840, bs=BS_16x16, b=0x00007fffffffc630) at recon_tmpl.c:1510:21
    frame DankBSD#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 DankBSD#4: 0x00000008002b65d0 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_16X16, node=0x00000008007faf10) at decode.c:2040:17
    frame DankBSD#5: 0x00000008002b68a8 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_32X32, node=0x00000008007f8e20) at decode.c:2084:21
    frame DankBSD#6: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_64X64, node=0x00000008007f85a0) at decode.c:2091:21
    frame DankBSD#7: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_128X128, node=0x00000008007f8380) at decode.c:2091:21
    frame freebsd#8: 0x00000008002b5fce libdav1d.so.1`dav1d_decode_tile_sbrow(t=0x0000000800e0f840) at decode.c:2542:13
    frame freebsd#9: 0x00000008002cb1ab libdav1d.so.1`dav1d_decode_frame(f=0x0000000800e00000) at decode.c:2916:29
    frame freebsd#10: 0x00000008002cd477 libdav1d.so.1`dav1d_submit_frame(c=0x00000008007f5280) at decode.c:3374:20
    frame freebsd#11: 0x00000008002b1433 libdav1d.so.1`dav1d_parse_obus(c=0x00000008007f5280, in=0x00000008007f52e8, global=0) at obu.c:1490:24
    frame freebsd#12: 0x000000080032f786 libdav1d.so.1`dav1d_get_picture(c=0x00000008007f5280, out=0x00007fffffffe048) at lib.c:359:15
    frame freebsd#13: 0x00000000002035ee dav1d`main(argc=7, argv=0x00007fffffffe250) at dav1d.c:139:20
    frame freebsd#14: 0x000000000020310f dav1d`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7

Reported by:	Mozilla
uqs 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


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@540852 35697150-7ecd-e111-bb59-0022644237b5
uqs 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
uqs 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


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@553734 35697150-7ecd-e111-bb59-0022644237b5
uqs 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
freebsd-git pushed a commit that referenced this pull request Dec 23, 2021
Something is wrong with the libunwind backend or libunwind itself
on FreeBSD 13.0 riscv64. Building the parse-zoneinfo 0.3.0 crate
crashes rustc:

 [New LWP 105346]
 [New LWP 101666]
 Core was generated by `/home/tobias/rust/bin/rustc --crate-name parse_zoneinfo src/lib.rs --error-forma'.
 Program terminated with signal SIGBUS, Bus error.
 #0  0x00000000401a6126 in libunwind::DwarfInstructions<libunwind::LocalAddressSpace, libunwind::Registers_riscv>::getSavedRegister (addressSpace=..., registers=..., cfa=<optimized out>, savedReg=...) at /usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:87
 [Current thread is 1 (LWP 105346)]
 #0  0x00000000401a6126 in libunwind::DwarfInstructions<libunwind::LocalAddressSpace, libunwind::Registers_riscv>::getSavedRegister (addressSpace=..., registers=..., cfa=<optimized out>, savedReg=...) at /usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:87
 #1  0x00000000401a5f56 in libunwind::DwarfInstructions<libunwind::LocalAddressSpace, libunwind::Registers_riscv>::stepWithDwarf (addressSpace=..., pc=<optimized out>, fdeStart=<optimized out>, registers=..., isSignalFrame=<optimized out>) at /usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:185
 #2  0x00000000401a5b3e in libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_riscv>::stepWithDwarfFDE (this=0x3fbffeeff8) at /usr/src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:929
 #3  libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_riscv>::step (this=0x3fbffeeff8) at /usr/src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:2004
 #4  0x00000000401a36e4 in _Unwind_Backtrace (callback=0x46ac1d78 <std::backtrace_rs::backtrace::libunwind::trace::trace_fn>, ref=0x3fbffef310) at /usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c:131
 #5  0x0000000046a94618 in std::backtrace_rs::backtrace::libunwind::trace () at library/std/src/../../backtrace/src/backtrace/libunwind.rs:90
 #6  std::backtrace_rs::backtrace::trace_unsynchronized<std::backtrace::{impl#4}::create::{closure#0}> () at library/std/src/../../backtrace/src/backtrace/mod.rs:66
 #7  std::backtrace::Backtrace::create () at library/std/src/backtrace.rs:327
 #8  0x0000000046a945a8 in std::backtrace::Backtrace::force_capture () at library/std/src/backtrace.rs:310
 #9  0x0000000046313904 in rustc_errors::HandlerInner::delay_good_path_bug () at compiler/rustc_errors/src/lib.rs:1120
 #10 rustc_errors::Handler::delay_good_path_bug () at compiler/rustc_errors/src/lib.rs:816
 #11 0x00000000460dd744 in rustc_middle::ty::print::pretty::trimmed_def_paths () at compiler/rustc_middle/src/ty/print/pretty.rs:2402
 #12 0x00000000453a95d4 in rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}<rustc_middle::dep_graph::dep_node::DepKind, rustc_middle::ty::context::TyCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, fn(&mut rustc_middle::ich::hcx::StableHashingContext, &std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>) -> core::option::Option<rustc_data_structures::fingerprint::Fingerprint>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/dep_graph/graph.rs:249
 #13 rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}::{closure#0}<rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/dep_graph/mod.rs:76
 #14 rustc_middle::ty::context::tls::enter_context::{closure#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #15 rustc_middle::ty::context::tls::set_tlv<rustc_middle::ty::context::tls::enter_context::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1762
 #16 rustc_middle::ty::context::tls::enter_context<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #17 rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}<rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/dep_graph/mod.rs:76
 #18 rustc_middle::ty::context::tls::with_context::{closure#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #19 rustc_middle::ty::context::tls::with_context_opt<rustc_middle::ty::context::tls::with_context::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1795
 #20 rustc_middle::ty::context::tls::with_context<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #21 rustc_middle::dep_graph::{impl#0}::with_deps<rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, std::collections::hash::map::HashMap<&rustc_middle::ty::list::List<rustc_middle::ty::subst::GenericArg>, rustc_span::def_id::CrateNum, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/dep_graph/mod.rs:73
 #22 0x000000004526755a in rustc_query_system::dep_graph::graph::DepGraph::with_task_impl<rustc_middle::dep_graph::dep_node::DepKind, rustc_middle::ty::context::TyCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, fn(&mut rustc_middle::ich::hcx::StableHashingContext, &std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>) -> core::option::Option<rustc_data_structures::fingerprint::Fingerprint>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/dep_graph/graph.rs:249
 #23 0x00000000450e0a52 in rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}<rustc_query_system::query::caches::ArenaCache<(), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/dep_graph/graph.rs:219
 #24 stacker::maybe_grow<(std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/vendor/stacker/src/lib.rs:55
 #25 rustc_data_structures::stack::ensure_sufficient_stack<(std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_data_structures/src/stack.rs:16
 #26 0x0000000044f338ee in rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}::{closure#0}<(std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at compiler/rustc_query_impl/src/plumbing.rs:137
 #27 rustc_middle::ty::context::tls::enter_context::{closure#0}<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}::{closure#0}, (std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #28 rustc_middle::ty::context::tls::set_tlv<rustc_middle::ty::context::tls::enter_context::{closure#0}, (std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1762
 #29 rustc_middle::ty::context::tls::enter_context<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}::{closure#0}, (std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #30 rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}<(std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at compiler/rustc_query_impl/src/plumbing.rs:136
 #31 rustc_middle::ty::context::tls::with_related_context::{closure#0}<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}, (std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1822
 #32 rustc_middle::ty::context::tls::with_context::{closure#0}<rustc_middle::ty::context::tls::with_related_context::{closure#0}, (std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #33 rustc_middle::ty::context::tls::with_context_opt<rustc_middle::ty::context::tls::with_context::{closure#0}, (std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1795
 #34 rustc_middle::ty::context::tls::with_context<rustc_middle::ty::context::tls::with_related_context::{closure#0}, (std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #35 rustc_middle::ty::context::tls::with_related_context<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}, (std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1819
 #36 rustc_query_impl::plumbing::{impl#2}::start_query<(std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at compiler/rustc_query_impl/src/plumbing.rs:125
 #37 rustc_query_system::query::plumbing::force_query_with_job::{closure#0}<rustc_query_system::query::caches::ArenaCache<(), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:680
 #38 rustc_query_system::query::plumbing::with_diagnostics<rustc_query_system::query::plumbing::force_query_with_job::{closure#0}, (std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:338
 #39 rustc_query_system::query::plumbing::force_query_with_job<rustc_query_system::query::caches::ArenaCache<(), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:679
 #40 0x0000000044ebf206 in rustc_query_system::query::plumbing::try_execute_query<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::ArenaCache<(), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:520
 #41 rustc_query_system::query::plumbing::get_query_impl<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::ArenaCache<(), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:730
 #42 0x0000000044feec34 in rustc_query_system::query::plumbing::get_query<rustc_query_impl::queries::trimmed_def_paths, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:853
 #43 0x00000000460caedc in rustc_middle::ty::query::TyCtxtAt::trimmed_def_paths () at compiler/rustc_middle/src/ty/query.rs:203
 #44 rustc_middle::ty::context::TyCtxt::trimmed_def_paths () at compiler/rustc_middle/src/ty/query.rs:184
 #45 rustc_middle::ty::print::pretty::PrettyPrinter::try_print_trimmed_def_path<rustc_middle::ty::print::pretty::FmtPrinter<&mut alloc::string::String>> () at compiler/rustc_middle/src/ty/print/pretty.rs:288
 #46 rustc_middle::ty::print::pretty::{impl#6}::print_def_path<&mut alloc::string::String> () at compiler/rustc_middle/src/ty/print/pretty.rs:1395
 #47 0x000000004601f77a in rustc_middle::ty::context::TyCtxt::def_path_str_with_substs () at compiler/rustc_middle/src/ty/print/pretty.rs:1363
 #48 0x000000004601f61a in rustc_middle::ty::context::TyCtxt::def_path_str () at compiler/rustc_middle/src/ty/print/pretty.rs:1356
 #49 0x0000000045bf6ff0 in rustc_lint::unused::{impl#0}::check_stmt::check_must_use_def::{closure#0} () at compiler/rustc_lint/src/unused.rs:311
 #50 core::ops::function::FnOnce::call_once<rustc_lint::unused::{impl#0}::check_stmt::check_must_use_def::{closure#0}, (rustc_middle::lint::LintDiagnosticBuilder)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/core/src/ops/function.rs:227
 #51 0x0000000045fccd16 in alloc::boxed::{impl#44}::call_once<(rustc_middle::lint::LintDiagnosticBuilder), dyn core::ops::function::FnOnce<(rustc_middle::lint::LintDiagnosticBuilder), Output=()>, alloc::alloc::Global> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/alloc/src/boxed.rs:1636
 #52 rustc_middle::lint::struct_lint_level::struct_lint_level_impl () at compiler/rustc_middle/src/lint.rs:379
 #53 0x0000000045b80c32 in rustc_middle::lint::struct_lint_level<rustc_lint::unused::{impl#0}::check_stmt::check_must_use_def::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/lint.rs:381
 #54 rustc_middle::ty::context::TyCtxt::struct_span_lint_hir<rustc_span::span_encoding::Span, rustc_lint::unused::{impl#0}::check_stmt::check_must_use_def::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:2690
 #55 rustc_lint::context::{impl#5}::lookup<rustc_span::span_encoding::Span, rustc_lint::unused::{impl#0}::check_stmt::check_must_use_def::{closure#0}> () at compiler/rustc_lint/src/context.rs:842
 #56 rustc_lint::context::LintContext::struct_span_lint<rustc_lint::context::LateContext, rustc_span::span_encoding::Span, rustc_lint::unused::{impl#0}::check_stmt::check_must_use_def::{closure#0}> () at compiler/rustc_lint/src/context.rs:795
 #57 rustc_lint::unused::{impl#0}::check_stmt::check_must_use_def () at compiler/rustc_lint/src/unused.rs:307
 #58 0x0000000045b7f9e6 in rustc_lint::unused::{impl#0}::check_stmt () at compiler/rustc_lint/src/unused.rs:122
 #59 0x0000000045bae62a in rustc_lint::{impl#10}::check_stmt () at compiler/rustc_lint/src/passes.rs:116
 #60 rustc_lint::late::{impl#1}::visit_stmt::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:184
 #61 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_stmt::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #62 rustc_lint::late::{impl#1}::visit_stmt<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:183
 #63 0x0000000045bb0e22 in rustc_hir::intravisit::walk_block<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1094
 #64 0x0000000045bb980c in rustc_lint::late::{impl#1}::visit_expr::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:175
 #65 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_expr::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #66 rustc_lint::late::{impl#1}::visit_expr<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:173
 #67 rustc_hir::intravisit::walk_expr<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1166
 #68 0x0000000045bbd528 in rustc_lint::late::{impl#1}::visit_expr::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:175
 #69 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_expr::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #70 rustc_lint::late::{impl#1}::visit_expr<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:173
 #71 rustc_hir::intravisit::walk_stmt<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1104
 #72 0x0000000045bae648 in rustc_lint::late::{impl#1}::visit_stmt<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:186
 #73 0x0000000045bb0e22 in rustc_hir::intravisit::walk_block<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1094
 #74 0x0000000045bb980c in rustc_lint::late::{impl#1}::visit_expr::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:175
 #75 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_expr::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #76 rustc_lint::late::{impl#1}::visit_expr<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:173
 #77 rustc_hir::intravisit::walk_expr<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1166
 #78 0x0000000045bbd528 in rustc_lint::late::{impl#1}::visit_expr::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:175
 #79 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_expr::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #80 rustc_lint::late::{impl#1}::visit_expr<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:173
 #81 rustc_hir::intravisit::walk_stmt<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1104
 #82 0x0000000045bae648 in rustc_lint::late::{impl#1}::visit_stmt<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:186
 #83 0x0000000045bb0e22 in rustc_hir::intravisit::walk_block<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1094
 #84 0x0000000045bb0e84 in rustc_lint::late::{impl#1}::visit_expr::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:175
 #85 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_expr::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #86 rustc_lint::late::{impl#1}::visit_expr<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:173
 #87 rustc_hir::intravisit::walk_block<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1095
 #88 0x0000000045bbd528 in rustc_lint::late::{impl#1}::visit_expr::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:175
 #89 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_expr::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #90 rustc_lint::late::{impl#1}::visit_expr<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:173
 #91 rustc_hir::intravisit::walk_stmt<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1104
 #92 0x0000000045bae648 in rustc_lint::late::{impl#1}::visit_stmt<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:186
 #93 0x0000000045bb0e22 in rustc_hir::intravisit::walk_block<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1094
 #94 0x0000000045bb798c in rustc_lint::late::{impl#1}::visit_expr::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:175
 #95 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_expr::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #96 rustc_lint::late::{impl#1}::visit_expr<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:173
 #97 rustc_hir::intravisit::walk_arm<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1244
 #98 0x0000000045bb9926 in rustc_lint::late::{impl#1}::visit_arm<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:277
 #99 rustc_hir::intravisit::walk_expr<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1175
 #100 0x0000000045bb92ae in rustc_hir::intravisit::walk_expr<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at compiler/rustc_lint/src/late.rs:244
 #101 0x0000000045bb0e84 in rustc_lint::late::{impl#1}::visit_expr::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:175
 #102 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_expr::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #103 rustc_lint::late::{impl#1}::visit_expr<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:173
 #104 rustc_hir::intravisit::walk_block<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1095
 #105 0x0000000045bb8ec8 in rustc_lint::late::{impl#1}::visit_expr::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:175
 #106 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_expr::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #107 rustc_lint::late::{impl#1}::visit_expr<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:173
 #108 rustc_hir::intravisit::walk_body<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:500
 #109 0x0000000045bb62ae in rustc_lint::late::{impl#1}::visit_body<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:136
 #110 rustc_lint::late::{impl#1}::visit_nested_body<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:118
 #111 rustc_hir::intravisit::walk_fn<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:980
 #112 0x0000000045bae77a in rustc_lint::late::{impl#1}::visit_fn<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:203
 #113 0x0000000045bb2826 in rustc_hir::intravisit::walk_impl_item<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1041
 #114 0x0000000045bac652 in rustc_lint::late::{impl#1}::visit_impl_item::{closure#0}::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:323
 #115 rustc_lint::late::LateContextAndPass::with_param_env<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_impl_item::{closure#0}::{closure#0}> () at compiler/rustc_lint/src/late.rs:75
 #116 rustc_lint::late::{impl#1}::visit_impl_item::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:321
 #117 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_impl_item::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #118 rustc_lint::late::{impl#1}::visit_impl_item<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:320
 #119 rustc_hir::intravisit::Visitor::visit_nested_impl_item<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:281
 #120 0x0000000045bbd140 in rustc_hir::intravisit::walk_impl_item_ref<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:1070
 #121 rustc_hir::intravisit::Visitor::visit_impl_item_ref<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:400
 #122 rustc_hir::intravisit::walk_item<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:625
 #123 0x0000000045babbe8 in rustc_lint::late::{impl#1}::visit_item::{closure#0}::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:148
 #124 rustc_lint::late::LateContextAndPass::with_param_env<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_item::{closure#0}::{closure#0}> () at compiler/rustc_lint/src/late.rs:75
 #125 rustc_lint::late::{impl#1}::visit_item::{closure#0}<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:146
 #126 rustc_lint::late::LateContextAndPass::with_lint_attrs<rustc_lint::BuiltinCombinedModuleLateLintPass, rustc_lint::late::{impl#1}::visit_item::{closure#0}> () at compiler/rustc_lint/src/late.rs:63
 #127 rustc_lint::late::{impl#1}::visit_item<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:145
 #128 rustc_hir::intravisit::Visitor::visit_nested_item<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:265
 #129 0x0000000045baf9f6 in rustc_hir::intravisit::walk_mod<rustc_lint::late::LateContextAndPass<rustc_lint::BuiltinCombinedModuleLateLintPass>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_hir/src/intravisit.rs:494
 #130 rustc_lint::late::LateContextAndPass::process_mod<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:81
 #131 rustc_lint::late::late_lint_mod_pass<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:400
 #132 rustc_lint::late::late_lint_mod<rustc_lint::BuiltinCombinedModuleLateLintPass> () at compiler/rustc_lint/src/late.rs:420
 #133 0x00000000453a73cc in rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}<rustc_middle::dep_graph::dep_node::DepKind, rustc_middle::ty::context::TyCtxt, rustc_span::def_id::LocalDefId, (), fn(&mut rustc_middle::ich::hcx::StableHashingContext, &()) -> core::option::Option<rustc_data_structures::fingerprint::Fingerprint>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/dep_graph/graph.rs:249
 #134 rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}::{closure#0}<rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/dep_graph/mod.rs:76
 #135 rustc_middle::ty::context::tls::enter_context::{closure#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #136 rustc_middle::ty::context::tls::set_tlv<rustc_middle::ty::context::tls::enter_context::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1762
 #137 rustc_middle::ty::context::tls::enter_context<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #138 rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}<rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/dep_graph/mod.rs:76
 #139 rustc_middle::ty::context::tls::with_context::{closure#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #140 rustc_middle::ty::context::tls::with_context_opt<rustc_middle::ty::context::tls::with_context::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1795
 #141 rustc_middle::ty::context::tls::with_context<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #142 rustc_middle::dep_graph::{impl#0}::with_deps<rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/dep_graph/mod.rs:73
 #143 0x000000004524f7e4 in rustc_query_system::dep_graph::graph::DepGraph::with_task_impl<rustc_middle::dep_graph::dep_node::DepKind, rustc_middle::ty::context::TyCtxt, rustc_span::def_id::LocalDefId, (), fn(&mut rustc_middle::ich::hcx::StableHashingContext, &()) -> core::option::Option<rustc_data_structures::fingerprint::Fingerprint>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/dep_graph/graph.rs:249
 #144 0x00000000450d2d16 in rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}<rustc_query_system::query::caches::DefaultCache<rustc_span::def_id::LocalDefId, ()>, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/dep_graph/graph.rs:219
 #145 stacker::maybe_grow<((), rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/vendor/stacker/src/lib.rs:55
 #146 rustc_data_structures::stack::ensure_sufficient_stack<((), rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_data_structures/src/stack.rs:16
 #147 0x0000000044f30852 in rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}::{closure#0}<((), rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at compiler/rustc_query_impl/src/plumbing.rs:137
 #148 rustc_middle::ty::context::tls::enter_context::{closure#0}<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}::{closure#0}, ((), rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #149 rustc_middle::ty::context::tls::set_tlv<rustc_middle::ty::context::tls::enter_context::{closure#0}, ((), rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1762
 #150 rustc_middle::ty::context::tls::enter_context<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}::{closure#0}, ((), rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #151 rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}<((), rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at compiler/rustc_query_impl/src/plumbing.rs:136
 #152 rustc_middle::ty::context::tls::with_related_context::{closure#0}<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}, ((), rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1822
 #153 rustc_middle::ty::context::tls::with_context::{closure#0}<rustc_middle::ty::context::tls::with_related_context::{closure#0}, ((), rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #154 rustc_middle::ty::context::tls::with_context_opt<rustc_middle::ty::context::tls::with_context::{closure#0}, ((), rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1795
 #155 rustc_middle::ty::context::tls::with_context<rustc_middle::ty::context::tls::with_related_context::{closure#0}, ((), rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #156 rustc_middle::ty::context::tls::with_related_context<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}, ((), rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1819
 #157 rustc_query_impl::plumbing::{impl#2}::start_query<((), rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at compiler/rustc_query_impl/src/plumbing.rs:125
 #158 rustc_query_system::query::plumbing::force_query_with_job::{closure#0}<rustc_query_system::query::caches::DefaultCache<rustc_span::def_id::LocalDefId, ()>, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:680
 #159 rustc_query_system::query::plumbing::with_diagnostics<rustc_query_system::query::plumbing::force_query_with_job::{closure#0}, ((), rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:338
 #160 rustc_query_system::query::plumbing::force_query_with_job<rustc_query_system::query::caches::DefaultCache<rustc_span::def_id::LocalDefId, ()>, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:679
 #161 0x0000000044edfa78 in rustc_query_system::query::plumbing::try_execute_query<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<rustc_span::def_id::LocalDefId, ()>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:520
 #162 rustc_query_system::query::plumbing::get_query_impl<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<rustc_span::def_id::LocalDefId, ()>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:730
 #163 0x0000000044fe144e in rustc_query_system::query::plumbing::get_query<rustc_query_impl::queries::lint_mod, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:853
 #164 0x000000004248a5f2 in rustc_middle::ty::query::TyCtxtEnsure::lint_mod () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/query.rs:174
 #165 rustc_lint::late::check_crate::{closure#1}::{closure#0}::{closure#0}<rustc_lint::BuiltinCombinedLateLintPass, rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_lint/src/late.rs:506
 #166 core::iter::traits::iterator::Iterator::for_each::call::{closure#0}<(&rustc_span::def_id::LocalDefId, &rustc_hir::hir::ModuleItems), rustc_lint::late::check_crate::{closure#1}::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/core/src/iter/traits/iterator.rs:730
 #167 core::iter::traits::iterator::Iterator::fold<alloc::collections::btree::map::Iter<rustc_span::def_id::LocalDefId, rustc_hir::hir::ModuleItems>, (), core::iter::traits::iterator::Iterator::for_each::call::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/core/src/iter/traits/iterator.rs:2170
 #168 core::iter::traits::iterator::Iterator::for_each<alloc::collections::btree::map::Iter<rustc_span::def_id::LocalDefId, rustc_hir::hir::ModuleItems>, rustc_lint::late::check_crate::{closure#1}::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/core/src/iter/traits/iterator.rs:733
 #169 rustc_lint::late::check_crate::{closure#1}::{closure#0}<rustc_lint::BuiltinCombinedLateLintPass, rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_lint/src/late.rs:505
 #170 rustc_data_structures::profiling::VerboseTimingGuard::run<(), rustc_lint::late::check_crate::{closure#1}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_data_structures/src/profiling.rs:611
 #171 rustc_session::session::Session::time<(), rustc_lint::late::check_crate::{closure#1}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_session/src/utils.rs:16
 #172 rustc_lint::late::check_crate::{closure#1}<rustc_lint::BuiltinCombinedLateLintPass, rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_lint/src/late.rs:503
 #173 rustc_data_structures::sync::join<rustc_lint::late::check_crate::{closure#0}, rustc_lint::late::check_crate::{closure#1}, (), ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_data_structures/src/sync.rs:119
 #174 0x000000004251c530 in rustc_lint::late::check_crate<rustc_lint::BuiltinCombinedLateLintPass, rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_lint/src/late.rs:495
 #175 rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}::{closure#0} () at compiler/rustc_interface/src/passes.rs:958
 #176 rustc_data_structures::profiling::VerboseTimingGuard::run<(), rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_data_structures/src/profiling.rs:611
 #177 rustc_session::session::Session::time<(), rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_session/src/utils.rs:16
 #178 rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3} () at compiler/rustc_interface/src/passes.rs:957
 #179 core::ops::function::FnOnce::call_once<rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/core/src/ops/function.rs:227
 #180 core::panic::unwind_safe::{impl#23}::call_once<(), rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/core/src/panic/unwind_safe.rs:271
 #181 std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}>, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/std/src/panicking.rs:403
 #182 std::panicking::try<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/std/src/panicking.rs:367
 #183 std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#0}::{closure#3}>, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/std/src/panic.rs:129
 #184 rustc_interface::passes::analysis::{closure#5}::{closure#0} () at compiler/rustc_interface/src/passes.rs:944
 #185 core::ops::function::FnOnce::call_once<rustc_interface::passes::analysis::{closure#5}::{closure#0}, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/core/src/ops/function.rs:227
 #186 core::panic::unwind_safe::{impl#23}::call_once<(), rustc_interface::passes::analysis::{closure#5}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/core/src/panic/unwind_safe.rs:271
 #187 0x000000004248927c in std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#0}>, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/std/src/panicking.rs:403
 #188 std::panicking::try<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#0}>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/std/src/panicking.rs:367
 #189 std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#0}>, ()> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/library/std/src/panic.rs:129
 #190 rustc_interface::passes::analysis::{closure#5} () at compiler/rustc_interface/src/passes.rs:940
 #191 rustc_data_structures::profiling::VerboseTimingGuard::run<(), rustc_interface::passes::analysis::{closure#5}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_data_structures/src/profiling.rs:611
 #192 rustc_session::session::Session::time<(), rustc_interface::passes::analysis::{closure#5}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_session/src/utils.rs:16
 #193 0x00000000424b5c14 in rustc_interface::passes::analysis () at compiler/rustc_interface/src/passes.rs:939
 #194 0x00000000453ac0f2 in rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}<rustc_middle::dep_graph::dep_node::DepKind, rustc_middle::ty::context::TyCtxt, (), core::result::Result<(), rustc_errors::ErrorReported>, fn(&mut rustc_middle::ich::hcx::StableHashingContext, &core::result::Result<(), rustc_errors::ErrorReported>) -> core::option::Option<rustc_data_structures::fingerprint::Fingerprint>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/dep_graph/graph.rs:249
 #195 rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}::{closure#0}<rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/dep_graph/mod.rs:76
 #196 rustc_middle::ty::context::tls::enter_context::{closure#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #197 rustc_middle::ty::context::tls::set_tlv<rustc_middle::ty::context::tls::enter_context::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1762
 #198 rustc_middle::ty::context::tls::enter_context<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #199 rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}<rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/dep_graph/mod.rs:76
 #200 rustc_middle::ty::context::tls::with_context::{closure#0}<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #201 rustc_middle::ty::context::tls::with_context_opt<rustc_middle::ty::context::tls::with_context::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1795
 #202 rustc_middle::ty::context::tls::with_context<rustc_middle::dep_graph::{impl#0}::with_deps::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #203 rustc_middle::dep_graph::{impl#0}::with_deps<rustc_query_system::dep_graph::graph::{impl#3}::with_task_impl::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/dep_graph/mod.rs:73
 #204 0x0000000045250fd0 in rustc_query_system::dep_graph::graph::DepGraph::with_task_impl<rustc_middle::dep_graph::dep_node::DepKind, rustc_middle::ty::context::TyCtxt, (), core::result::Result<(), rustc_errors::ErrorReported>, fn(&mut rustc_middle::ich::hcx::StableHashingContext, &core::result::Result<(), rustc_errors::ErrorReported>) -> core::option::Option<rustc_data_structures::fingerprint::Fingerprint>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/dep_graph/graph.rs:249
 #205 0x00000000450d8ee0 in rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}<rustc_query_system::query::caches::DefaultCache<(), core::result::Result<(), rustc_errors::ErrorReported>>, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/dep_graph/graph.rs:219
 #206 stacker::maybe_grow<(core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/vendor/stacker/src/lib.rs:55
 #207 rustc_data_structures::stack::ensure_sufficient_stack<(core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_data_structures/src/stack.rs:16
 #208 0x0000000044f45290 in rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}::{closure#0}<(core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at compiler/rustc_query_impl/src/plumbing.rs:137
 #209 rustc_middle::ty::context::tls::enter_context::{closure#0}<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}::{closure#0}, (core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #210 rustc_middle::ty::context::tls::set_tlv<rustc_middle::ty::context::tls::enter_context::{closure#0}, (core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1762
 #211 rustc_middle::ty::context::tls::enter_context<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}::{closure#0}, (core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #212 rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}<(core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at compiler/rustc_query_impl/src/plumbing.rs:136
 #213 rustc_middle::ty::context::tls::with_related_context::{closure#0}<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}, (core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1822
 #214 rustc_middle::ty::context::tls::with_context::{closure#0}<rustc_middle::ty::context::tls::with_related_context::{closure#0}, (core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #215 rustc_middle::ty::context::tls::with_context_opt<rustc_middle::ty::context::tls::with_context::{closure#0}, (core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1795
 #216 rustc_middle::ty::context::tls::with_context<rustc_middle::ty::context::tls::with_related_context::{closure#0}, (core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1806
 #217 rustc_middle::ty::context::tls::with_related_context<rustc_query_impl::plumbing::{impl#2}::start_query::{closure#0}, (core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1819
 #218 rustc_query_impl::plumbing::{impl#2}::start_query<(core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::force_query_with_job::{closure#0}::{closure#0}> () at compiler/rustc_query_impl/src/plumbing.rs:125
 #219 rustc_query_system::query::plumbing::force_query_with_job::{closure#0}<rustc_query_system::query::caches::DefaultCache<(), core::result::Result<(), rustc_errors::ErrorReported>>, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:680
 #220 rustc_query_system::query::plumbing::with_diagnostics<rustc_query_system::query::plumbing::force_query_with_job::{closure#0}, (core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex)> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:338
 #221 rustc_query_system::query::plumbing::force_query_with_job<rustc_query_system::query::caches::DefaultCache<(), core::result::Result<(), rustc_errors::ErrorReported>>, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:679
 #222 0x0000000044ee890a in rustc_query_system::query::plumbing::try_execute_query<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<(), core::result::Result<(), rustc_errors::ErrorReported>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:520
 #223 rustc_query_system::query::plumbing::get_query_impl<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<(), core::result::Result<(), rustc_errors::ErrorReported>>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:730
 #224 0x0000000044fd9df6 in rustc_query_system::query::plumbing::get_query<rustc_query_impl::queries::analysis, rustc_query_impl::plumbing::QueryCtxt> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_query_system/src/query/plumbing.rs:853
 #225 0x00000000423e8ec2 in rustc_middle::ty::query::TyCtxtAt::analysis () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/query.rs:203
 #226 rustc_middle::ty::context::TyCtxt::analysis () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/query.rs:184
 #227 rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3} () at compiler/rustc_driver/src/lib.rs:384
 #228 rustc_interface::passes::{impl#0}::enter::{closure#0}<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_interface/src/passes.rs:779
 #229 rustc_middle::ty::context::tls::enter_context::{closure#0}<rustc_interface::passes::{impl#0}::enter::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #230 rustc_middle::ty::context::tls::set_tlv<rustc_middle::ty::context::tls::enter_context::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1762
 #231 rustc_middle::ty::context::tls::enter_context<rustc_interface::passes::{impl#0}::enter::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_middle/src/ty/context.rs:1778
 #232 rustc_interface::passes::QueryContext::enter<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_interface/src/passes.rs:779
 #233 0x00000000423b376e in rustc_driver::run_compiler::{closure#1}::{closure#2} () at compiler/rustc_driver/src/lib.rs:383
 #234 rustc_interface::interface::Compiler::enter<rustc_driver::run_compiler::{closure#1}::{closure#2}, core::result::Result<core::option::Option<rustc_interface::queries::Linker>, rustc_errors::ErrorReported>> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_interface/src/queries.rs:390
 #235 0x000000004236f7e0 in rustc_driver::run_compiler::{closure#1} () at compiler/rustc_driver/src/lib.rs:312
 #236 rustc_interface::interface::create_compiler_and_run::{closure#0}<core::result::Result<(), rustc_errors::ErrorReported>, rustc_driver::run_compiler::{closure#1}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_interface/src/interface.rs:209
 #237 rustc_span::with_source_map<core::result::Result<(), rustc_errors::ErrorReported>, rustc_interface::interface::create_compiler_and_run::{closure#0}> () at /wrkdirs/usr/ports/lang/rust-bootstrap/work-riscv64/rustc-1.56.0-src/compiler/rustc_span/src/lib.rs:932
 #238 0x00000000423b4d00 in rustc_interface::interface::create_…
freebsd-git 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
freebsd-git 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

(cherry picked from commit 78fbf8e)
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