segfault when building kcmutils #1141

Closed
opened 2026-02-26 15:47:02 +00:00 by flippette · 3 comments

Describe the bug

when building libsForQt5.kcmutils from nixpkgs, during postPatchMkspecs, Lix errors out with

error: error reading daemon response: error: stream ended unexpectedly

Steps To Reproduce

nix-build -I nixpkgs=https://github.com/nixos/nixpkgs/archive/2fc6539b481e1d2569f25f8799236694180c0993.tar.gz '<nixpkgs>' -A libsForQt5.kcmutils

Expected behavior

the build should succeed.
fwiw, kdePackages.kcmutils builds just fine with the --check flag.

nix --version output

nix (Lix, like Nix) 2.94.0
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/flippette/.config/nix/nix.conf:/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/share

Additional context

this log appears in `journalctl` when Lix crashes
Feb 26 17:26:26 okaeri systemd-coredump[47963]: Process 42577 (nix) of user 0 dumped core.
                                                
                                                Module /nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix without build-id.
                                                Module libkeyutils.so.1 without build-id.
                                                Module libkrb5support.so.0 without build-id.
                                                Module libcom_err.so.3 without build-id.
                                                Module libk5crypto.so.3 without build-id.
                                                Module libkrb5.so.3 without build-id.
                                                Module libunistring.so.5 without build-id.
                                                Module libattr.so.1 without build-id.
                                                Module libncursesw.so.6 without build-id.
                                                Module libgssapi_krb5.so.2 without build-id.
                                                Module libpsl.so.5 without build-id.
                                                Module libssh2.so.1 without build-id.
                                                Module libidn2.so.0 without build-id.
                                                Module libnghttp2.so.14 without build-id.
                                                Module libaws-c-common.so.1 without build-id.
                                                Module libaws-c-sdkutils.so.1.0.0 without build-id.
                                                Module libaws-c-compression.so.1.0.0 without build-id.
                                                Module libaws-checksums.so.1.0.0 without build-id.
                                                Module libaws-c-cal.so.1.0.0 without build-id.
                                                Module libs2n.so.1 without build-id.
                                                Module libaws-c-io.so.1.0.0 without build-id.
                                                Module libaws-c-http.so.1.0.0 without build-id.
                                                Module libaws-c-auth.so.1.0.0 without build-id.
                                                Module libaws-c-s3.so.0unstable without build-id.
                                                Module libaws-c-event-stream.so.1.0.0 without build-id.
                                                Module libaws-c-mqtt.so.1.0.0 without build-id.
                                                Module libaws-crt-cpp.so without build-id.
                                                Module libxml2.so.2 without build-id.
                                                Module liblzma.so.5 without build-id.
                                                Module libz.so.1 without build-id.
                                                Module libbz2.so.1 without build-id.
                                                Module libzstd.so.1 without build-id.
                                                Module libacl.so.1 without build-id.
                                                Module libbrotlicommon.so.1 without build-id.
                                                Module liblowdown.so.2 without build-id.
                                                Module libeditline.so.1 without build-id.
                                                Module libseccomp.so.2 without build-id.
                                                Module libaws-cpp-sdk-transfer.so without build-id.
                                                Module libaws-cpp-sdk-core.so without build-id.
                                                Module libaws-cpp-sdk-s3.so without build-id.
                                                Module libarchive.so.13 without build-id.
                                                Module libcpuid.so.17 without build-id.
                                                Module libbrotlienc.so.1 without build-id.
                                                Module libbrotlidec.so.1 without build-id.
                                                Module libgcc_s.so.1 without build-id.
                                                Module libstdc++.so.6 without build-id.
                                                Module liblixcmd.so without build-id.
                                                Module liblixmain.so without build-id.
                                                Module liblixexpr.so without build-id.
                                                Module liblixfetchers.so without build-id.
                                                Module liblixstore.so without build-id.
                                                Module liblixutil.so without build-id.
                                                Stack trace of thread 42577:
                                                #0  0x0000559489bbc1b0 _ZNSt8_Rb_treeIN3nix9StorePathES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE24_M_get_insert_unique_posERKS1_ (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x14f1b0)
                                                #1  0x0000559489c16cd6 _ZNSt8_Rb_treeIN3nix9StorePathES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE16_M_insert_uniqueIRKS1_EESt4pairISt17_Rb_tree_iteratorIS1_EbEOT_ (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x1a9cd6)
                                                #2  0x00007f5f9466efa0 _ZN3nix14genGraphStringB5cxx11ERKNS_9StorePathES2_RKSt3mapIS0_St3setIS0_St4lessIS0_ESaIS0_EES6_SaISt4pairIS1_S8_EEERNS_5StoreEbbSt8optionalINS_3refINS_10FSAccessorEEEE (liblixstore.so + 0x66efa0)
                                                #3  0x00007f5f94350dc4 _ZZN3nix19LocalDerivationGoal15registerOutputsB5cxx11EvENK3$_5clERNS_5CycleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE (liblixstore.so + 0x350dc4)
                                                #4  0x00007f5f94335d2c _ZN3nix19LocalDerivationGoal15registerOutputsB5cxx11Ev (liblixstore.so + 0x335d2c)
                                                #5  0x00007f5f9429b0b3 _ZN3nix14DerivationGoal9buildDoneESt10shared_ptrINS_5ErrorEE (liblixstore.so + 0x29b0b3)
                                                #6  0x00007f5f94388502 _ZN3nix19LocalDerivationGoal14handleRawChildEv.resume (liblixstore.so + 0x388502)
                                                #7  0x00007f5f94b16c52 _ZThn16_N2kj1_13CoroutineBase4fireEv (libkj-async.so.1.1.0 + 0x41c52)
                                                #8  0x00007f5f94b17c82 _ZZN2kj1_8waitImplEONS_3OwnINS0_11PromiseNodeENS0_15PromiseDisposerEEERNS0_16ExceptionOrValueERNS_9WaitScopeENS_14SourceLocationEENK3$_2clEv (libkj-async.so.1.1.0 + 0x42c82)
                                                #9  0x00007f5f94b10d38 _ZN2kj1_8waitImplEONS_3OwnINS0_11PromiseNodeENS0_15PromiseDisposerEEERNS0_16ExceptionOrValueERNS_9WaitScopeENS_14SourceLocationE (libkj-async.so.1.1.0 + 0x3bd38)
                                                #10 0x00007f5f9440b7d2 _ZN2kj7PromiseIN5boost10outcome_v212basic_resultISt6vectorIN3nix16KeyedBuildResultESaIS6_EENSt15__exception_ptr13exception_ptrENS2_6policy21exception_ptr_rethrowIS8_SA_vEEEEE4waitERNS_9WaitScopeENS_14SourceLocationE (liblixstore.so + 0x40b7d2)
                                                #11 0x00007f5f94407548 _ZN3nix11AsyncIoRoot7blockOnIN5boost10outcome_v212basic_resultISt6vectorINS_16KeyedBuildResultESaIS6_EENSt15__exception_ptr13exception_ptrENS3_6policy21exception_ptr_rethrowIS8_SA_vEEEEEEDaON2kj7PromiseIT_EESt15source_location (liblixstore.so + 0x407548)
                                                #12 0x00007f5f943fd55a _ZN3nix6daemonL9performOpERNS_11AsyncIoRootEPNS0_12TunnelLoggerENS_3refINS_5StoreEEENS_11TrustedFlagEjRNS_6SourceERNS_12BufferedSinkENS_11WorkerProto2OpE (liblixstore.so + 0x3fd55a)
                                                #13 0x00007f5f943fbc1a _ZN3nix6daemon17processConnectionERNS_11AsyncIoRootENS_3refINS_5StoreEEERNS_8FdSourceERNS_6FdSinkENS_11TrustedFlagE (liblixstore.so + 0x3fbc1a)
                                                #14 0x0000559489b7bc94 _ZN3nixL15main_nix_daemonERNS_11AsyncIoRootENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS2_4listIS7_SaIS7_EEE (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x10ec94)
                                                #15 0x0000559489b8cddb _ZSt13__invoke_implIiRPFiRN3nix11AsyncIoRootENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS3_4listIS8_SaIS8_EEEEJS2_S8_SB_EET_St14__invoke_otherOT0_DpOT1_ (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x11fddb)
                                                #16 0x0000559489c34e3c _ZN3nix11mainWrappedERNS_11AsyncIoRootEiPPc (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x1c7e3c)
                                                #17 0x0000559489c391fb _ZNSt17_Function_handlerIFivEZ4mainE3$_0E9_M_invokeERKSt9_Any_data (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x1cc1fb)
                                                #18 0x00007f5f94be4a27 _ZN3nix16handleExceptionsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFivEE (liblixmain.so + 0x2ea27)
                                                #19 0x0000559489c38aab main (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x1cbaab)
                                                #20 0x00007f5f92c2a47e __libc_start_call_main (libc.so.6 + 0x2a47e)
                                                #21 0x00007f5f92c2a539 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a539)
                                                #22 0x0000559489b507f5 _start (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0xe37f5)
                                                
                                                Stack trace of thread 42579:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42582:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42585:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42581:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42583:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42584:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42589:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42588:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42580:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42587:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42586:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42578:
                                                #0  0x00007f5f92c4224a __sigtimedwait (libc.so.6 + 0x4224a)
                                                #1  0x00007f5f92c4187c sigwait (libc.so.6 + 0x4187c)
                                                #2  0x00007f5f94df7088 _ZN3nixL19signalHandlerThreadE10__sigset_t (liblixutil.so + 0x1f7088)
                                                #3  0x00007f5f94df7d74 _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFv10__sigset_tES3_EEEEE6_M_runEv (liblixutil.so + 0x1f7d74)
                                                #4  0x00007f5f930ed064 execute_native_thread_routine (libstdc++.so.6 + 0xed064)
                                                #5  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #6  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42590:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42592:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42591:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42594:
                                                #0  0x00007f5f92d0d40f __poll (libc.so.6 + 0x10d40f)
                                                #1  0x00007f5f94da8835 _ZN3nix12MonitorFdHup9runThreadEii (liblixutil.so + 0x1a8835)
                                                #2  0x00007f5f930ed064 execute_native_thread_routine (libstdc++.so.6 + 0xed064)
                                                #3  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #4  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                
                                                Stack trace of thread 42593:
                                                #0  0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e)
                                                #1  0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68)
                                                #2  0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8)
                                                #3  0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f)
                                                #4  0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee)
                                                #5  0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc)
                                                ELF object binary architecture: AMD x86-64

