FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
caunon
Staff
Staff
Article Id 420712
Description

This article describes the situation where the httpsd daemon with FortiGate firmware v7.4.5 build2702 keeps crashing. It causes an impact on the REST API services and GUI admin access.

Scope

FortiGate v7.4.5.

Solution
  1. The httpsd daemon keeps crashing after upgrading FortiOS to v7.4.5 build2702.

  2. Run the CLI command, and it shows the logs as below:

 

diagnose debug crashlog read

 

15409: 2025-11-15 05:45:19 <02589> firmware FortiGate-VM64-AZURE v7.4.5,build2702b2702,240916 (GA.M)

15410: 2025-11-15 05:45:19 (Release)

15411: 2025-11-15 05:45:19 <02589> application httpsd

15412: 2025-11-15 05:45:19 <02589> *** signal 11 (Segmentation fault) received ***

15413: 2025-11-15 05:45:19 <02589> Register dump:

15414: 2025-11-15 05:45:19 <02589> RAX: 00000000109116b8   RBX: 0000000010254210

15415: 2025-11-15 05:45:19 <02589> RCX: 0000000000002000   RDX: 0000000000000000

15416: 2025-11-15 05:45:19 <02589> R08: 0000000000000007   R09: 0000000000000000

15417: 2025-11-15 05:45:19 <02589> R10: 0000000000000001   R11: 0000000000000000

15418: 2025-11-15 05:45:19 <02589> R12: 0000000010792e10   R13: 00007ffc8599abd0

15419: 2025-11-15 05:45:19 <02589> R14: 0000000010981560   R15: 00000000109ec4c0

15420: 2025-11-15 05:45:19 <02589> RSI: 00000000109117d0   RDI: 00000000109117d0

15421: 2025-11-15 05:45:19 <02589> RBP: 0000000000012890   RSP: 00007ffc8599a8c0

15422: 2025-11-15 05:45:19 <02589> RIP: 00007f1a98e5f08e   EFLAGS: 0000000000010202

15423: 2025-11-15 05:45:19 <02589> CS:  0033   FS: 0000   GS: 0000

15424: 2025-11-15 05:45:19 <02589> Trap: 000000000000000e   Error: 0000000000000006

15425: 2025-11-15 05:45:19 <02589> OldMask: 0000000000000000

15426: 2025-11-15 05:45:19 <02589> CR2: 0000000000000020

15427: 2025-11-15 05:45:19 <02589> stack: 0x7ffc8599a8c0 - 0x7ffc8599bb50

15428: 2025-11-15 05:45:19 <02589> Backtrace:

15429: 2025-11-15 05:45:19 <02589> [0x7f1a98e5f08e] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15430: 2025-11-15 05:45:19 (lh_table_delete_entry+0x0000006e) liboffset 0000c08e

15431: 2025-11-15 05:45:19 <02589> [0x7f1a98e57cd8] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15432: 2025-11-15 05:45:19 liboffset 00004cd8

15433: 2025-11-15 05:45:19 <02589> [0x7f1a98e585de] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15434: 2025-11-15 05:45:19 (json_object_put+0x0000005e) liboffset 000055de

15435: 2025-11-15 05:45:19 <02589> [0x7f1a98e5ec89] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15436: 2025-11-15 05:45:19 (lh_table_free+0x00000029) liboffset 0000bc89

15437: 2025-11-15 05:45:19 <02589> [0x7f1a98e5843d] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15438: 2025-11-15 05:45:19 liboffset 0000543d

15439: 2025-11-15 05:45:19 <02589> [0x7f1a98e585de] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15440: 2025-11-15 05:45:19 (json_object_put+0x0000005e) liboffset 000055de

15441: 2025-11-15 05:45:19 <02589> [0x7f1a98e5ec89] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15442: 2025-11-15 05:45:19 (lh_table_free+0x00000029) liboffset 0000bc89

15443: 2025-11-15 05:45:19 <02589> [0x7f1a98e5843d] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15444: 2025-11-15 05:45:19 liboffset 0000543d

15445: 2025-11-15 05:45:19 <02589> [0x7f1a98e585de] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15446: 2025-11-15 05:45:19 (json_object_put+0x0000005e) liboffset 000055de

15447: 2025-11-15 05:45:19 <02589> [0x7f1a98e5ec89] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15448: 2025-11-15 05:45:19 (lh_table_free+0x00000029) liboffset 0000bc89

15449: 2025-11-15 05:45:19 <02589> [0x7f1a98e5843d] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15450: 2025-11-15 05:45:19 liboffset 0000543d

15451: 2025-11-15 05:45:19 <02589> [0x7f1a98e585de] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15452: 2025-11-15 05:45:19 (json_object_put+0x0000005e) liboffset 000055de

15453: 2025-11-15 05:45:19 <02589> [0x7f1a98e5ec89] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15454: 2025-11-15 05:45:19 (lh_table_free+0x00000029) liboffset 0000bc89

15455: 2025-11-15 05:45:19 <02589> [0x7f1a98e5843d] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15456: 2025-11-15 05:45:19 liboffset 0000543d

15457: 2025-11-15 05:45:19 <02589> [0x7f1a98e585de] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15458: 2025-11-15 05:45:19 (json_object_put+0x0000005e) liboffset 000055de

15459: 2025-11-15 05:45:19 <02589> [0x7f1a98e5ec89] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15460: 2025-11-15 05:45:19 (lh_table_free+0x00000029) liboffset 0000bc89

15461: 2025-11-15 05:45:19 <02589> [0x7f1a98e5843d] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15462: 2025-11-15 05:45:19 liboffset 0000543d

15463: 2025-11-15 05:45:19 <02589> [0x7f1a98e585de] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15464: 2025-11-15 05:45:19 (json_object_put+0x0000005e) liboffset 000055de

15465: 2025-11-15 05:45:19 <02589> [0x7f1a98e5ec89] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15466: 2025-11-15 05:45:19 (lh_table_free+0x00000029) liboffset 0000bc89

15467: 2025-11-15 05:45:19 <02589> [0x7f1a98e5843d] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15468: 2025-11-15 05:45:19 liboffset 0000543d

15469: 2025-11-15 05:45:19 <02589> [0x7f1a98e585de] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15470: 2025-11-15 05:45:19 (json_object_put+0x0000005e) liboffset 000055de

15471: 2025-11-15 05:45:19 <02589> [0x7f1a98e58640] => /usr/lib/x86_64-linux-gnu/libjson-c.so.5

15472: 2025-11-15 05:45:19 (json_object_put_no_assert+0x00000010) liboffset 00005640

15473: 2025-11-15 05:45:19 <02589> [0x00e61c6e] => /bin/httpsd

15474: 2025-11-15 05:45:19 <02589> [0x00e6ed15] => /bin/httpsd

15475: 2025-11-15 05:45:19 <02589> [0x00e05619] => /bin/httpsd

15476: 2025-11-15 05:45:19 <02589> [0x010319da] => /bin/httpsd (ap_run_handler+0x0000004a)

15477: 2025-11-15 05:45:19 <02589> [0x01032236] => /bin/httpsd (ap_invoke_handler+0x000000c6)

15478: 2025-11-15 05:45:19 <02589> [0x0107a119] => /bin/httpsd

15479: 2025-11-15 05:45:19 <02589> [0x0107a361] => /bin/httpsd (ap_process_request+0x00000021)

15480: 2025-11-15 05:45:19 <02589> [0x0107248f] => /bin/httpsd

15481: 2025-11-15 05:45:19 <02589> [0x0103623a] => /bin/httpsd (ap_run_process_connection+0x0000004a)

15482: 2025-11-15 05:45:19 <02589> [0x0104bf07] => /bin/httpsd

15483: 2025-11-15 05:45:19 <02589> [0x0104c1d6] => /bin/httpsd

15484: 2025-11-15 05:45:19 <02589> [0x0104c3c4] => /bin/httpsd

15485: 2025-11-15 05:45:19 <02589> [0x0104c9fd] => /bin/httpsd

15486: 2025-11-15 05:45:19 <02589> [0x01047ca1] => /bin/httpsd (ap_run_mpm+0x00000061)

15487: 2025-11-15 05:45:19 <02589> [0x010477d6] => /bin/httpsd

15488: 2025-11-15 05:45:19 <02589> [0x0045111f] => /bin/httpsd

15489: 2025-11-15 05:45:19 <02589> [0x004569f8] => /bin/httpsd

15490: 2025-11-15 05:45:19 <02589> [0x004571ea] => /bin/httpsd

15491: 2025-11-15 05:45:19 <02589> [0x00459a9f] => /bin/httpsd

15492: 2025-11-15 05:45:19 <02589> [0x0045a407] => /bin/httpsd

15493: 2025-11-15 05:45:19 <02589> [0x7f1a9a6ede1b] => /usr/lib/x86_64-linux-gnu/libc.so.6

15494: 2025-11-15 05:45:19 (__libc_start_main+0x000000eb) liboffset 00023e1b

15495: 2025-11-15 05:45:19 <02589> [0x0044c21a] => /bin/httpsd

15496: 2025-11-15 05:45:19 <02589> fortidev 6.0.2.0008

To fix:

For a permanent fix, it is necessary to upgrade FortiGate firmware version to v7.4.9, v7.6.3, and above.