]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Flush stack overflow / failure to grow stack messages.
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 15 Apr 2025 18:52:59 +0000 (20:52 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 15 Apr 2025 18:52:59 +0000 (20:52 +0200)
These messages were missing for the test

none/tests/solaris/stack_overflow

on Illumos. The test now passes.

coregrind/m_signals.c

index 53614d303c3417f71daa804fe7cba4506c1b90f9..f0e6b8e7cf2e4a514f945220ad4356dad26da130 100644 (file)
@@ -2741,6 +2741,7 @@ Bool VG_(extend_stack)(ThreadId tid, Addr addr)
       else
          VG_(umsg)("Cannot map memory to grow the stack for thread #%u "
                    "to %#lx\n", tid, new_stack_base);
+      VG_(message_flush)();
       return False;
    }