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

serpl Crash Report #10

Open
ndtoan96 opened this issue Jun 25, 2024 · 3 comments
Open

serpl Crash Report #10

ndtoan96 opened this issue Jun 25, 2024 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed windows

Comments

@ndtoan96
Copy link

I just play around a bit and it crashed. Here is the crash report:

name = "serpl"
operating_system = "Windows 10.0.22631 (Windows 11 CoreSingleLanguage) [64-bit]"
crate_version = "0.1.26"
explanation = '''
Panic occurred in file 'C:\Users\ASUS\.cargo\registry\src\index.crates.io-6f17d22bba15001f\serpl-0.1.26\src\redux\thunk\process_replace.rs' at line 95
'''
cause = """
begin <= end (724 <= 723) when slicing `use std::collections::HashMap;\r
\r
use log::error;\r
use reqwest::IntoUrl;\r
use serde::Deserialize;\r
\r
use crate::{download::DownloadItem, manga::Chapter};\r
\r
#[derive(Debug)]\r
pub struct MangadexChapter {\r
    manga_title: String,\r
    chapter_title: Option`[...]"""
method = "Panic"
backtrace = """

   0: 0x7ff63e443b96 - <unresolved>
   1: 0x7ff63e481fa7 - <unresolved>
   2: 0x7ff63e46584f - <unresolved>
   3: 0x7ff63e482633 - <unresolved>
   4: 0x7ff63e1a0de9 - <unresolved>
   5: 0x7ff63e1a2e40 - <unresolved>
   6: 0x7ff63e17ee42 - <unresolved>
   7: 0x7ff63e1819f5 - <unresolved>
   8: 0x7ff63e1229fd - <unresolved>
   9: 0x7ff63e183c75 - <unresolved>
  10: 0x7ff63e30fe18 - <unresolved>
  11: 0x7ff63e30deb2 - <unresolved>
  12: 0x7ff63e312ce4 - <unresolved>
  13: 0x7ff63e306238 - <unresolved>
  14: 0x7ff63e2f6214 - <unresolved>
  15: 0x7ff63e30224d - <unresolved>
  16: 0x7ff63e31583c - <unresolved>
  17: 0x7ff63e30129c - <unresolved>
  18: 0x7ff63e2fb015 - <unresolved>
  19: 0x7ff63e2f7d82 - <unresolved>
  20: 0x7ff63e44f12c - <unresolved>
  21: 0x7ff9bf97257d - BaseThreadInitThunk
  22: 0x7ff9c0f0af28 - RtlUserThreadStart"""
@yassinebridi
Copy link
Owner

Thanks for the report, i will try to reproduce this and fix it.

@ndtoan96
Copy link
Author

Looks to me like it does not work well with Windows newline \r\n. Even the highlight is weird.

image

I tried another project with unix newline style and it works fine.

@yassinebridi
Copy link
Owner

Sorry for the late reply.
That's interesting, i will try to reproduce this, and fix it.

@yassinebridi yassinebridi added bug Something isn't working help wanted Extra attention is needed labels Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed windows
Projects
None yet
Development

No branches or pull requests

2 participants