attached is a coredump of such a crash.

## Describe the bug when building `libsForQt5.kcmutils` from `nixpkgs`, during `postPatchMkspecs`, Lix errors out with ``` error: error reading daemon response: error: stream ended unexpectedly ``` ## Steps To Reproduce ``` nix-build -I nixpkgs=https://github.com/nixos/nixpkgs/archive/2fc6539b481e1d2569f25f8799236694180c0993.tar.gz '<nixpkgs>' -A libsForQt5.kcmutils ``` ## Expected behavior the build should succeed. fwiw, `kdePackages.kcmutils` builds just fine with the `--check` flag. ## `nix --version` output ``` nix (Lix, like Nix) 2.94.0 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/flippette/.config/nix/nix.conf:/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/share ``` ## Additional context <details> <summary>this log appears in `journalctl` when Lix crashes</summary> ``` Feb 26 17:26:26 okaeri systemd-coredump[47963]: Process 42577 (nix) of user 0 dumped core. Module /nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix without build-id. Module libkeyutils.so.1 without build-id. Module libkrb5support.so.0 without build-id. Module libcom_err.so.3 without build-id. Module libk5crypto.so.3 without build-id. Module libkrb5.so.3 without build-id. Module libunistring.so.5 without build-id. Module libattr.so.1 without build-id. Module libncursesw.so.6 without build-id. Module libgssapi_krb5.so.2 without build-id. Module libpsl.so.5 without build-id. Module libssh2.so.1 without build-id. Module libidn2.so.0 without build-id. Module libnghttp2.so.14 without build-id. Module libaws-c-common.so.1 without build-id. Module libaws-c-sdkutils.so.1.0.0 without build-id. Module libaws-c-compression.so.1.0.0 without build-id. Module libaws-checksums.so.1.0.0 without build-id. Module libaws-c-cal.so.1.0.0 without build-id. Module libs2n.so.1 without build-id. Module libaws-c-io.so.1.0.0 without build-id. Module libaws-c-http.so.1.0.0 without build-id. Module libaws-c-auth.so.1.0.0 without build-id. Module libaws-c-s3.so.0unstable without build-id. Module libaws-c-event-stream.so.1.0.0 without build-id. Module libaws-c-mqtt.so.1.0.0 without build-id. Module libaws-crt-cpp.so without build-id. Module libxml2.so.2 without build-id. Module liblzma.so.5 without build-id. Module libz.so.1 without build-id. Module libbz2.so.1 without build-id. Module libzstd.so.1 without build-id. Module libacl.so.1 without build-id. Module libbrotlicommon.so.1 without build-id. Module liblowdown.so.2 without build-id. Module libeditline.so.1 without build-id. Module libseccomp.so.2 without build-id. Module libaws-cpp-sdk-transfer.so without build-id. Module libaws-cpp-sdk-core.so without build-id. Module libaws-cpp-sdk-s3.so without build-id. Module libarchive.so.13 without build-id. Module libcpuid.so.17 without build-id. Module libbrotlienc.so.1 without build-id. Module libbrotlidec.so.1 without build-id. Module libgcc_s.so.1 without build-id. Module libstdc++.so.6 without build-id. Module liblixcmd.so without build-id. Module liblixmain.so without build-id. Module liblixexpr.so without build-id. Module liblixfetchers.so without build-id. Module liblixstore.so without build-id. Module liblixutil.so without build-id. Stack trace of thread 42577: #0 0x0000559489bbc1b0 _ZNSt8_Rb_treeIN3nix9StorePathES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE24_M_get_insert_unique_posERKS1_ (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x14f1b0) #1 0x0000559489c16cd6 _ZNSt8_Rb_treeIN3nix9StorePathES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE16_M_insert_uniqueIRKS1_EESt4pairISt17_Rb_tree_iteratorIS1_EbEOT_ (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x1a9cd6) #2 0x00007f5f9466efa0 _ZN3nix14genGraphStringB5cxx11ERKNS_9StorePathES2_RKSt3mapIS0_St3setIS0_St4lessIS0_ESaIS0_EES6_SaISt4pairIS1_S8_EEERNS_5StoreEbbSt8optionalINS_3refINS_10FSAccessorEEEE (liblixstore.so + 0x66efa0) #3 0x00007f5f94350dc4 _ZZN3nix19LocalDerivationGoal15registerOutputsB5cxx11EvENK3$_5clERNS_5CycleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE (liblixstore.so + 0x350dc4) #4 0x00007f5f94335d2c _ZN3nix19LocalDerivationGoal15registerOutputsB5cxx11Ev (liblixstore.so + 0x335d2c) #5 0x00007f5f9429b0b3 _ZN3nix14DerivationGoal9buildDoneESt10shared_ptrINS_5ErrorEE (liblixstore.so + 0x29b0b3) #6 0x00007f5f94388502 _ZN3nix19LocalDerivationGoal14handleRawChildEv.resume (liblixstore.so + 0x388502) #7 0x00007f5f94b16c52 _ZThn16_N2kj1_13CoroutineBase4fireEv (libkj-async.so.1.1.0 + 0x41c52) #8 0x00007f5f94b17c82 _ZZN2kj1_8waitImplEONS_3OwnINS0_11PromiseNodeENS0_15PromiseDisposerEEERNS0_16ExceptionOrValueERNS_9WaitScopeENS_14SourceLocationEENK3$_2clEv (libkj-async.so.1.1.0 + 0x42c82) #9 0x00007f5f94b10d38 _ZN2kj1_8waitImplEONS_3OwnINS0_11PromiseNodeENS0_15PromiseDisposerEEERNS0_16ExceptionOrValueERNS_9WaitScopeENS_14SourceLocationE (libkj-async.so.1.1.0 + 0x3bd38) #10 0x00007f5f9440b7d2 _ZN2kj7PromiseIN5boost10outcome_v212basic_resultISt6vectorIN3nix16KeyedBuildResultESaIS6_EENSt15__exception_ptr13exception_ptrENS2_6policy21exception_ptr_rethrowIS8_SA_vEEEEE4waitERNS_9WaitScopeENS_14SourceLocationE (liblixstore.so + 0x40b7d2) #11 0x00007f5f94407548 _ZN3nix11AsyncIoRoot7blockOnIN5boost10outcome_v212basic_resultISt6vectorINS_16KeyedBuildResultESaIS6_EENSt15__exception_ptr13exception_ptrENS3_6policy21exception_ptr_rethrowIS8_SA_vEEEEEEDaON2kj7PromiseIT_EESt15source_location (liblixstore.so + 0x407548) #12 0x00007f5f943fd55a _ZN3nix6daemonL9performOpERNS_11AsyncIoRootEPNS0_12TunnelLoggerENS_3refINS_5StoreEEENS_11TrustedFlagEjRNS_6SourceERNS_12BufferedSinkENS_11WorkerProto2OpE (liblixstore.so + 0x3fd55a) #13 0x00007f5f943fbc1a _ZN3nix6daemon17processConnectionERNS_11AsyncIoRootENS_3refINS_5StoreEEERNS_8FdSourceERNS_6FdSinkENS_11TrustedFlagE (liblixstore.so + 0x3fbc1a) #14 0x0000559489b7bc94 _ZN3nixL15main_nix_daemonERNS_11AsyncIoRootENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS2_4listIS7_SaIS7_EEE (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x10ec94) #15 0x0000559489b8cddb _ZSt13__invoke_implIiRPFiRN3nix11AsyncIoRootENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS3_4listIS8_SaIS8_EEEEJS2_S8_SB_EET_St14__invoke_otherOT0_DpOT1_ (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x11fddb) #16 0x0000559489c34e3c _ZN3nix11mainWrappedERNS_11AsyncIoRootEiPPc (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x1c7e3c) #17 0x0000559489c391fb _ZNSt17_Function_handlerIFivEZ4mainE3$_0E9_M_invokeERKSt9_Any_data (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x1cc1fb) #18 0x00007f5f94be4a27 _ZN3nix16handleExceptionsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFivEE (liblixmain.so + 0x2ea27) #19 0x0000559489c38aab main (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0x1cbaab) #20 0x00007f5f92c2a47e __libc_start_call_main (libc.so.6 + 0x2a47e) #21 0x00007f5f92c2a539 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a539) #22 0x0000559489b507f5 _start (/nix/store/vr4a39d4bw01793jl4qap839rlvmc143-lix-2.94.0/bin/nix + 0xe37f5) Stack trace of thread 42579: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42582: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42585: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42581: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42583: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42584: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42589: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42588: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42580: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42587: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42586: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42578: #0 0x00007f5f92c4224a __sigtimedwait (libc.so.6 + 0x4224a) #1 0x00007f5f92c4187c sigwait (libc.so.6 + 0x4187c) #2 0x00007f5f94df7088 _ZN3nixL19signalHandlerThreadE10__sigset_t (liblixutil.so + 0x1f7088) #3 0x00007f5f94df7d74 _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJPFv10__sigset_tES3_EEEEE6_M_runEv (liblixutil.so + 0x1f7d74) #4 0x00007f5f930ed064 execute_native_thread_routine (libstdc++.so.6 + 0xed064) #5 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #6 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42590: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42592: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42591: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42594: #0 0x00007f5f92d0d40f __poll (libc.so.6 + 0x10d40f) #1 0x00007f5f94da8835 _ZN3nix12MonitorFdHup9runThreadEii (liblixutil.so + 0x1a8835) #2 0x00007f5f930ed064 execute_native_thread_routine (libstdc++.so.6 + 0xed064) #3 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #4 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) Stack trace of thread 42593: #0 0x00007f5f92c9450e __futex_abstimed_wait_common (libc.so.6 + 0x9450e) #1 0x00007f5f92c96e68 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x96e68) #2 0x00007f5f932cb0f8 GC_help_marker (libgc.so.1 + 0x110f8) #3 0x00007f5f932cb28f GC_mark_thread (libgc.so.1 + 0x1128f) #4 0x00007f5f92c978ee start_thread (libc.so.6 + 0x978ee) #5 0x00007f5f92d1b9bc __clone3 (libc.so.6 + 0x11b9bc) ELF object binary architecture: AMD x86-64 ``` </details> attached is a coredump of such a crash.
Owner

