-
-
Notifications
You must be signed in to change notification settings - Fork 352
Labels
bugSomething isn't workingSomething isn't workingcrashConditions that cause crosspoint to crashConditions that cause crosspoint to crashreaderRelated to the core reader experienceRelated to the core reader experience
Description
Affected Version
1.0.0-rc+402e8807
Describe the Bug
Hey all,
This version of The Maltese Falcon (Scroll down and download the "Compatible epub") hard-crashes my X4.
Looks like some kind of double-free after the failed PNG decode to me?
[18:27:13] [IMG] Rendering image at 8,261: /.crosspoint/epub_1065909436/img_0_0.png (463x145)
[18:27:13] [IMG] File does not exist: /.crosspoint/epub_1065909436/img_0_0.pxc
[18:27:13] [IMG] Decoding and caching: /.crosspoint/epub_1065909436/img_0_0.png
[18:27:13] [IMG] Using PNG decoder
[18:27:13] [PNG] Decoding PNG: /.crosspoint/epub_1065909436/img_0_0.png
[18:27:13] [PNG] PNG 1400x440 -> 463x145 (scale 0.33), bpp: 8
[18:27:13] [IMG] Allocated cache buffer: 16820 bytes for 463x145
[18:27:13] [PNG] Decode failed: 2
CORRUPT HEAP: Bad tail at 0x3fcbe67c. Expected 0xbaad5678 got 0x00000000
assert failed: multi_heap_free multi_heap_poisoning.c:259 (head != NULL)
Core 0 register dump:
MEPC : 0x4038242a RA : 0x40387a44 SP : 0x3fcb1ff0 GP : 0x3fc8ee00
TP : 0x3f81bb68 T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130
S0/FP : 0x3fcb2168 S1 : 0x0000007f A0 : 0x3fcb2054 A1 : 0x3fc9189d
A2 : 0x00000001 A3 : 0x00000029 A4 : 0x00000001 A5 : 0x3fca6000
A6 : 0x7a797877 A7 : 0x76757473 S2 : 0x3fcb2048 S3 : 0x00000001
S4 : 0x3fcb2048 S5 : 0x4038cc7e S6 : 0x00001a33 S7 : 0x00001a43
S8 : 0x3fcae504 S9 : 0x3fcb224c S10 : 0x000001cf S11 : 0x00000091
T3 : 0x6e6d6c6b T4 : 0x6a696867 T5 : 0x66656463 T6 : 0x62613938
MSTATUS : 0x00001801 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000000
MHARTID : 0x00000000
Stack memory:
3fcb1ff0: 0x3f81bb68 0x3fcbe675 0x3c5cb758 0x4038d158 0x0000001e 0x0000001e 0x3fcb2110 0x3fc9189c
3fcb2010: 0xffffffff 0x00000000 0x3fcb2110 0x00393532 0xffffffff 0x3fc91984 0x3c5cb758 0x3fc91d74
3fcb2030: 0x3c5cb7c1 0x3fc91994 0x3fcb201c 0x3fc91998 0x3c5cb79c 0x3fc9189c 0x00000000 0x00000000
3fcb2050: 0xff000000 0x65737361 0x66207472 0x656c6961 0x6d203a64 0x69746c75 0x6165685f 0x72665f70
3fcb2070: 0x6d206565 0x69746c75 0x6165685f 0x6f705f70 0x6e6f7369 0x2e676e69 0x35323a63 0x68282039
3fcb2090: 0x20646165 0x4e203d21 0x294c4c55 0x00000000 0x000001cf 0x3fcb224c 0x3fcae504 0x00001a43
3fcb20b0: 0x00001a33 0x00000001 0x00000002 0x3fcb2380 0x00000001 0x3fcb2550 0x3fcbe67c 0x40048722
3fcb20d0: 0x3fcae504 0x3fcb224c 0x000001cf 0x00000091 0x3fca6000 0x3fcaf260 0x3fca5520 0x3fcb2104
3fcb20f0: 0x3c5e58e0 0x00000000 0x3fcaf260 0x4038ce3a 0x00000000 0x3fcbe67c 0xbaad5678 0x00000000
3fcb2110: 0x00000001 0x00000000 0xa0000000 0x4782fae0 0x3fca6000 0x00000001 0x00000002 0x3fcb2380
3fcb2130: 0x3fca6000 0x3fcb2558 0x3fca7360 0x4038cc7e 0x00001a43 0x3fc9e000 0x3fcb2558 0x42047144
3fcb2150: 0x40000000 0x3fd52a6c 0x00000008 0x40387fae 0x00000000 0x00000578 0x000001b8 0x00001a32
3fcb2170: 0xa0000000 0x0000000a 0x60043000 0x3fc9e124 0x3fcb2380 0x000001e0 0x00000320 0x3ea95362
3fcb2190: 0x00000578 0x000001b8 0x000001cf 0x00000091 0x00000000 0x3fcbe68c 0x000001cf 0x00000091
3fcb21b0: 0x00000074 0x00000008 0x00000105 0xbaad5601 0x00000000 0x00000000 0x3fcb221c 0x8e6c7768
3fcb21d0: 0x3fcaabd0 0x3fcaec6c 0x00000008 0x3fca6000 0x00000091 0x3fcb221c 0x3fca6000 0x3c566b28
3fcb21f0: 0x3fc9e4ec 0x3fcb2288 0x3fcb221c 0x4205eb40 0x3fcaf254 0x3fcaf248 0x3fca7360 0x4038cb30
3fcb2210: 0x3fcaf254 0x3fcaf250 0x3fcb2288 0x3936365b 0x5b205d33 0x5d474d49 0x69735520 0x5020676e
3fcb2230: 0x6420474e 0x646f6365 0x000a7265 0x00000028 0x00000029 0x3fcb224c 0x00000003 0x00474e50
3fcb2250: 0x00000004 0x00000028 0x00000008 0x4782fae0 0x00000091 0x00000105 0x00001a25 0x8e6c7768
3fcb2270: 0x3fcaabd0 0x3fcaec6c 0x00000008 0x3fca6000 0x00000091 0x00000105 0x00001a25 0x3fcae504
3fcb2290: 0x3fc9e124 0x3fc9e000 0x3fcaec68 0x42044972 0x3fc9e124 0x00000004 0x0000000d 0x3fcb233c
3fcb22b0: 0x0000003c 0x3fca6000 0x3c1614f8 0x3c567000 0x30393536 0x00000028 0x3c1614f8 0x00000000
3fcb22d0: 0x000003e8 0x00000000 0x00000000 0x0000000a 0x3fca5520 0x00000005 0x00000000 0x00000000
3fcb22f0: 0x00009780 0x0000b236 0x00000198 0x3fcaac60 0x00000002 0x00000001 0x8e6c7768 0x00000001
3fcb2310: 0x00000000 0x00000000 0x3c1614f8 0x00000000 0x000003e8 0x00000000 0x3fcae9be 0x8e6c7768
3fcb2330: 0x3fcaabd0 0x00000000 0x0000008c 0x00000167 0x3fca6110 0x3fca6104 0x3fca610c 0x3fca6108
3fcb2350: 0x3fcaabd0 0x3fcae548 0x3c161000 0x00000008 0x00000000 0x00000000 0x3fcaf1b8 0x00000028
3fcb2370: 0x00000048 0x3fcaedf0 0x3fca6000 0x4038cb30 0x00000008 0x00000105 0x000001cf 0x00000091
3fcb2390: 0x01000101 0x3fcaf214 0x00000028 0x00000028 0x3fcaf0b0 0x3fcb23f0 0x3fcaee08 0x4782fae0
3fcb23b0: 0x3fca6000 0x3fcaac60 0x00000002 0x8e6c7768 0x3fcaabd0 0x0000001b 0x00000008 0x3fcaac60
3fcb23d0: 0x3fc8e7f8 0x3fcaf168 0x0000000e 0x00000008 0x8e6c7768 0x3fc9e124
0x3fcaf160 0x42042fd4
ELF file SHA256: f808f21646c0ea14
Rebooting...
Steps to Reproduce
- Download epub to X4
- Open it
- X4 crashes
Expected Behavior
X4 does not crash
Relevant Log Output/Screenshots
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcrashConditions that cause crosspoint to crashConditions that cause crosspoint to crashreaderRelated to the core reader experienceRelated to the core reader experience