zmc Segfault
Posted: Wed Dec 11, 2024 9:27 pm
Having "zmc -m4" segfault and not understanding why. What information do you think is needed to help sort this out? Im not seeing a ton more in the logs.
Running 1.37.65~20241210.72-bookworm
[/code][/code]
Running 1.37.65~20241210.72-bookworm
Code: Select all
zmc[235875]: segfault at b8 ip 000056532a5c1035 sp 00007ffe33083d20 error 6 in zmc[95035,56532a54d000+1a5000] likely on CPU 2 (core 2, socket 0)
[62747.763727] Code: ff ff ff 48 89 c7 48 89 45 c8 e8 c6 56 fa ff 85 c0 0f 8f ae 01 00 00 49 8b 04 24 48 8b 1b 48 8b 00 49 89 04 24 4c 39 fb 75 c1 <41> c6 85 b8 00 00 00 01 49 8d 7d 28 e8 3a d0 f8 ff 49 8b 45 68 48
Code: Select all
=235666== Memcheck, a memory error detector
==235666== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==235666== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==235666== Command: zmc -m4
==235666==
12/11/24 13:22:33.791725 zmc_m4[235666].WAR-zmc.cpp/244 [Couldn't connect to monitor 4]
==235666== Invalid write of size 8
==235666== at 0x134448: UnknownInlinedFun (chrono.h:212)
==235666== by 0x134448: UnknownInlinedFun (chrono.h:260)
==235666== by 0x134448: UnknownInlinedFun (chrono.h:1131)
==235666== by 0x134448: SetStartupTime (zm_monitor.h:853)
==235666== by 0x134448: main (zmc.cpp:247)
==235666== Address 0x78 is not stack'd, malloc'd or (recently) free'd
==235666==
==235666==
==235666== Process terminating with default action of signal 11 (SIGSEGV)
==235666== Access not within mapped region at address 0x78
==235666== at 0x134448: UnknownInlinedFun (chrono.h:212)
==235666== by 0x134448: UnknownInlinedFun (chrono.h:260)
==235666== by 0x134448: UnknownInlinedFun (chrono.h:1131)
==235666== by 0x134448: SetStartupTime (zm_monitor.h:853)
==235666== by 0x134448: main (zmc.cpp:247)
==235666== If you believe this happened as a result of a stack
==235666== overflow in your program's main thread (unlikely but
==235666== possible), you can try to increase the size of the
==235666== main thread stack using the --main-stacksize= flag.
==235666== The main thread stack size used in this run was 8388608.
==235666==
==235666== HEAP SUMMARY:
==235666== in use at exit: 8,936,854 bytes in 4,117 blocks
==235666== total heap usage: 7,099 allocs, 2,982 frees, 9,447,260 bytes allocated
==235666==
==235666== LEAK SUMMARY:
==235666== definitely lost: 0 bytes in 0 blocks
==235666== indirectly lost: 0 bytes in 0 blocks
==235666== possibly lost: 816 bytes in 3 blocks
==235666== still reachable: 8,934,022 bytes in 4,093 blocks
==235666== suppressed: 0 bytes in 0 blocks
==235666== Rerun with --leak-check=full to see details of leaked memory
==235666==
==235666== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
==235666==
==235666== 1 errors in context 1 of 1:
==235666== Invalid write of size 8
==235666== at 0x134448: UnknownInlinedFun (chrono.h:212)
==235666== by 0x134448: UnknownInlinedFun (chrono.h:260)
==235666== by 0x134448: UnknownInlinedFun (chrono.h:1131)
==235666== by 0x134448: SetStartupTime (zm_monitor.h:853)
==235666== by 0x134448: main (zmc.cpp:247)
==235666== Address 0x78 is not stack'd, malloc'd or (recently) free'd
==235666==
==235666== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Segmentation fault