this is fixed in lix main, where it produces the following error:

error: cycle detected in build of '/nix/store/fnc003fw0a4h6rq4vcwbydkh141r21zh-kcmutils-5.116.0.drv' in the references of output 'bin' from output 'out'.

       Shown below are the files inside the outputs leading to the cycle:
       /nix/store/kdzg8z79yc8230hrilyc4jfkv0p18iyb-kcmutils-5.116.0-bin
       └───lib/qt-5.15.18/qml/org/kde/kcmutils/libkcmutilsqmlplugin.so: …CXX_3.4.CXXABI_1.3.9./nix/store/0h0h2jb1a8zqvja7s06hcnyakmpc46ag-kcmutils-5.116.0/lib:/nix/store…
           → /nix/store/0h0h2jb1a8zqvja7s06hcnyakmpc46ag-kcmutils-5.116.0
           └───libexec/kf5/kcmdesktopfilegenerator: …rative-5.116.0/share./nix/store/kdzg8z79yc8230hrilyc4jfkv0p18iyb-kcmutils-5.116.0-bin/share./nix…
               → /nix/store/kdzg8z79yc8230hrilyc4jfkv0p18iyb-kcmutils-5.116.0-bin

2.95 should be release soonish and make that fix available, but we may also backport the fix the 2.94. @ma27?

