Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix incorrect suggestion in segvhandler
authorJulien EMMANUEL <webcretaire@julien-emmanuel.com>
Mon, 30 Aug 2021 10:31:07 +0000 (12:31 +0200)
committerJulien EMMANUEL <webcretaire@julien-emmanuel.com>
Mon, 30 Aug 2021 12:29:42 +0000 (14:29 +0200)
In case of access violation the error message suggested to set an
ill-formed parameter value

src/simix/smx_global.cpp
teshsuite/kernel/stack-overflow/stack-overflow.tesh

index 3256da8..554ba73 100644 (file)
@@ -73,7 +73,7 @@ static void segvhandler(int signum, siginfo_t* siginfo, void* /*context*/)
             "Access violation or Bus error detected.\n"
             "This probably comes from a programming error in your code, or from a stack\n"
             "overflow. If you are certain of your code, try increasing the stack size\n"
-            "   --cfg=contexts/stack-size=XXX (current size is %u KiB).\n"
+            "   --cfg=contexts/stack-size:XXX (current size is %u KiB).\n"
             "\n"
             "If it does not help, this may have one of the following causes:\n"
             "a bug in SimGrid, a bug in the OS or a bug in a third-party libraries.\n"
index fc8a116..58dc9ff 100644 (file)
@@ -4,7 +4,7 @@ $ ${bindir:=.}/stack-overflow --cfg=contexts/stack-size:96 ${srcdir:=.}/examples
 > Access violation or Bus error detected.
 > This probably comes from a programming error in your code, or from a stack
 > overflow. If you are certain of your code, try increasing the stack size
->    --cfg=contexts/stack-size=XXX (current size is 96 KiB).
+>    --cfg=contexts/stack-size:XXX (current size is 96 KiB).
 >
 > If it does not help, this may have one of the following causes:
 > a bug in SimGrid, a bug in the OS or a bug in a third-party libraries.