Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of bounds panic #19

Open
HalfVoxel opened this issue Nov 9, 2023 · 0 comments
Open

Out of bounds panic #19

HalfVoxel opened this issue Nov 9, 2023 · 0 comments

Comments

@HalfVoxel
Copy link

I don't know which file caused this, but in our server logs we found this out of bounds panic from sniffer:

thread 'tokio-runtime-worker' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/csv-sniffer-0.3.1/src/sniffer.rs:282:54:
index out of bounds: the len is 0 but the index is 18446744073709551615
stack backtrace:
   0: rust_begin_unwind
             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/sr
c/panicking.rs:595:5
   1: core::panicking::panic_fmt
             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/s
rc/panicking.rs:67:14
   2: core::panicking::panic_bounds_check
             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/s
rc/panicking.rs:162:5
   3: csv_sniffer::sniffer::Sniffer::run_chains
   4: csv_sniffer::sniffer::Sniffer::open_reader

I hope the stack trace is helpful enough to figure it out.

zietzm added a commit to zietzm/igwas that referenced this issue Mar 23, 2024
zietzm added a commit to tatonetti-lab/indirect-gwas that referenced this issue Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant