[Development] Crowdsourcing: check the PC extraction code for the QTestLib crash handler on other platforms

Thiago Macieira thiago.macieira at intel.com
Fri May 16 18:49:02 CEST 2025


See
https://codereview.qt-project.org/c/qt/qtbase/+/645568/9/src/testlib/
qtestcrashhandler_unix.cpp

I've looked at the definitions of the mcontext_t inside glibc and tried to 
write the correct code for other platforms. But I've left it disabled because 
I don't want to break the build and don't want to spend time on anything 
except x86.

If you have a machine or OS that isn't one of those I've already enabled and 
you have the time to test the code to see if running the "crashes" test does 
print the correct Program Counter and backtrace, post a comment in the change 
above with the code that worked.

For all the platforms that don't respond before change integrates, feel free 
to submit changes later.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5150 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250516/4cf92aaa/attachment.bin>


More information about the Development mailing list