Closed curiousdannii-testing closed 2 years ago
557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:
Comment by graham :
There's now a problem message to catch this case. (I don't think it's terribly restrictive to stop people from boxing a quotation consisting of the empty text.)
Reported by : dfremont
Description :
If you attempt to display the empty text as a boxed quotation, Inform crashes with code 11.
Steps to reproduce :
Additional information :
Relevant part of crash log:
Exception Type:EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000004
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
imported from: [Mantis 1663] Crash on empty boxed quotation0 ni 0x00158073 Strings_TextLiterals_compile_quotation + 51
1 ni 0x00138f47 Strings__compile_general + 263
2 ni 0x001374c4 Specifications_Values_compile + 2388
3 ni 0x001353ed Specifications_Compiler_spec_compile_primitive + 557
4 ni 0x000a48fc Specifications_Compiler_compile + 236
5 ni 0x00111c9c Specifications_Compiler_compile_to_kind + 252
6 ni 0x00192748 Invocations_Inline_csi_inline_inner + 16568
7 ni 0x0018dfa1 Invocations_Inline_csi_inline + 1105
8 ni 0x0018d9b4 Invocations_Compiler_compile_single_invocation + 308
9 ni 0x0018d542 Invocations_Compiler_compile_invocation_block + 11138
10 ni 0x00138964 Invocations_Compiler_compile + 468
11 ni 0x0013586c Specifications_Commands_compile + 1100
12 ni 0x0013538c Specifications_Compiler_spec_compile_primitive + 460
13 ni 0x000a48fc Specifications_Compiler_compile + 236
14 ni 0x00159bf4 Routines_Compile_line + 580
15 ni 0x0017def5 Routines_Compile_routine + 869
16 ni 0x0016c7a0 Phrases__compile + 288
17 ni 0x0016c5b7 Rules__compile_definition + 167
18 ni 0x00170075 Rules_Bookings_list_compile_rule_phrases + 645
19 ni 0x00172b91 Rulebooks__compile_rule_phrases + 257
20 ni 0x0017a4f3 Phrases_Manager_compile_first_block + 243
21 ni 0x0019e193 TemplateFiles__interpret + 36403
22 ni 0x0019af9a TemplateFiles__interpret + 23610
23 ni 0x001f223d Main__core_inform_main + 1421
24 ni 0x001f1cab main + 43
25 ni 0x00001faa _start + 209
26 ni 0x00001ed8 start + 40