Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for morestackc (0.19 sec)

  1. src/runtime/crash_cgo_test.go

    			}
    			got := runTestProg(t, prog, test)
    			t.Log(got)
    			want := "SIGSEGV"
    			if !strings.Contains(got, want) {
    				if runtime.GOOS == "darwin" && runtime.GOARCH == "amd64" && strings.Contains(got, "fatal: morestack on g0") {
    					testenv.SkipFlaky(t, 39457)
    				}
    				t.Errorf("did not see %q in output", want)
    			}
    
    			// No runtime errors like "runtime: unknown pc".
    			switch runtime.GOOS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. src/runtime/crash_test.go

    		cmd.Env = append(cmd.Env, "TEST_G0_STACK_OVERFLOW=1")
    		out, err := cmd.CombinedOutput()
    		t.Logf("output:\n%s", out)
    		// Don't check err since it's expected to crash.
    		if n := strings.Count(string(out), "morestack on g0\n"); n != 1 {
    			t.Fatalf("%s\n(exit status %v)", out, err)
    		}
    		if runtime.CrashStackImplemented {
    			// check for a stack trace
    			want := "runtime.stackOverflow"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. src/runtime/traceback.go

    		if u.flags&unwindJumpStack != 0 && gp == gp.m.g0 && gp.m.curg != nil && gp.m.curg.m == gp.m {
    			switch f.funcID {
    			case abi.FuncID_morestack:
    				// morestack does not return normally -- newstack()
    				// gogo's to curg.sched. Match that.
    				// This keeps morestack() from showing up in the backtrace,
    				// but that makes some sense since it'll never be returned
    				// to.
    				gp = gp.m.curg
    				u.g.set(gp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    		next++
    	}
    
    	// Issue an error if we see a function defined as ABIInternal
    	// without NOSPLIT. In ABIInternal, obj needs to know the function
    	// signature in order to construct the morestack path, so this
    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func badmorestackg0() {
    	if !crashStackImplemented {
    		writeErrStr("fatal: morestack on g0\n")
    		return
    	}
    
    	g := getg()
    	switchToCrashStack(func() {
    		print("runtime: morestack on g0, stack [", hex(g.stack.lo), " ", hex(g.stack.hi), "], sp=", hex(g.sched.sp), ", called from\n")
    		g.m.traceback = 2 // include pc and sp in stack trace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    		// one of the following holds for a function F with pointer-valued register arg X:
    		//  0. No GC (so an uninitialized spill slot is okay)
    		//  1. GC at entry of F.  GC is precise, but the spills around morestack initialize X's spill slot
    		//  2. Stack growth at entry of F.  Same as GC.
    		//  3. GC occurs within F itself.  This has to be from preemption, and thus GC is conservative.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/cmd/dist/test.go

    			&goTest{
    				variant: "runtime:gcstoptheworld2",
    				timeout: 300 * time.Second,
    				short:   true,
    				env:     []string{"GODEBUG=gcstoptheworld=2"},
    				pkg:     "archive/zip",
    			})
    	}
    
    	// morestack tests. We only run these in long-test mode
    	// (with GO_TEST_SHORT=0) because the runtime test is
    	// already quite long and mayMoreStackMove makes it about
    	// twice as slow.
    	if !t.compileOnly && !t.short {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    	// Main call to ssa package to compile function
    	ssa.Compile(s.f)
    
    	fe.AllocFrame(s.f)
    
    	if len(s.openDefers) != 0 {
    		s.emitOpenDeferInfo()
    	}
    
    	// Record incoming parameter spill information for morestack calls emitted in the assembler.
    	// This is done here, using all the parameters (used, partially used, and unused) because
    	// it mimics the behavior of the former ABI (everything stored) and because it's not 100%
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top