Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for cgoTraceback (0.18 sec)

  1. src/runtime/runtime_test.go

    func init() {
    	// We're testing the runtime, so make tracebacks show things
    	// in the runtime. This only raises the level, so it won't
    	// override GOTRACEBACK=crash from the user.
    	SetTracebackEnv("system")
    }
    
    var errf error
    
    func errfn() error {
    	return errf
    }
    
    func errfn1() error {
    	return io.EOF
    }
    
    func BenchmarkIfaceCmp100(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/runtime/signal_windows.go

    		if iscgo {
    			print("signal arrived during external code execution\n")
    		}
    		gp = g0.m.curg
    	}
    	print("\n")
    
    	g0.m.throwing = throwTypeRuntime
    	g0.m.caughtsig.set(gp)
    
    	level, _, docrash := gotraceback()
    	if level > 0 {
    		tracebacktrap(r.ip(), r.sp(), r.lr(), gp)
    		tracebackothers(gp)
    		dumpregs(r)
    	}
    
    	if docrash {
    		dieFromException(info, r)
    	}
    
    	exit(2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. src/cmd/go/script_test.go

    		"GOEXE=" + cfg.ExeSuffix,
    		"GOEXPERIMENT=" + os.Getenv("GOEXPERIMENT"),
    		"GOOS=" + runtime.GOOS,
    		"TESTGO_GOHOSTOS=" + goHostOS,
    		"GOPROXY=" + proxyURL,
    		"GOPRIVATE=",
    		"GOROOT=" + testGOROOT,
    		"GOTRACEBACK=system",
    		"TESTGONETWORK=panic", // allow only local connections by default; the [net] condition resets this
    		"TESTGO_GOROOT=" + testGOROOT,
    		"TESTGO_EXE=" + testGo,
    		"TESTGO_VCSTEST_HOST=" + httpURL.Host,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/controllermanager.go

    	// To help debugging, immediately log version
    	logger.Info("Starting", "version", version.Get())
    
    	logger.Info("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	// Start events processing pipeline.
    	c.EventBroadcaster.StartStructuredLogging(0)
    	c.EventBroadcaster.StartRecordingToSink(&v1core.EventSinkImpl{Interface: c.Client.CoreV1().Events("")})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. src/runtime/signal_unix.go

    		noSignalStack(sig)
    	} else {
    		sigNotOnStack(sig, sp, mp)
    	}
    	dropm()
    	return false
    }
    
    // crashing is the number of m's we have waited for when implementing
    // GOTRACEBACK=crash when a signal is received.
    var crashing atomic.Int32
    
    // testSigtrap and testSigusr1 are used by the runtime tests. If
    // non-nil, it is called on SIGTRAP/SIGUSR1. If it returns true, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. src/runtime/panic.go

    // at fault for the failure, such as racing map writes.
    //
    // fatal does not include runtime frames, system goroutines, or frame metadata
    // (fp, sp, pc) in the stack trace unless GOTRACEBACK=system or higher.
    //
    //go:nosplit
    func fatal(s string) {
    	// Everything fatal does should be recursively nosplit so it
    	// can be called even when it's unsafe to grow the stack.
    	systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server.go

    	// To help debugging, immediately log version
    	logger.Info("Version info", "version", version.Get())
    
    	logger.Info("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	proxymetrics.RegisterMetrics(s.Config.Mode)
    
    	// TODO(vmarmol): Use container config for this.
    	var oomAdjuster *oom.OOMAdjuster
    	if s.Config.OOMScoreAdj != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcarchive/carchive_test.go

    		// the signal to the os/signal API. If nothing is looking
    		// for (or explicitly ignoring) SIGSEGV, then it crashes.
    		// Because the Go runtime is invoked via a c-archive,
    		// it treats this as GOTRACEBACK=crash, meaning that it
    		// dumps a stack trace for all goroutines, which it does
    		// by raising SIGQUIT. The effect is that we will see the
    		// program die with SIGQUIT in that case, not SIGSEGV.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  9. src/runtime/syscall_windows_test.go

    	}
    	exe, err := os.Executable()
    	if err != nil {
    		t.Fatal(err)
    	}
    	cmd := testenv.CleanCmdEnv(testenv.Command(t, exe, "-test.run=TestWERDialogue"))
    	cmd.Env = append(cmd.Env, "TEST_WER_DIALOGUE=1", "GOTRACEBACK=wer")
    	// Child process should not open WER dialogue, but return immediately instead.
    	// The exit code can't be reliably tested here because Windows can change it.
    	_, err = cmd.CombinedOutput()
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
Back to top