This crash can be replicated using any custom config.xml file which is incomplete.
We tested using a custom configuration file that only has application signature in it.
Attached is the custom configuration file to replicate similar crash if interested. As per logs, we can validate that when trying to upload config.xml file safesquid looks for configuration settings for each section and gets errors because config.xml only has application signatures.
Code: Select all
[i][i]2022 07 14 19:14:33.001 [2] request: debug: get_content_mime:129: magic: [text/xml]
2022 07 14 19:14:33.001 [2] interface: debug: upload:738 config: /tmp/safesquid/config.xml
2022 07 14 19:14:33.001 [2] network: debug: writing 59112 bytes to /tmp/safesquid/config.xml file
2022 07 14 19:14:33.004 [2] interface: debug: config_load:766 file[/tmp/safesquid/config.xml]
2022 07 14 19:14:33.004 [2] interface: debug: Section::load:1247: access
2022 07 14 19:14:33.004 [2] error: section_select:24 xml: invalid
2022 07 14 19:14:33.004 [2] interface: error: config_load:776 section: access
2022 07 14 19:14:33.004 [2] interface: debug: Section::load:1247: cache
2022 07 14 19:14:33.004 [2] error: section_select:24 xml: invalid[/i][/i]
Code: Select all
2022 07 14 19:14:33.005 [2] interface: debug: Section::load:1247: timeProfiles
2022 07 14 19:14:33.005 [2] error: section_select:24 xml: invalid
2022 07 14 19:14:33.005 [2] interface: error: config_load:776 section: timeProfiles
2022 07 14 19:14:33.005 [2] interface: debug: Section::load:1247: wccp
2022 07 14 19:14:33.005 [2] error: section_select:24 xml: invalid
2022 07 14 19:14:33.006 [2] interface: error: config_load:776 section: wccp
2022 07 14 19:14:33.009 [2] error: section_select:24 xml: invalid
2022 07 14 19:14:33.009 [2] error: System Unstable: Please Restart
2022 07 14 19:14:33.009 [2] error: ASSERTION: ../../sources/src/section.cpp:save:1299
2022 07 14 19:14:33.012 [2] warn: error: fatal: Received Signal [SIGSYS:31]
2022 07 14 19:14:33.012 [2] error: backtrace for: safesquid-2022.0714.1734.3-swg-concept
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[1/13] /opt/safesquid/bin/safesquid() [0x5a24e7]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[2/13] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef10) [0x7f747016cf10]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[3/13] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f747016ce87]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[4/13] /opt/safesquid/bin/safesquid(_ZN7Section4saveEP13TiXmlDocument+0x251) [0x589d71]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[5/13] /opt/safesquid/bin/safesquid(_Z16config_xml_buildv+0x5e) [0x550b0e]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[6/13] /opt/safesquid/bin/safesquid(_Z11config_loadiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x2b4) [0x5514c4]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[7/13] /opt/safesquid/bin/safesquid(_Z6uploadR6CGIMapP12CONNECTION_T+0xe5b) [0x534f6b]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[8/13] /opt/safesquid/bin/safesquid(_ZN19ApplicationsHandler14invoke_handlerER6CGIMapP12CONNECTION_T+0x251) [0x5f67e1]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[9/13] /opt/safesquid/bin/safesquid(_Z24interface_handle_requestP12CONNECTION_T+0x576) [0x52fc66]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[10/13] /opt/safesquid/bin/safesquid(_Z14handle_requestP12CONNECTION_T+0x2e98) [0x557c98]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[11/13] /opt/safesquid/bin/safesquid(_Z13process_entryP12CONNECTION_T+0x6dc) [0x55a8ec]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[12/13] /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f746fcfe6db]
2022 07 14 19:14:33.014 [2] warn: error: SIGSYS[13/13] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f747024f61f]