File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -233,6 +233,8 @@ jobs:
233233 ./configure $QTHREADS_ENABLE_ASSERTS --enable-picky --with-scheduler=${{ matrix.scheduler }} --with-topology=${{ matrix.topology }}
234234 make -j3
235235 make tests -j3
236+ echo "settings set target.process.stop-on-exec false" > ~/.lldbinit
237+ QT_NUM_SHEPHERDS=2 QT_NUM_WORKERS_PER_SHEPHERD=1 lldb bash --batch --one-line 'process launch' --one-line-on-crash 'bt' --one-line-on-crash 'quit' -- test/basics/hello_world
236238 - name : make check
237239 run : |
238240 # commented example for how to get a backtrace from CI usign lldb on OSX:
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ static inline int QTHREAD_TRYLOCK_TRY(qt_spin_trylock_t *x) {
161161 } \
162162 { \
163163 pthread_condattr_t tmp_attr; \
164+ pthread_condattr_init(&tmp_attr); \
164165 qassert(pthread_condattr_setpshared(&tmp_attr, PTHREAD_PROCESS_PRIVATE), \
165166 0); \
166167 QTHREAD_SET_CONDATTR_CLOCK(tmp_attr); \
You can’t perform that action at this time.
0 commit comments