Build fails on ARM64

Anything and everything to do with DCP-o-matic.
djkoelkast
Posts: 8
Joined: Thu Nov 14, 2024 8:12 am

Build fails on ARM64

Post by djkoelkast »

We're talking Ubuntu 20.04 on ARM64.

Following the instructions I found out that libdcp didn't want to build, unless with --disable-examples --disable-dumpimage
The same as here: https://dcpomatic.com/mantis/view.php?id=2867

I was able to install/build the rest.

When configuring dcp-o-matic I get:

Code: Select all

[ 87/584] Compiling src/lib/upmixer_b.cc
../src/lib/util.cc: In function ‘std::__cxx11::string careful_string_filter(std:                                                            :__cxx11::string)’:
../src/lib/util.cc:795:24: error: ambiguous overload for ‘operator+=’ (operand t                                                            ypes are ‘icu_66::UnicodeString’ and ‘wchar_t’)
    transliterated_more += replacement->second;
    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/lib/util.cc:76:
/usr/include/unicode/unistr.h:4647:1: note: candidate: ‘icu_66::UnicodeString& i                                                            cu_66::UnicodeString::operator+=(char16_t)’
 UnicodeString::operator+= (char16_t ch)
 ^~~~~~~~~~~~~
/usr/include/unicode/unistr.h:4651:1: note: candidate: ‘icu_66::UnicodeString& i                                                            cu_66::UnicodeString::operator+=(UChar32)’
 UnicodeString::operator+= (UChar32 ch) {
 ^~~~~~~~~~~~~
/usr/include/unicode/unistr.h:4656:1: note: candidate: ‘icu_66::UnicodeString& i                                                            cu_66::UnicodeString::operator+=(const icu_66::UnicodeString&)’
 UnicodeString::operator+= (const UnicodeString& srcText)
 ^~~~~~~~~~~~~

Waf: Leaving directory `/home/jetson/Downloads/dcpomatic/build'
Build failed
 -> task in 'libdcpomatic2' failed with exit status 1 (run with -v to display more information)
I hope to get some help here.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Build fails on ARM64

Post by carl »

You could try changing line 795 of util.cc to

Code: Select all

transliterated_more += static_cast<UChar32>(replacement->second);
djkoelkast
Posts: 8
Joined: Thu Nov 14, 2024 8:12 am

Re: Build fails on ARM64

Post by djkoelkast »

Thank you, I was able to complete the build and the program seems to work, but as soon as I try to make the DCP the program just quits.
Is there any form of log I can look at to know what might have caused this?
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Build fails on ARM64

Post by carl »

Not really, you could run it under gdb

Code: Select all

gdb dcpomatic2 | tee log
then if it crashes, type

Code: Select all

thread apply all bt
quit
and there should be a "log" file that might have some information.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Build fails on ARM64

Post by carl »

What hardware are you running on, out of interest?
djkoelkast
Posts: 8
Joined: Thu Nov 14, 2024 8:12 am

Re: Build fails on ARM64

Post by djkoelkast »

Code: Select all

GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.2) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from dcpomatic2...
(No debugging symbols found in dcpomatic2)
(gdb) thread apply all bt
(gdb) quit
When I make DCP in batch encoder then the batch encoder just quits. I also tried reducing threads to 2, tried another drive (or the internal) with the same results.

This is the hardware: NVidia Jetson Nano (the original 4gb one)

https://developer.nvidia.com/embedded/l ... ano-devkit
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Build fails on ARM64

Post by carl »

Sorry, I missed a step

Code: Select all

run
thread apply all bt
quit
DCP-o-matic should start after you type run and then if it crashes you get the prompt back and you can do the other two commands.
djkoelkast
Posts: 8
Joined: Thu Nov 14, 2024 8:12 am

Re: Build fails on ARM64

Post by djkoelkast »

The program didn't quit this time (but it didn't start to encode either).

Code: Select all

(gdb) run
Starting program: /usr/local/bin/dcpomatic2 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fa8d86620 (LWP 25848)]
[New Thread 0x7fa3ffe620 (LWP 25849)]
[New Thread 0x7fa37fd620 (LWP 25850)]
[New Thread 0x7fa2ffc620 (LWP 25851)]
[Thread 0x7fa2ffc620 (LWP 25851) exited]
[New Thread 0x7fa2ffc620 (LWP 25852)]
[New Thread 0x7fa27fb620 (LWP 25853)]
[New Thread 0x7fa1ed6620 (LWP 25854)]
[New Thread 0x7fa16d5620 (LWP 25855)]
[New Thread 0x7fa0ed4620 (LWP 25856)]
[New Thread 0x7f7bffe620 (LWP 25857)]
[Thread 0x7fa37fd620 (LWP 25850) exited]
[New Thread 0x7fa37fd620 (LWP 25858)]
[New Thread 0x7f7b7fd620 (LWP 25859)]
[New Thread 0x7f7aaf3620 (LWP 25887)]
[New Thread 0x7f7a2f2620 (LWP 25888)]
[New Thread 0x7f79af1620 (LWP 25889)]
[New Thread 0x7f792f0620 (LWP 25890)]
[New Thread 0x7f78aef620 (LWP 25891)]
[New Thread 0x7f67ffe620 (LWP 25892)]
[New Thread 0x7f677fd620 (LWP 25893)]
[New Thread 0x7f66ffc620 (LWP 25894)]
[New Thread 0x7f667fb620 (LWP 25895)]
[New Thread 0x7f65ffa620 (LWP 25896)]
[New Thread 0x7f657f9620 (LWP 25897)]
[New Thread 0x7f64ff8620 (LWP 25898)]
[New Thread 0x7f5fffe620 (LWP 25899)]
[New Thread 0x7f5f7fd620 (LWP 25900)]
[New Thread 0x7f5effc620 (LWP 25901)]
[New Thread 0x7f5e7fb620 (LWP 25902)]
[Thread 0x7f7a2f2620 (LWP 25888) exited]
[Thread 0x7f79af1620 (LWP 25889) exited]
[Thread 0x7f7aaf3620 (LWP 25887) exited]
[Thread 0x7f792f0620 (LWP 25890) exited]
[Thread 0x7f78aef620 (LWP 25891) exited]
[Thread 0x7f67ffe620 (LWP 25892) exited]
[Thread 0x7f677fd620 (LWP 25893) exited]
[Thread 0x7f66ffc620 (LWP 25894) exited]
[New Thread 0x7f66ffc620 (LWP 25903)]
[New Thread 0x7f677fd620 (LWP 25904)]
[New Thread 0x7f67ffe620 (LWP 25905)]
[New Thread 0x7f78aef620 (LWP 25906)]
[New Thread 0x7f7aaf3620 (LWP 25907)]
[New Thread 0x7f7a2f2620 (LWP 25908)]
[New Thread 0x7f79af1620 (LWP 25909)]
[New Thread 0x7f792f0620 (LWP 25910)]
[Thread 0x7f657f9620 (LWP 25897) exited]
[Thread 0x7f65ffa620 (LWP 25896) exited]
[Thread 0x7f667fb620 (LWP 25895) exited]
[Thread 0x7f64ff8620 (LWP 25898) exited]
[Thread 0x7f5f7fd620 (LWP 25900) exited]
[Thread 0x7f5effc620 (LWP 25901) exited]
[Thread 0x7f5fffe620 (LWP 25899) exited]
[Thread 0x7f5e7fb620 (LWP 25902) exited]
[New Thread 0x7f5e7fb620 (LWP 25911)]
[New Thread 0x7f5effc620 (LWP 25912)]
[New Thread 0x7f5f7fd620 (LWP 25913)]
[New Thread 0x7f5fffe620 (LWP 25914)]
[New Thread 0x7f667fb620 (LWP 25915)]
[New Thread 0x7f65ffa620 (LWP 25916)]
[New Thread 0x7f657f9620 (LWP 25917)]
[New Thread 0x7f64ff8620 (LWP 25918)]
[New Thread 0x7f5dffa620 (LWP 25919)]
[New Thread 0x7f5d7f9620 (LWP 25921)]
[New Thread 0x7f5cff8620 (LWP 25922)]
[Thread 0x7f5cff8620 (LWP 25922) exited]
[Thread 0x7fa0ed4620 (LWP 25856) exited]
[New Thread 0x7fa0ed4620 (LWP 25924)]
[New Thread 0x7f13ffe620 (LWP 25925)]
[New Thread 0x7f137fd620 (LWP 25926)]
[New Thread 0x7f12ffc620 (LWP 25927)]
[New Thread 0x7f127fb620 (LWP 25928)]
[New Thread 0x7f11ffa620 (LWP 25929)]
[New Thread 0x7f117f9620 (LWP 25930)]
[New Thread 0x7f10ff8620 (LWP 25931)]
[New Thread 0x7f05ffe620 (LWP 25932)]
[New Thread 0x7f057fd620 (LWP 25933)]
[New Thread 0x7f04ffc620 (LWP 25934)]
[New Thread 0x7effffe620 (LWP 25935)]
[New Thread 0x7eff7fd620 (LWP 25936)]
[New Thread 0x7efeffc620 (LWP 25937)]
[New Thread 0x7efe7fb620 (LWP 25938)]
[New Thread 0x7efdffa620 (LWP 25939)]
[New Thread 0x7efd7f9620 (LWP 25940)]
[Thread 0x7f11ffa620 (LWP 25929) exited]
[Thread 0x7f127fb620 (LWP 25928) exited]
[Thread 0x7f12ffc620 (LWP 25927) exited]
[Thread 0x7f137fd620 (LWP 25926) exited]
[Thread 0x7f13ffe620 (LWP 25925) exited]
[Thread 0x7f117f9620 (LWP 25930) exited]
[Thread 0x7f10ff8620 (LWP 25931) exited]
[Thread 0x7f05ffe620 (LWP 25932) exited]
[New Thread 0x7f05ffe620 (LWP 25941)]
[New Thread 0x7f10ff8620 (LWP 25942)]
[New Thread 0x7f117f9620 (LWP 25943)]
[New Thread 0x7f11ffa620 (LWP 25944)]
[New Thread 0x7f13ffe620 (LWP 25945)]
[New Thread 0x7f137fd620 (LWP 25946)]
[New Thread 0x7f12ffc620 (LWP 25947)]
[New Thread 0x7f127fb620 (LWP 25948)]
[Thread 0x7f057fd620 (LWP 25933) exited]
[Thread 0x7f04ffc620 (LWP 25934) exited]
[Thread 0x7eff7fd620 (LWP 25936) exited]
[Thread 0x7efeffc620 (LWP 25937) exited]
[Thread 0x7effffe620 (LWP 25935) exited]
[Thread 0x7efe7fb620 (LWP 25938) exited]
[Thread 0x7efdffa620 (LWP 25939) exited]
[Thread 0x7efd7f9620 (LWP 25940) exited]
[Thread 0x7f05ffe620 (LWP 25941) exited]
[Thread 0x7f10ff8620 (LWP 25942) exited]
[Thread 0x7f117f9620 (LWP 25943) exited]
[Thread 0x7f11ffa620 (LWP 25944) exited]
[Thread 0x7f13ffe620 (LWP 25945) exited]
[Thread 0x7f137fd620 (LWP 25946) exited]
[Thread 0x7f12ffc620 (LWP 25947) exited]
[Thread 0x7f127fb620 (LWP 25948) exited]
[New Thread 0x7f127fb620 (LWP 25949)]
[New Thread 0x7f12ffc620 (LWP 25950)]
[New Thread 0x7f137fd620 (LWP 25951)]
[New Thread 0x7f13ffe620 (LWP 25952)]
[Thread 0x7f13ffe620 (LWP 25952) exited]
[Thread 0x7f137fd620 (LWP 25951) exited]
[Thread 0x7f12ffc620 (LWP 25950) exited]
[Thread 0x7f127fb620 (LWP 25949) exited]
[Thread 0x7fa0ed4620 (LWP 25924) exited]
[New Thread 0x7fa0ed4620 (LWP 25953)]
[New Thread 0x7f13ffe620 (LWP 25954)]
[New Thread 0x7f137fd620 (LWP 25955)]
[New Thread 0x7f12ffc620 (LWP 25956)]
[New Thread 0x7f127fb620 (LWP 25957)]
[New Thread 0x7f11ffa620 (LWP 25958)]
[New Thread 0x7f117f9620 (LWP 25959)]
[New Thread 0x7f10ff8620 (LWP 25960)]
[New Thread 0x7f05ffe620 (LWP 25961)]
[New Thread 0x7f057fd620 (LWP 25962)]
[New Thread 0x7f04ffc620 (LWP 25963)]
[New Thread 0x7effffe620 (LWP 25964)]
[New Thread 0x7eff7fd620 (LWP 25965)]
[New Thread 0x7efeffc620 (LWP 25966)]

Thread 89 "encode-worker" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7effffe620 (LWP 25964)]
0x0000007fb26cdba8 in ?? () from /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) 
[K(gdb) thread appl [Ky all bt

Thread 91 (Thread 0x7efeffc620 (LWP 25966)):
#0  0x0000007fb26c95a0 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#1  0x0000007fb26ced04 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#2  0x0000007fb26a8c68 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#3  0x0000007fb26a8fa4 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#4  0x0000007fb26af730 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#5  0x0000007fb6cb2224 in dcp::compress_j2k(std::shared_ptr<dcp::OpenJPEGImage const>, int, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) () at /usr/local/lib/libdcp-1.0.so
#6  0x0000007fb720cc5c in DCPVideo::encode_locally() const () at /usr/local/lib/libdcpomatic2.so
#7  0x0000007fb72eef58 in J2KEncoder::encoder_thread(boost::optional<EncodeServerDescription>) () at /usr/local/lib/libdcpomatic2.so
#8  0x0000007fb72f1e78 in boost::_mfi::mf1<void, J2KEncoder, boost::optional<EncodeServerDescription> >::operator()(J2KEncoder*, boost::optional<EncodeServerDescription>) const () at /usr/local/lib/libdcpomatic2.so
#9  0x0000007fb72f2014 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, J2KEncoder, boost::optional<EncodeServerDescription> >, boost::_bi::list2<boost::_bi::value<J2KEncoder*>, boost::_bi::value<boost::optional<EncodeServerDescription> > > > >::run() () at /usr/local/lib/libdcpomatic2.so
#10 0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#11 0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#12 0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 90 (Thread 0x7eff7fd620 (LWP 25965)):
#0  0x0000007fb26c9b50 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#1  0x0000007fb26ced04 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#2  0x0000007fb26a8c68 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#3  0x0000007fb26a8fa4 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#4  0x0000007fb26af730 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#5  0x0000007fb6cb2224 in dcp::compress_j2k(std::shared_ptr<dcp::OpenJPEGImage const>, int, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) () at /usr/local/lib/libdcp-1.0.so
#6  0x0000007fb720cc5c in DCPVideo::encode_locally() const () at /usr/local/lib/libdcpomatic2.so
#7  0x0000007fb72eef58 in J2KEncoder::encoder_thread(boost::optional<EncodeServerDescription>) () at /usr/local/lib/libdcpomatic2.so
#8  0x0000007fb72f1e78 in boost::_mfi::mf1<void, J2KEncoder, boost::optional<EncodeServerDescription> >::operator()(J2KEncoder*, boost::optional<EncodeServerDescription>) const () at /usr/local/lib/libdcpomatic2.so
#9  0x0000007fb72f2014 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, J2KEncoder, boost::optional<EncodeServerDescription> >, boost::_bi::list2<boost::_bi::value<J2KEncoder*>, boost::_bi::value<boost::optional<EncodeServerDescription> > > > >::run() () at /usr/local/lib/libdcpomatic2.so
#10 0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#11 0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
--Type <RET> for more, q to quit, c to continue without paging--
#12 0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 89 (Thread 0x7effffe620 (LWP 25964)):
#0  0x0000007fb26cdba8 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#1  0x0000007fb26ced50 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#2  0x0000007fb26a8c68 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#3  0x0000007fb26a8fa4 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#4  0x0000007fb26af730 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#5  0x0000007fb6cb2224 in dcp::compress_j2k(std::shared_ptr<dcp::OpenJPEGImage const>, int, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) () at /usr/local/lib/libdcp-1.0.so
#6  0x0000007fb720cc5c in DCPVideo::encode_locally() const () at /usr/local/lib/libdcpomatic2.so
#7  0x0000007fb72eef58 in J2KEncoder::encoder_thread(boost::optional<EncodeServerDescription>) () at /usr/local/lib/libdcpomatic2.so
#8  0x0000007fb72f1e78 in boost::_mfi::mf1<void, J2KEncoder, boost::optional<EncodeServerDescription> >::operator()(J2KEncoder*, boost::optional<EncodeServerDescription>) const () at /usr/local/lib/libdcpomatic2.so
#9  0x0000007fb72f2014 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, J2KEncoder, boost::optional<EncodeServerDescription> >, boost::_bi::list2<boost::_bi::value<J2KEncoder*>, boost::_bi::value<boost::optional<EncodeServerDescription> > > > >::run() () at /usr/local/lib/libdcpomatic2.so
#10 0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#11 0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#12 0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 88 (Thread 0x7f04ffc620 (LWP 25963)):
#0  0x0000007fb26c99c8 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#1  0x0000007fb26ced04 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#2  0x0000007fb26a8c68 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#3  0x0000007fb26a8fa4 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#4  0x0000007fb26af730 in  () at /usr/lib/aarch64-linux-gnu/libopenjp2.so.7
#5  0x0000007fb6cb2224 in dcp::compress_j2k(std::shared_ptr<dcp::OpenJPEGImage const>, int, int, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) () at /usr/local/lib/libdcp-1.0.so
#6  0x0000007fb720cc5c in DCPVideo::encode_locally() const () at /usr/local/lib/libdcpomatic2.so
#7  0x0000007fb72eef58 in J2KEncoder::encoder_thread(boost::optional<EncodeServerDescription>) () at /usr/local/lib/libdcpomatic2.so
#8  0x0000007fb72f1e78 in boost::_mfi::mf1<void, J2KEncoder, boost::optional<EncodeServerDescription> >::operator()(J2KEncoder*, boost::optional<EncodeServerDescription>) const () at /usr/local/lib/libdcpomatic2.so
#9  0x0000007fb72f2014 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, J2KEncoder, boost::optional<EncodeServerDescription> >, boost::_bi::list2<boost::_bi::value<J2KEncoder*>, boost::_bi::value<boost::optional<EncodeServerDescription> > > > >::run() () at /usr/local/lib/libdcpomatic2.so
#10 0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
--Type <RET> for more, q to quit, c to continue without paging--
#11 0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#12 0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 87 (Thread 0x7f057fd620 (LWP 25962)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555a94e74) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555a94e18, cond=0x5555a94e48) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555a94e48, mutex=0x5555a94e18) at pthread_cond_wait.c:647
#3  0x0000007fb717afec in void boost::condition_variable_any::wait<boost::unique_lock<boost::mutex> >(boost::unique_lock<boost::mutex>&) () at /usr/local/lib/libdcpomatic2.so
#4  0x0000007fb73b5f2c in Writer::thread() () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 86 (Thread 0x7f05ffe620 (LWP 25961)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555a95200) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555a951a8, cond=0x5555a951d8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555a951d8, mutex=0x5555a951a8) at pthread_cond_wait.c:647
#3  0x0000007fb717afec in void boost::condition_variable_any::wait<boost::unique_lock<boost::mutex> >(boost::unique_lock<boost::mutex>&) () at /usr/local/lib/libdcpomatic2.so
#4  0x0000007fb72eb964 in J2KEncoder::encode(std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator>) () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb71f11e4 in DCPEncoder::video(std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator>) () at /usr/local/lib/libdcpomatic2.so
#6  0x0000007fb71f4900 in boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, DCPEncoder, std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator> >, boost::_bi::list3<boost::_bi::value<DCPEncoder*>, boost::arg<1>, boost::arg<2> > >, void, std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator> >::invoke(boost::detail::function::function_buffer&, std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator>) () at /usr/local/lib/libdcpomatic2.so
#7  0x0000007fb7336d10 in boost::signals2::detail::signal_impl<void (std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator>), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator>)>, boost::function<void (boost::signals2::connection const&, std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator>)>, boost::signals2::mutex>::operator()(std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator>) () at /usr/local/lib/libdcpomatic2.so
#8  0x0000007fb731f0bc in Player::do_emit_video(std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator>) () at /usr/local/lib/libdcpomatic2.so
--Type <RET> for more, q to quit, c to continue without paging--c
#9  0x0000007fb731f380 in Player::emit_video(std::shared_ptr<PlayerVideo>, dcpomatic::Time<dcpomatic::DCPTimeDifferentiator, dcpomatic::ContentTimeDifferentiator>) () at /usr/local/lib/libdcpomatic2.so
#10 0x0000007fb731fce0 in Player::video(std::weak_ptr<Piece>, ContentVideo) () at /usr/local/lib/libdcpomatic2.so
#11 0x0000007fb7328f80 in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf2<void, Player, std::weak_ptr<Piece>, ContentVideo>, boost::_bi::list3<boost::_bi::value<Player*>, boost::_bi::value<std::weak_ptr<Piece> >, boost::arg<1> > >, void, ContentVideo>::invoke(boost::detail::function::function_buffer&, ContentVideo) () at /usr/local/lib/libdcpomatic2.so
#12 0x0000007fb73a959c in boost::signals2::detail::signal_impl<void (ContentVideo), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (ContentVideo)>, boost::function<void (boost::signals2::connection const&, ContentVideo)>, boost::signals2::mutex>::operator()(ContentVideo) () at /usr/local/lib/libdcpomatic2.so
#13 0x0000007fb73a9a1c in boost::signals2::signal<void (ContentVideo), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (ContentVideo)>, boost::function<void (boost::signals2::connection const&, ContentVideo)>, boost::signals2::mutex>::operator()(ContentVideo) () at /usr/local/lib/libdcpomatic2.so
#14 0x0000007fb73a7bd4 in VideoDecoder::emit(std::shared_ptr<Film const>, std::shared_ptr<ImageProxy const>, long) () at /usr/local/lib/libdcpomatic2.so
#15 0x0000007fb72603d8 in FFmpegDecoder::process_video_frame() () at /usr/local/lib/libdcpomatic2.so
#16 0x0000007fb7260664 in FFmpegDecoder::decode_and_process_video_packet(AVPacket*) () at /usr/local/lib/libdcpomatic2.so
#17 0x0000007fb7264528 in FFmpegDecoder::pass() () at /usr/local/lib/libdcpomatic2.so
#18 0x0000007fb7324184 in Player::pass() () at /usr/local/lib/libdcpomatic2.so
#19 0x0000007fb71f1a68 in DCPEncoder::go() () at /usr/local/lib/libdcpomatic2.so
#20 0x0000007fb7388d20 in TranscodeJob::run() () at /usr/local/lib/libdcpomatic2.so
#21 0x0000007fb72dbfec in Job::run_wrapper() () at /usr/local/lib/libdcpomatic2.so
#22 0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#23 0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#24 0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 85 (Thread 0x7f10ff8620 (LWP 25960)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555ae5010) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555ae5078, cond=0x5555ae4fe8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555ae4fe8, mutex=0x5555ae5078) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 84 (Thread 0x7f117f9620 (LWP 25959)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555ae4e50) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555ae4eb8, cond=0x5555ae4e28) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555ae4e28, mutex=0x5555ae4eb8) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 83 (Thread 0x7f11ffa620 (LWP 25958)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555ae4c94) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555ae4cf8, cond=0x5555ae4c68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555ae4c68, mutex=0x5555ae4cf8) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 82 (Thread 0x7f127fb620 (LWP 25957)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555ae4ad4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555ae4b38, cond=0x5555ae4aa8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555ae4aa8, mutex=0x5555ae4b38) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 81 (Thread 0x7f12ffc620 (LWP 25956)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555ae4914) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555ae4978, cond=0x5555ae48e8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555ae48e8, mutex=0x5555ae4978) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 80 (Thread 0x7f137fd620 (LWP 25955)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555ae4754) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555ae47b8, cond=0x5555ae4728) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555ae4728, mutex=0x5555ae47b8) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 79 (Thread 0x7f13ffe620 (LWP 25954)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555ae4594) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555ae45f8, cond=0x5555ae4568) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555ae4568, mutex=0x5555ae45f8) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 78 (Thread 0x7fa0ed4620 (LWP 25953)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555ae43d4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555ae4438, cond=0x5555ae43a8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555ae43a8, mutex=0x5555ae4438) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 47 (Thread 0x7f5d7f9620 (LWP 25921)):
#0  syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
#1  0x0000007fb33da784 in g_cond_wait_until () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x0000007fb335b44c in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#3  0x0000007fb335bad0 in g_async_queue_timeout_pop () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#4  0x0000007fb33b5ef4 in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#5  0x0000007fb33b5484 in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb33d98f0) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 46 (Thread 0x7f5dffa620 (LWP 25919)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555651de94) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555651de28, cond=0x555651de68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555651de68, mutex=0x555651de28) at pthread_cond_wait.c:647
#3  0x00000055555c57c8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4  0x0000007fb717a6f0 in boost::asio::io_context::run() () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 45 (Thread 0x7f64ff8620 (LWP 25918)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555651de94) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555651de28, cond=0x555651de68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555651de68, mutex=0x555651de28) at pthread_cond_wait.c:647
#3  0x00000055555c57c8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4  0x0000007fb717a6f0 in boost::asio::io_context::run() () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 44 (Thread 0x7f657f9620 (LWP 25917)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555651de90) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555651de28, cond=0x555651de68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555651de68, mutex=0x555651de28) at pthread_cond_wait.c:647
#3  0x00000055555c57c8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4  0x0000007fb717a6f0 in boost::asio::io_context::run() () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 43 (Thread 0x7f65ffa620 (LWP 25916)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555651de90) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555651de28, cond=0x555651de68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555651de68, mutex=0x555651de28) at pthread_cond_wait.c:647
#3  0x00000055555c57c8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4  0x0000007fb717a6f0 in boost::asio::io_context::run() () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 42 (Thread 0x7f667fb620 (LWP 25915)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555651de90) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555651de28, cond=0x555651de68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555651de68, mutex=0x555651de28) at pthread_cond_wait.c:647
#3  0x00000055555c57c8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4  0x0000007fb717a6f0 in boost::asio::io_context::run() () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 41 (Thread 0x7f5fffe620 (LWP 25914)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555651de94) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555651de28, cond=0x555651de68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555651de68, mutex=0x555651de28) at pthread_cond_wait.c:647
#3  0x00000055555c57c8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4  0x0000007fb717a6f0 in boost::asio::io_context::run() () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 40 (Thread 0x7f5f7fd620 (LWP 25913)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555651de94) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555651de28, cond=0x555651de68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555651de68, mutex=0x555651de28) at pthread_cond_wait.c:647
#3  0x00000055555c57c8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4  0x0000007fb717a6f0 in boost::asio::io_context::run() () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 39 (Thread 0x7f5effc620 (LWP 25912)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x555651de90) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555651de28, cond=0x555651de68) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555651de68, mutex=0x555651de28) at pthread_cond_wait.c:647
#3  0x00000055555c57c8 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4  0x0000007fb717a6f0 in boost::asio::io_context::run() () at /usr/local/lib/libdcpomatic2.so
#5  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#6  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#7  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 38 (Thread 0x7f5e7fb620 (LWP 25911)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55565361b4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5556536158, cond=0x5556536188) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5556536188, mutex=0x5556536158) at pthread_cond_wait.c:647
#3  0x0000007fb717339c in Butler::thread() () at /usr/local/lib/libdcpomatic2.so
#4  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#5  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#6  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 37 (Thread 0x7f792f0620 (LWP 25910)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55560f8e80) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55560f8ee8, cond=0x55560f8e58) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55560f8e58, mutex=0x55560f8ee8) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 36 (Thread 0x7f79af1620 (LWP 25909)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55560f8cc0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55560f8d28, cond=0x55560f8c98) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55560f8c98, mutex=0x55560f8d28) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 35 (Thread 0x7f7a2f2620 (LWP 25908)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55560f8b00) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55560f8b68, cond=0x55560f8ad8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55560f8ad8, mutex=0x55560f8b68) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 34 (Thread 0x7f7aaf3620 (LWP 25907)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55560f8944) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55560f89a8, cond=0x55560f8918) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55560f8918, mutex=0x55560f89a8) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 33 (Thread 0x7f78aef620 (LWP 25906)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55560f8784) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55560f87e8, cond=0x55560f8758) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55560f8758, mutex=0x55560f87e8) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 32 (Thread 0x7f67ffe620 (LWP 25905)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55560f85c4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55560f8628, cond=0x55560f8598) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55560f8598, mutex=0x55560f8628) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 31 (Thread 0x7f677fd620 (LWP 25904)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55560f8404) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55560f8468, cond=0x55560f83d8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55560f83d8, mutex=0x55560f8468) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 30 (Thread 0x7f66ffc620 (LWP 25903)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55560f8240) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55560f82a8, cond=0x55560f8218) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55560f8218, mutex=0x55560f82a8) at pthread_cond_wait.c:647
#3  0x0000007fb453e1d4 in  () at /usr/lib/aarch64-linux-gnu/libavcodec.so.58
#4  0x0000007fb5c7f624 in start_thread (arg=0x7fb453dfc8) at pthread_create.c:477
#5  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 13 (Thread 0x7f7b7fd620 (LWP 25859)):
#0  0x0000007fb5bd6754 in __GI_epoll_pwait (epfd=<optimized out>, events=0x7f7b7fc378, maxevents=128, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
#1  0x00000055555c3dfc in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x00000055555c5514 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x0000007fb7234db0 in EncodeServerFinder::listen_thread() () at /usr/local/lib/libdcpomatic2.so
#4  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#5  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#6  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 12 (Thread 0x7fa37fd620 (LWP 25858)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x7fa37fcaf0, clockid=<optimized out>, expected=0, futex_word=0x555601ebb0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa37fcaf0, clockid=<optimized out>, mutex=0x555601eb58, cond=0x555601eb88) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555601eb88, mutex=0x555601eb58, abstime=0x7fa37fcaf0) at pthread_cond_wait.c:665
#3  0x0000007fb7236d40 in EncodeServerFinder::search_thread() () at /usr/local/lib/libdcpomatic2.so
#4  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#5  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#6  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 11 (Thread 0x7f7bffe620 (LWP 25857)):
#0  0x0000007fb5bcd098 in __GI___poll (fds=0x7f74001cf0, nfds=3, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000007faaa9d6f8 in  () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#2  0x0000007faaa8fa98 in pa_mainloop_poll () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#3  0x0000007faaa90164 in pa_mainloop_iterate () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#4  0x0000007faaa90230 in pa_mainloop_run () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#5  0x0000007faaa9d648 in  () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#6  0x0000007faaa3709c in  () at /usr/lib/aarch64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#7  0x0000007fb5c7f624 in start_thread (arg=0x7faaa37028) at pthread_create.c:477
#8  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 9 (Thread 0x7fa16d5620 (LWP 25855)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555e9cbe0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555e9cb88, cond=0x5555e9cbb8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555e9cbb8, mutex=0x5555e9cb88) at pthread_cond_wait.c:647
#3  0x0000007fb738e8e4 in UpdateChecker::thread() () at /usr/local/lib/libdcpomatic2.so
#4  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#5  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#6  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 8 (Thread 0x7fa1ed6620 (LWP 25854)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555870124) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55558700c8, cond=0x55558700f8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55558700f8, mutex=0x55558700c8) at pthread_cond_wait.c:647
#3  0x0000007fb72e4b5c in JobManager::scheduler() () at /usr/local/lib/libdcpomatic2.so
#4  0x0000007fb5ada624 in  () at /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0
#5  0x0000007fb5c7f624 in start_thread (arg=0x7fb5ada598) at pthread_create.c:477
#6  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 7 (Thread 0x7fa27fb620 (LWP 25853)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5555cf2260) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55559d7630, cond=0x5555cf2238) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555cf2238, mutex=0x55559d7630) at pthread_cond_wait.c:647
#3  0x0000007fb566c9bc in RtApiPulse::callbackEvent() () at /usr/local/lib/librtaudio.so.6
#4  0x0000007fb566ce90 in pulseaudio_callback(void*) () at /usr/local/lib/librtaudio.so.6
#5  0x0000007fb5c7f624 in start_thread (arg=0x7fb566ce60 <pulseaudio_callback(void*)>) at pthread_create.c:477
#6  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 6 (Thread 0x7fa2ffc620 (LWP 25852)):
#0  0x0000007fb5bcd098 in __GI___poll (fds=0x7f98003f70, nfds=3, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000007faaa9d6f8 in  () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#2  0x0000007faaa8fa98 in pa_mainloop_poll () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#3  0x0000007faaa90164 in pa_mainloop_iterate () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#4  0x0000007faaa90230 in pa_mainloop_run () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#5  0x0000007faaa9d648 in  () at /usr/lib/aarch64-linux-gnu/libpulse.so.0
#6  0x0000007faaa3709c in  () at /usr/lib/aarch64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#7  0x0000007fb5c7f624 in start_thread (arg=0x7faaa37028) at pthread_create.c:477
#8  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 3 (Thread 0x7fa3ffe620 (LWP 25849)):
#0  0x0000007fb5bcd098 in __GI___poll (fds=0x5555899e90, nfds=2, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000007fb338bb38 in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x0000007fb338bef8 in g_main_loop_run () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#3  0x0000007fb174827c in  () at /usr/lib/aarch64-linux-gnu/libgio-2.0.so.0
#4  0x0000007fb33b5484 in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#5  0x0000007fb5c7f624 in start_thread (arg=0x7fb33d98f0) at pthread_create.c:477
#6  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 2 (Thread 0x7fa8d86620 (LWP 25848)):
#0  0x0000007fb5bcd098 in __GI___poll (fds=0x5555887b30, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000007fb338bb38 in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x0000007fb338bc5c in g_main_context_iteration () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#3  0x0000007fb338bcac in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#4  0x0000007fb33b5484 in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#5  0x0000007fb5c7f624 in start_thread (arg=0x7fb33d98f0) at pthread_create.c:477
#6  0x0000007fb5bd662c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 1 (Thread 0x7fa9472010 (LWP 25841)):
#0  0x0000007fb5bcd098 in __GI___poll (fds=0x5555c1b740, nfds=3, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000007fb338bb38 in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x0000007fb338bef8 in g_main_loop_run () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#3  0x0000007fb1cd858c in gtk_main () at /usr/lib/aarch64-linux-gnu/libgtk-3.so.0
#4  0x0000007fb659ad4c in wxGUIEventLoop::DoRun() () at /usr/local/lib/libwx_gtk3u_core-3.1.so.5
#5  0x0000007fb609b040 in wxEventLoopBase::Run() () at /usr/local/lib/libwx_baseu-3.1.so.5
#6  0x0000007fb6066b88 in wxAppConsoleBase::MainLoop() () at /usr/local/lib/libwx_baseu-3.1.so.5
#7  0x0000007fb60e2a04 in wxEntry(int&, wchar_t**) () at /usr/local/lib/libwx_baseu-3.1.so.5
#8  0x00000055555b9cec in main ()
(gdb) quit
A debugging session is active.

	Inferior 1 [process 25841] will be killed.

Quit anyway? (y or n) y
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Build fails on ARM64

Post by carl »

Did you build your open copy of libopenjpeg?
djkoelkast
Posts: 8
Joined: Thu Nov 14, 2024 8:12 am

Re: Build fails on ARM64

Post by djkoelkast »

I followed this instructions:

https://dcpomatic.com/building/linux

Could it be I missed a step or did something wrong, and if so, can I still fix it or do I need to rebuild?