this is fixed in lix main, where it produces the following error: ``` error: cycle detected in build of '/nix/store/fnc003fw0a4h6rq4vcwbydkh141r21zh-kcmutils-5.116.0.drv' in the references of output 'bin' from output 'out'. Shown below are the files inside the outputs leading to the cycle: /nix/store/kdzg8z79yc8230hrilyc4jfkv0p18iyb-kcmutils-5.116.0-bin └───lib/qt-5.15.18/qml/org/kde/kcmutils/libkcmutilsqmlplugin.so: …CXX_3.4.CXXABI_1.3.9./nix/store/0h0h2jb1a8zqvja7s06hcnyakmpc46ag-kcmutils-5.116.0/lib:/nix/store… → /nix/store/0h0h2jb1a8zqvja7s06hcnyakmpc46ag-kcmutils-5.116.0 └───libexec/kf5/kcmdesktopfilegenerator: …rative-5.116.0/share./nix/store/kdzg8z79yc8230hrilyc4jfkv0p18iyb-kcmutils-5.116.0-bin/share./nix… → /nix/store/kdzg8z79yc8230hrilyc4jfkv0p18iyb-kcmutils-5.116.0-bin ``` 2.95 should be release soonish and make that fix available, but we may also backport the fix the 2.94. @ma27?
Member

@pennae it's also on the 2.94 release-branch: de4cfec46a

So I think doing 2.94.1 is the quickest way to get this rolled out to users using Lix from nixpkgs?

@pennae it's also on the 2.94 release-branch: https://git.lix.systems/lix-project/lix/commit/de4cfec46a1b455e27b79d6ee3c3d9eae451a01c So I think doing 2.94.1 is the quickest way to get this rolled out to users using Lix from nixpkgs?
raito added this to the 2.94.1 milestone 2026-03-01 11:22:03 +00:00
Owner

2.94.1 is out, so we'll close this as done

2.94.1 is out, so we'll close this as done
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1141
No description provided.