https://bugs.kde.org/show_bug.cgi?id=423963

--- Comment #13 from Christoph Cullmann <cullm...@kde.org> ---
Just tried the test example with our Qt 6.1 build:

/makefactory/usr/heute/144702/release/linux64/bin/valgrind ./test         
==494853== Memcheck, a memory error detector
==494853== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==494853== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==494853== Command: ./test
==494853== 
==494853== Syscall param waitid(infop) points to unaddressable byte(s)
==494853==    at 0x70FBA9D: syscall (in /usr/lib/libc-2.33.so)
==494853==    by 0x6953120: forkfd (in
/local/ssd/cullmann/build/astreegui.default/usr/lib/libQt6Core.so.6.1.0)
==494853==    by 0x69383BE: QProcessPrivate::startProcess() (in
/local/ssd/cullmann/build/astreegui.default/usr/lib/libQt6Core.so.6.1.0)
==494853==    by 0x69329C9:
QProcessPrivate::start(QFlags<QIODeviceBase::OpenModeFlag>) (in
/local/ssd/cullmann/build/astreegui.default/usr/lib/libQt6Core.so.6.1.0)
==494853==    by 0x10933E: main (in /home/cullmann/test/test)
==494853==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==494853== 
==494864== Warning: invalid file descriptor 119528384 in syscall clone()

valgrind: m_syswrap/syswrap-main.c:1957 (vgPlain_client_syscall): Assertion '0
== (sci->flags & ~(SfMayBlock | SfPostOnFail | SfPollAfter))' failed.

host stacktrace:
==494864==    at 0x580452D0: show_sched_status_wrk (m_libcassert.c:406)
==494864==    by 0x580453D7: report_and_quit (m_libcassert.c:477)
==494864==    by 0x5804555E: vgPlain_assert_fail (m_libcassert.c:543)
==494864==    by 0x580A409E: vgPlain_client_syscall (syswrap-main.c:1980)
==494864==    by 0x580A01BA: handle_syscall (scheduler.c:1208)
==494864==    by 0x580A1B10: vgPlain_scheduler (scheduler.c:1526)
==494864==    by 0x580EEE06: thread_wrapper (syswrap-linux.c:101)
==494864==    by 0x580EEE06: run_a_thread_NORETURN (syswrap-linux.c:154)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable syscall 56 (lwpid 494864)
==494864==    at 0x70FBA9D: syscall (in /usr/lib/libc-2.33.so)
==494864==    by 0x6953096: forkfd (in
/local/ssd/cullmann/build/astreegui.default/usr/lib/libQt6Core.so.6.1.0)
==494864==    by 0x69383BE: QProcessPrivate::startProcess() (in
/local/ssd/cullmann/build/astreegui.default/usr/lib/libQt6Core.so.6.1.0)
==494864==    by 0x69329C9:
QProcessPrivate::start(QFlags<QIODeviceBase::OpenModeFlag>) (in
/local/ssd/cullmann/build/astreegui.default/usr/lib/libQt6Core.so.6.1.0)
==494864==    by 0x10933E: main (in /home/cullmann/test/test)
client stack range: [0x1FFEFF6000 0x1FFF000FFF] client SP: 0x1FFEFFF878
valgrind stack range: [0x1002D8E000 0x1002E8DFFF] top usage: 13584 of 1048576






Either Qt 6.1 has there a different behavior in QProcess on its own or we
compile Qt 6.1 differently then Manjaro regarding this :/

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to