You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doug:code doug$ /usr/local/Cellar/valgrind/HEAD-73c9e41/bin/valgrind --smc-check=stack --tool=callgrind --instr-atstart=no --callgrind-out-file=/Users/doug/Qt/Examples/Qt-5.15.2/gui/build-analogclock-Desktop_Qt_5_15_2_clang_64bit-Debug/analogclock.app/Contents/MacOS/callgrind.out.f107 --dsymutil=yes /Users/doug/Qt/Examples/Qt-5.15.2/gui/build-analogclock-Desktop_Qt_5_15_2_clang_64bit-Debug/analogclock.app/Contents/MacOS/analogclock
==39218== Callgrind, a call-graph generating cache profiler
==39218== Copyright (C) 2002-2017, and GNU GPL'd, by Josef Weidendorfer et al.
==39218== Using Valgrind-3.21.0.GIT-lbmacos and LibVEX; rerun with -h for copyright info
==39218== Command: /Users/doug/Qt/Examples/Qt-5.15.2/gui/build-analogclock-Desktop_Qt_5_15_2_clang_64bit-Debug/analogclock.app/Contents/MacOS/analogclock
==39218==
==39218== For interactive control, run 'callgrind_control -h'.
--39218-- UNKNOWN mach_msg2 unhandled MACH64_MSG_VECTOR option
--39218-- UNKNOWN mach_msg2 unhandled MACH64_MSG_VECTOR option (repeated 2 times)
UNKNOWN workq_ops option 1024
==39218==
==39218== Process terminating with default action of signal 11 (SIGSEGV)
==39218== Access not within mapped region at address 0x3C0
==39218== at 0x7FF8109336BE: _dispatch_worker_thread2 (in /usr/lib/system/libdispatch.dylib)
==39218== by 0x7FF810AC0C0E: ???
==39218== by 0x7FF810ABFBBE: ???
==39218== If you believe this happened as a result of a stack
==39218== overflow in your program's main thread (unlikely but
==39218== possible), you can try to increase the size of the
==39218== main thread stack using the --main-stacksize= flag.
==39218== The main thread stack size used in this run was 8388608.
==39218==
==39218== Events : Ir
==39218== Collected : 0
==39218==
==39218== I refs: 0
Segmentation fault: 11
and pointed QtCreator at it. I'm getting this error on one of their toy demo programs (analogclock). I also get it when I run valgrind on the command line:
This is the first time I've tried to use valgrind/callgrind, but I also just updated to Ventura 13.3.1 (22E261) and XCode 14.3 (14E222b). Am I doing something wrong, or is there some sort of compatibilty issue that hasn't been caught up with?
The text was updated successfully, but these errors were encountered:
Thanks for the report, note that most UI executables don't work due to wqthread being unsupported for a few years (#4). I am not sure if that's the case for Qt however.
Is there any way you could make a minimal reproducible example so I can try it out?
Hmm, not sure how to give you a minimal example for a Qt program. Thus far I've been doing everything in this project since I came onto it in Qt Creator.
On another note, tried to build the wqthread_fix branch and getting a seg fault (bam out of the gate) from autom4te...
Sigh.
Lemme see if I can figure out how to break it the same way in a way I can communicate.
Hmm, not sure how to give you a minimal example for a Qt program. Thus far I've been doing everything in this project since I came onto it in Qt Creator.
Just a small app, for example showing a QMainWindow with a label inside, without using any of Qt fancy abstractions and UI generation. It would help me if I want to build it locally and try to see what the issue is.
On another note, tried to build the wqthread_fix branch and getting a seg fault (bam out of the gate) from autom4te...
Yeah, that branch is very outdated (it's been a few years since I last tried to fix it).
doug:code doug$ /usr/local/Cellar/valgrind/HEAD-73c9e41/bin/valgrind --smc-check=stack --tool=callgrind --instr-atstart=no --callgrind-out-file=/Users/doug/Qt/Examples/Qt-5.15.2/gui/build-analogclock-Desktop_Qt_5_15_2_clang_64bit-Debug/analogclock.app/Contents/MacOS/callgrind.out.f107 --dsymutil=yes /Users/doug/Qt/Examples/Qt-5.15.2/gui/build-analogclock-Desktop_Qt_5_15_2_clang_64bit-Debug/analogclock.app/Contents/MacOS/analogclock
==39218== Callgrind, a call-graph generating cache profiler
==39218== Copyright (C) 2002-2017, and GNU GPL'd, by Josef Weidendorfer et al.
==39218== Using Valgrind-3.21.0.GIT-lbmacos and LibVEX; rerun with -h for copyright info
==39218== Command: /Users/doug/Qt/Examples/Qt-5.15.2/gui/build-analogclock-Desktop_Qt_5_15_2_clang_64bit-Debug/analogclock.app/Contents/MacOS/analogclock
==39218==
==39218== For interactive control, run 'callgrind_control -h'.
--39218-- UNKNOWN mach_msg2 unhandled MACH64_MSG_VECTOR option
--39218-- UNKNOWN mach_msg2 unhandled MACH64_MSG_VECTOR option (repeated 2 times)
UNKNOWN workq_ops option 1024
==39218==
==39218== Process terminating with default action of signal 11 (SIGSEGV)
==39218== Access not within mapped region at address 0x3C0
==39218== at 0x7FF8109336BE: _dispatch_worker_thread2 (in /usr/lib/system/libdispatch.dylib)
==39218== by 0x7FF810AC0C0E: ???
==39218== by 0x7FF810ABFBBE: ???
==39218== If you believe this happened as a result of a stack
==39218== overflow in your program's main thread (unlikely but
==39218== possible), you can try to increase the size of the
==39218== main thread stack using the --main-stacksize= flag.
==39218== The main thread stack size used in this run was 8388608.
==39218==
==39218== Events : Ir
==39218== Collected : 0
==39218==
==39218== I refs: 0
Segmentation fault: 11
I brew installed valgrind-macos with:
brew install --HEAD LouisBrunner/valgrind/valgrind
and pointed QtCreator at it. I'm getting this error on one of their toy demo programs (analogclock). I also get it when I run valgrind on the command line:
'/usr/local/Cellar/valgrind/HEAD-73c9e41/bin/valgrind --smc-check=stack --tool=callgrind --instr-atstart=no --callgrind-out-file=/Users/doug/Qt/Examples/Qt-5.15.2/gui/build-analogclock-Desktop_Qt_5_15_2_clang_64bit-Debug/analogclock.app/Contents/MacOS/callgrind.out.f107 --dsymutil=yes /Users/doug/Qt/Examples/Qt-5.15.2/gui/build-analogclock-Desktop_Qt_5_15_2_clang_64bit-Debug/analogclock.app/Contents/MacOS/analogclock'
This is the first time I've tried to use valgrind/callgrind, but I also just updated to Ventura 13.3.1 (22E261) and XCode 14.3 (14E222b). Am I doing something wrong, or is there some sort of compatibilty issue that hasn't been caught up with?
The text was updated successfully, but these errors were encountered: