View Issue Details

IDProjectCategoryView StatusLast Update
0006108DarkRadiantGeneralpublic13.01.2024 05:32
Reportergreebo Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSUbuntu 
Product Version3.3.0 
Target Version3.4.0Fixed in Version3.4.0 
Summary0006108: Crash on start if engine path is choosen (Doom 3)
DescriptionOriginally reported by desma on the forums: https://forums.thedarkmod.com/index.php?/topic/21596-darkradiant-crash-on-start-if-engine-path-is-choosen/

 Hi, I'm trying to make some maps for dhewm3, but if I give the path where the game files resides it crashes.

In my case the path is

/usr/local/share/dhewm3/

This doesn't happen if I give it my working path but then I'm missing all definitions, models, materials etc..

~/.local/share/dhewm3/

My system is Ubuntu 20.04, DarkRadiant 3.2.0 is installed from ppa
Additional Information$ darkradiant
SIGSEGV signal caught: 11
0: /usr/lib/x86_64-linux-gnu/darkradiant/modules/libradiantcore.so(_ZN6applog15SegFaultHandler14_handleSigSegvEi+0x474) [0x7f7b3f2ebef4]
1: /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7f7b524ce090]
2: /usr/lib/x86_64-linux-gnu/darkradiant/modules/libradiantcore.so(_ZN4decl23DeclarationFolderParser5parseERSiRKN3vfs8FileInfoERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x202) [0
x7f7b3f1abf32]
3: /usr/lib/x86_64-linux-gnu/darkradiant/modules/libradiantcore.so(_ZN6parser18ThreadedDeclParserIvE12processFilesEv+0x87b) [0x7f7b3f1b9f8b]
4: /usr/lib/x86_64-linux-gnu/darkradiant/modules/libradiantcore.so(_ZN6parser18ThreadedDeclParserIvE7doParseEv+0x20) [0x7f7b3f1bb140]
5: /usr/lib/x86_64-linux-gnu/darkradiant/modules/libradiantcore.so(_ZNSt17_Function_handlerIFSt10unique_ptrINSt13__future_base12_Result_baseENS2_8_DeleterEEvENS1_12_Task_setterIS0_INS1_7_Resu
ltIvEES3_ENSt6thread8_InvokerISt5tupleIJZN6parser17ThreadedDefLoaderIvE19ensureLoaderStartedEvEUlvE_EEEEvEEE9_M_invokeERKSt9_Any_data+0x50) [0x7f7b3f1d1e20]
6: /usr/lib/x86_64-linux-gnu/darkradiant/modules/libradiantcore.so(_ZNSt13__future_base13_State_baseV29_M_do_setEPSt8functionIFSt10unique_ptrINS_12_Result_baseENS3_8_DeleterEEvEEPb+0x2d) [0x7
f7b3f1c6f2d]
7: /lib/x86_64-linux-gnu/libpthread.so.0(+0x114df) [0x7f7b5268e4df]
8: /usr/lib/x86_64-linux-gnu/darkradiant/modules/libradiantcore.so(_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZNSt13__future_base17_Async_state_implINS1_IS2_IJZN6parser17ThreadedDefLoad
erIvE19ensureLoaderStartedEvEUlvE_EEEEvEC4EOSA_EUlvE_EEEEE6_M_runEv+0xfd) [0x7f7b3f1ca13d]
9: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xd6de4) [0x7f7b528e2de4]
10: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f7b52685609]
11: /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f7b525aa133]
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

DarkRadiant: master b5ab2fc5

25.09.2022 05:35

greebo


Details Diff
0006108: Add unit test covering the situation, it's a file with a trailing null/zero byte. Affected Issues
0006108
mod - test/DefBlockSyntaxParser.cpp Diff File
mod - test/Materials.cpp Diff File
add - test/resources/tdm/materials/null_byte_at_the_end.mtr Diff File

DarkRadiant: master 5a840dd3

25.09.2022 05:36

greebo


Details Diff
0006108: Adjust syntax parser to not insert any empty syntax nodes into the tree Affected Issues
0006108
mod - libs/parser/DefBlockSyntaxParser.h Diff File

DarkRadiant: master 9799672b

25.09.2022 08:00

greebo


Details Diff
0006108: Extend unit test to cover some problematic syntax scenarios Affected Issues
0006108
mod - test/DefBlockSyntaxParser.cpp Diff File
add - test/resources/tdm/testdecls/syntax_parser_test1.decl Diff File
add - test/resources/tdm/testdecls/syntax_parser_test2.decl Diff File
add - test/resources/tdm/testdecls/syntax_parser_test3.decl Diff File

Issue History

Date Modified Username Field Change
25.09.2022 04:47 greebo New Issue
25.09.2022 04:47 greebo Status new => confirmed
25.09.2022 04:47 greebo Assigned To => greebo
25.09.2022 04:47 greebo Status confirmed => assigned
25.09.2022 08:02 greebo Changeset attached => DarkRadiant master b5ab2fc5
25.09.2022 08:02 greebo Changeset attached => DarkRadiant master 5a840dd3
25.09.2022 08:02 greebo Changeset attached => DarkRadiant master 9799672b
25.09.2022 08:04 greebo Status assigned => resolved
25.09.2022 08:04 greebo Resolution open => fixed
25.09.2022 08:04 greebo Fixed in Version => 3.4.0
13.01.2024 05:32 greebo Status resolved => closed