8000 `om ci` sometimes crashes during UTF-8 decoding · Issue #428 · juspay/omnix · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
om ci sometimes crashes during UTF-8 decoding #428
Closed
@srid

Description

@srid

Saw this when first (but not again) building https://github.com/sciexp/python-nix-template

Image
"name" = "omnix-cli"
"operating_system" = "Mac OS 15.3.1 [64-bit]"
"crate_version" = "1.0.0"
"explanation" = """
Panic occurred in file '/private/tmp/nix-build-omnix-cli-1.0.0.drv-0/source/crates/nix_rs/src/flake/functions/core.rs' at line 99
"""
"cause" = "read stderr: Custom { kind: InvalidData, error: \"stream did not contain valid UTF-8\" }"
"method" = "Panic"
"backtrace" = """

   0: 0x1008d12e0 - __mh_execute_header
   1: 0x10046f3a8 - __mh_execute_header
   2: 0x100470b48 - __mh_execute_header
   3: 0x1005dbfc0 - __mh_execute_header
   4: 0x1007ed2a8 - __mh_execute_header
   5: 0x1007f4010 - __mh_execute_header
   6: 0x1007ea978 - __mh_execute_header
   7: 0x1007e7e68 - __mh_execute_header
   8: 0x1007e85dc - __mh_execute_header
   9: 0x1007a6178 - __mh_execute_header
  10: 0x18f2242e4 - __pthread_deallocate"""

AsyncBufReaderExt's next_line is throwing this:

let mut reader = BufReader::new(stderr_handle).lines();
while let Some(line) = reader.next_line().await.expect("read stderr") {
if !verbose {
if line.starts_with("• Added input") {
// Consume the input logging itself
reader.next_line().await.expect("read stderr");

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0