File: stack-overflow.tesh

package info (click to toggle)
simgrid 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,192 kB
  • sloc: cpp: 124,913; ansic: 66,744; python: 8,560; java: 6,773; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,194; perl: 1,436; makefile: 111; lisp: 49; javascript: 7; sed: 6
file content (15 lines) | stat: -rw-r--r-- 891 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! expect signal SIGSEGV|SIGBUS
$ ${bindir:=.}/stack-overflow --cfg=contexts/stack-size:96 ${srcdir:=.}/examples/platforms/small_platform.xml
> [Tremblay:master:(1) 0.000000] [test/INFO] Launching our nice bugged recursive function...
> 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).
>
> 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.
> Failing hardware can sometimes generate such errors too.
>
> If you think you've found a bug in SimGrid, please report it along with a
> Minimal Working Example (MWE) reproducing your problem and a full backtrace
> of the fault captured with gdb or valgrind.