pijul_org / pijul

#348 pijul clone https://nest.pijul.com/pijul_org/pijul - panic

Opened by tomcumming, on December 13, 2018
Closed
tomcumming commented on December 13, 2018
DEBUG 2018-12-13T22:44:01Z: pijul::commands::remote: hash = 8Fviczf3R1U8ncVX2qJDjVP3iNg1hj4Zj5S33EFqpsK5njQyFsDWXbxLVdsSxi57xbfZtJm6yd1qkC3fV1a6RFUx\r                                                                                                                                                                                                          +
DEBUG 2018-12-13T22:44:01Z: pijul::commands::remote: downloading uri "https://nest.pijul.com/pijul_org/pijul/.pijul/patches/8Fviczf3R1U8ncVX2qJDjVP3iNg1hj4Zj5S33EFqpsK5njQyFsDWXbxLVdsSxi57xbfZtJm6yd1qkC3fV1a6RFUx.gz"\r                                                                                                                                      +
DEBUG 2018-12-13T22:44:01Z: pijul::commands::remote: "https://nest.pijul.com/pijul_org/pijul/.pijul/patches/8Fviczf3R1U8ncVX2qJDjVP3iNg1hj4Zj5S33EFqpsK5njQyFsDWXbxLVdsSxi57xbfZtJm6yd1qkC3fV1a6RFUx.sig"\r                                                                                                                                                     +
DEBUG 2018-12-13T22:44:01Z: hyper::client::pool: reuse idle connection for "https://nest.pijul.com"\r                                                                                                                                                                                                                                                           +
DEBUG 2018-12-13T22:44:01Z: hyper::client::connect::dns: resolving host="nest.pijul.com"\r                                                                                                                                                                                                                                                                      +
DEBUG 2018-12-13T22:44:01Z: hyper::proto::h1::io: flushed 244 bytes\r                                                                                                                                                                                                                                                                                           +
DEBUG 2018-12-13T22:44:01Z: hyper::client::connect::http: connecting to 35.195.10.148:443\r                                                                                                                                                                                                                                                                     +
DEBUG 2018-12-13T22:44:01Z: hyper::proto::h1::io: read 4942 bytes\r                                                                                                                                                                                                                                                                                             +
DEBUG 2018-12-13T22:44:01Z: hyper::proto::h1::io: parsed 3 headers\r                                                                                                                                                                                                                                                                                            +
DEBUG 2018-12-13T22:44:01Z: hyper::proto::h1::conn: incoming body is content-length (4824 bytes)\r                                                                                                                                                                                                                                                              +
DEBUG 2018-12-13T22:44:01Z: reqwest::async_impl::response: Response: '200 OK' for https://nest.pijul.com/pijul_org/pijul/.pijul/patches/8Fviczf3R1U8ncVX2qJDjVP3iNg1hj4Zj5S33EFqpsK5njQyFsDWXbxLVdsSxi57xbfZtJm6yd1qkC3fV1a6RFUx.gz\r                                                                                                                           +
DEBUG 2018-12-13T22:44:01Z: hyper::proto::h1::conn: incoming body completed\r                                                                                                                                                                                                                                                                                   +
DEBUG 2018-12-13T22:44:01Z: hyper::client::pool: reuse idle connection for "https://nest.pijul.com"\r                                                                                                                                                                                                                                                           +
DEBUG 2018-12-13T22:44:01Z: hyper::proto::h1::io: flushed 226 bytes\r                                                                                                                                                                                                                                                                                           +
DEBUG 2018-12-13T22:44:01Z: hyper::proto::h1::io: read 0 bytes\r                                                                                                                                                                                                                                                                                                +
DEBUG 2018-12-13T22:44:01Z: hyper::proto::h1::conn: parse error (parsed HTTP message from remote is incomplete) with 0 bytes\r                                                                                                                                                                                                                                  +
DEBUG 2018-12-13T22:44:01Z: hyper::proto::h1::dispatch: read_head error: parsed HTTP message from remote is incomplete\r                                                                                                                                                                                                                                        +
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Inner { kind: Hyper(Error { kind: Incomplete }), url: Some("https://nest.pijul.com/pijul_org/pijul/.pijul/patches/8Fviczf3R1U8ncVX2qJDjVP3iNg1hj4Zj5S33EFqpsK5njQyFsDWXbxLVdsSxi57xbfZtJm6yd1qkC3fV1a6RFUx.sig") }', DEBUG 2018-12-13T22:44:01Z: tokio_reactor: dropping I/O source: 1\r+
libcore/result.rs:1009:5\r                                                                                                                                                                                                                                                                                                                                      +
stack backtrace:\r                                                                                                                                                                                                                                                                                                                                              +
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace\r                                                                                                                                                                                                                                                                                               +
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49\r                                                                                                                                                                                                                                                                                                 +
   1: std::sys_common::backtrace::print\r                                                                                                                                                                                                                                                                                                                       +
             at libstd/sys_common/backtrace.rs:71\r                                                                                                                                                                                                                                                                                                             +
             at libstd/sys_common/backtrace.rs:59\r                                                                                                                                                                                                                                                                                                             +
   2: std::panicking::default_hook::{{closure}}\r                                                                                                                                                                                                                                                                                                               +
             at libstd/panicking.rs:211\r                                                                                                                                                                                                                                                                                                                       +
   3: std::panicking::default_hook\r                                                                                                                                                                                                                                                                                                                            +
             at libstd/panicking.rs:227\r                                                                                                                                                                                                                                                                                                                       +
   4: std::panicking::rust_panic_with_hook\r                                                                                                                                                                                                                                                                                                                    +
             at libstd/panicking.rs:476\r                                                                                                                                                                                                                                                                                                                       +
   5: std::panicking::continue_panic_fmt\r                                                                                                                                                                                                                                                                                                                      +
             at libstd/panicking.rs:390\r                                                                                                                                                                                                                                                                                                                       +
   6: rust_begin_unwind\r                                                                                                                                                                                                                                                                                                                                       +
             at libstd/panicking.rs:325\r                                                                                                                                                                                                                                                                                                                       +
   7: core::panicking::panic_fmt\r                                                                                                                                                                                                                                                                                                                              +
             at libcore/panicking.rs:77\r                                                                                                                                                                                                                                                                                                                       +
   8: core::result::unwrap_failed\r                                                                                                                                                                                                                                                                                                                             +
   9: pijul::commands::remote::Session::download_patch\r                                                                                                                                                                                                                                                                                                        +
  10: pijul::commands::remote::Session::pull\r                                                                                                                                                                                                                                                                                                                  +
  11: pijul::main\r                                                                                                                                                                                                                                                                                                                                             +
  12: std::rt::lang_start::{{closure}}\r                                                                                                                                                                                                                                                                                                                        +
  13: std::panicking::try::do_call\r                                                                                                                                                                                                                                                                                                                            +
             at libstd/rt.rs:59\r                                                                                                                                                                                                                                                                                                                               +
             at libstd/panicking.rs:310\r                                                                                                                                                                                                                                                                                                                       +
  14: __rust_maybe_catch_panic\r                                                                                                                                                                                                                                                                                                                                +
             at libpanic_unwind/lib.rs:102\r                                                                                                                                                                                                                                                                                                                    +
  15: std::rt::lang_start_internal\r                                                                                                                                                                                                                                                                                                                            +
             at libstd/panicking.rs:289\r                                                                                                                                                                                                                                                                                                                       +
             at libstd/panic.rs:392\r                                                                                                                                                                                                                                                                                                                           +
             at libstd/rt.rs:58\r                                                                                                                                                                                                                                                                                                                               +
  16: main\r                                                                                                                                                                                                                                                                                                                                                    +
  17: __libc_start_main\r                                                                                                                                                                                                                                                                                                                                       +
  18: _start\r                                                                                                                                                                                                                                                                                                                                                  +
```\r                                                                                                                                                                                                                                                                                                                                                           +
\r                                                                                                                                                                                                                                                                                                                                                              +
Fails at around 8% every time, but it is not failing for the same file every time.\r                                                                                                                                                                                                                                                                            +
\r                                                                                                                                                                                                                                                                                                                                                              +
I am running a Ubuntu 18.10 based Linux distribution.
tomcumming commented on December 13, 2018

this patch has fixed that problem. It might be a good idea to update the version I just cargo installed.

pmeunier commented on December 14, 2018

Ok, thanks for reporting anyway.\r + I'm closing this issue to move faster towards our next release (which also fixes a number of other bugs).