Crash when activating devenv #736
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#736
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
I have a fork of the conduwuit repo, where I have a branch with a couple of small fixes. conduwuit have a flake.nix for a devenv. When I did "git rebase main", the devenv started rebuilding, and crashed. It said it was a Lix bug, and that I should report it.
Output:
Lix crashed. This is a bug. We would appreciate if you report it along with what caused it at https://git.lix.systems/lix-project/lix/issues with the following information included:
Exception: nlohmann::json_abi_v3_11_3::detail::parse_error: [json.exception.parse_error.101] parse error at line 368, column 1: syntax error while parsing object key - invalid literal; last read: '1740613216,<U+000A><'; expected string literal
Stack trace:
0# nix::printStackTrace() in /nix/store/8iv6g68lmplnj5036n52dizx5jwm9wc3-lix-2.92.0/lib/liblixutil.dylib
1# nix::(anonymous namespace)::onTerminate() in /nix/store/8iv6g68lmplnj5036n52dizx5jwm9wc3-lix-2.92.0/lib/liblixmain.dylib
2# std::__terminate(void (*)()) in /nix/store/m2jcvx713lz5zsgza5rsq7r29d792gv1-libcxx-19.1.7/lib/libc++abi.1.0.dylib
3# std::terminate() in /nix/store/m2jcvx713lz5zsgza5rsq7r29d792gv1-libcxx-19.1.7/lib/libc++abi.1.0.dylib
4# nix::handleExceptions(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, std::__1::function<void ()>) in /nix/store/8iv6g68lmplnj5036n52dizx5jwm9wc3-lix-2.92.0/lib/liblixmain.dylib
5# main in /nix/store/8iv6g68lmplnj5036n52dizx5jwm9wc3-lix-2.92.0/bin/nix
nix --version
outputnix (Lix, like Nix) 2.92.0
System type: aarch64-darwin
Additional system types: x86_64-darwin
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /Users/oddee/.config/nix/nix.conf:/Users/oddee/.nix-profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/oddee/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/8iv6g68lmplnj5036n52dizx5jwm9wc3-lix-2.92.0/share
Sounds like a duplicate of #661 unless known otherwise?
yeah, the last
<
inlast read: '1740613216,<U+000A><'
makes this sound an awful lot like a merge conflict sending the json parser off the railsYes, it was a merge conflict. But I expect to be able to have that and work through it, rather than my shell flipping up backwards.
Then yeah it's a duplicate. Maybe we need to backport that fix to 2.92 to avoid confusing more people.