-
-
Notifications
You must be signed in to change notification settings - Fork 352
Description
Affected Version
Describe the Bug
After updating from 0.16.0 (release) to the current master (e6f5fa4) my device ended up in a boot loop. After some trial and error I figured out it was caused by the CSS of the book I was reading in 0.16.0 not being able to be parsed in e6f5fa4. Basically any commit after 2cf799f45b582ad046ea67ebca31c78e7d334444 is currently affected.
When I deleted recents.bin I was able to go back to the main menu and open a different book, which worked fine. Opening the book that caused the boot loop now just fails to open and kicks me back to the main menu. Disabling CSS via settings (e.g. in e6f5fa4) does not resolve the issue.
This issue only happens for 1 out of the 4 books I currently have on my device. Unfortunately due to copyright I can't share the full file.
Tagging @jdk2pq as the author of 2cf799f45b582ad046ea67ebca31c78e7d334444. Maybe we can figure out what's going wrong? I'm very new to this project, but I'm happy to test anything, share logs, etc.
Steps to Reproduce
- Select the book in file browser
Expected Behavior
The book should appear. In db659f3ea22de55984ce48a88783a09d7cf7acf6 the book still opens, but in 2cf799f45b582ad046ea67ebca31c78e7d334444 it stops.
Relevant Log Output/Screenshots
[37895] [ACT] Exiting activity: MyLibrary
[37896] [ACT] Entering activity: Reader
[37900] [EBP] Loading ePub: /books/The Life of Chuck - Stephen King.epub
[37906] [BMC] Loaded cache data: 20 spine, 12 TOC entries
[37909] [EBP] File does not exist: /.crosspoint/epub_2254295994/css_rules.cache
[37910] [EBP] Warning: CSS rules cache not found, attempting to parse CSS files
[37934] [ZIP] Decompressed 169 bytes into 244 bytes
[37934] [EBP] Parsing content.opf: OPS/content.opf
[37986] [COF] Found EPUB 3 nav document: OPS/html/nav.xhtml
[38007] [BMC] createSpineEntry called but not in build mode
[38008] [BMC] createSpineEntry called but not in build mode
[38009] [BMC] createSpineEntry called but not in build mode
[38010] [BMC] createSpineEntry called but not in build mode
[38012] [BMC] createSpineEntry called but not in build mode
[38014] [BMC] createSpineEntry called but not in build mode
[38016] [BMC] createSpineEntry called but not in build mode
[38019] [BMC] createSpineEntry called but not in build mode
[38020] [BMC] createSpineEntry called but not in build mode
[38020] [BMC] createSpineEntry called but not in build mode
[38020] [BMC] createSpineEntry called but not in build mode
[38021] [BMC] createSpineEntry called but not in build mode
[38021] [BMC] createSpineEntry called but not in build mode
[38021] [BMC] createSpineEntry called but not in build mode
[38022] [BMC] createSpineEntry called but not in build mode
[38023] [BMC] createSpineEntry called but not in build mode
[38025] [BMC] createSpineEntry called but not in build mode
[38027] [BMC] createSpineEntry called but not in build mode
[38028] [BMC] createSpineEntry called but not in build mode
[38028] [BMC] createSpineEntry called but not in build mode
[38029] [COF] Entering guide state.
[38035] [COF] Skipping non-text reference in guide: cover
[38035] [COF] Skipping non-text reference in guide: toc
[38036] [COF] Found text reference in guide: OPS/html/title.xhtml.
[38036] [ZIP] Decompressed 1461 bytes into 6494 bytes
[38037] [EBP] Successfully parsed content.opf
[38052] [EBP] File does not exist: /.crosspoint/epub_2254295994/css_rules.cache
[38052] [EBP] Parsing CSS file: OPS/styles/additional.css
[38113] [ZIP] Decompressed 2161 bytes into 16142 bytes
[38211] [CSS] Parsed 134 rules
[38221] [EBP] Parsing CSS file: OPS/styles/endmatter.css
[38246] [ZIP] Decompressed 319 bytes into 1806 bytes
[38266] [CSS] Parsed 150 rules
[38276] [EBP] Parsing CSS file: OPS/styles/Hachettev11.css
[38453] [ZIP] Decompressed 7870 bytes into 75576 bytes
abort() was called at PC 0x4212246b on core 0
Core 0 register dump:
MEPC : 0x4038242a RA : 0x40387a44 SP : 0x3fcad920 GP : 0x3fc8ee00
TP : 0x3f816f1c T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130
S0/FP : 0x3fcad94c S1 : 0x3fcad94c A0 : 0x3fcad958 A1 : 0x3fcad93a
A2 : 0x00000000 A3 : 0x3fcad985 A4 : 0x00000001 A5 : 0x3fca6000
A6 : 0x7a797877 A7 : 0x76757473 S2 : 0x3fcae1a0 S3 : 0x42122850
S4 : 0x3fcae4b4 S5 : 0x3fca6000 S6 : 0x3fcb0b50 S7 : 0x3c55c000
S8 : 0x3c55c000 S9 : 0x3c55c000 S10 : 0x3c55c000 S11 : 0x3c55c000
T3 : 0x6e6d6c6b T4 : 0x6a696867 T5 : 0x66656463 T6 : 0x62613938
MSTATUS : 0x00001801 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000000
MHARTID : 0x00000000
Stack memory:
3fcad920: 0xa5a5a5a5 0xa5a5a5a5 0x3fcad938 0x4038d012 0xa5a5a5a5 0xa5a5a5a5 0xa5a50030 0x3fc91bdc
3fcad940: 0x3fcad94c 0x3fc91bf8 0x3fcad938 0x32313234 0x62363432 0x420fb500 0x726f6261 0x20292874
3fcad960: 0x20736177 0x6c6c6163 0x61206465 0x43502074 0x34783020 0x32323132 0x20623634 0x63206e6f
3fcad980: 0x2065726f 0x00000030 0x3fca0000 0xd04a5d44 0x3fcae1a0 0x420fb5e2 0x3fcadc20 0x4212246e
3fcad9a0: 0xa5a5a5a5 0xa5a5a5a5 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcad9c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcad9e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcada00: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcada20: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcada40: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcada60: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcada80: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadaa0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadac0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadae0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadb00: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadb20: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadb40: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadb60: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadb80: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadba0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadbc0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadbe0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000003 0x00000000 0xa5a5a5a5 0x3fcaad14
3fcadc00: 0x3fca6000 0x3fcae214 0x3fcb24d4 0x42122850 0x3fcadc1c 0x00000000 0x00000000 0x3c5a3e1f
3fcadc20: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadc40: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadc60: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadc80: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadca0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadcc0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadce0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fcadd00: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
ELF file SHA256: b7f8dcfff380400e
Rebooting...
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
Saved PC:0x4038202c
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5810,len:0x38c
load:0x403cc710,len:0x6a0
load:0x403ce710,len:0x2624
entry 0x403cc710
[1043] [SD] SD card detected
[1047] [CPS] Settings loaded from file
[1049] [KRS] File does not exist: /.crosspoint/koreader.bin
[1049] [KRS] No credentials file found
[1049] [ ] Starting CrossPoint version 0.16.0-dev