- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for cgoTraceback (0.31 sec)
-
src/cmd/dist/test.go
} t.runNames = flag.Args() // Set GOTRACEBACK to system if the user didn't set a level explicitly. // Since we're running tests for Go, we want as much detail as possible // if something goes wrong. // // Set it before running any commands just in case something goes wrong. if ok := isEnvSet("GOTRACEBACK"); !ok { if err := os.Setenv("GOTRACEBACK", "system"); err != nil { if t.keepGoing {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go
const prefix = "crash/crash" return counter.EncodeStack(pcs, prefix), nil } // parseStackPCs parses the parent process's program counters for the // first running goroutine out of a GOTRACEBACK=system traceback, // adjusting them so that they are valid for the child process's text // segment. // // This function returns only program counter values, ensuring that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 7.6K bytes - Viewed (0) -
src/runtime/debug/garbage.go
// SetTraceback sets the amount of detail printed by the runtime in // the traceback it prints before exiting due to an unrecovered panic // or an internal runtime error. // The level argument takes the same values as the GOTRACEBACK // environment variable. For example, SetTraceback("all") ensure // that the program prints all goroutines when it crashes. // See the package runtime documentation for details.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/stack_test.go
timer := time.AfterFunc(timeout, func() { // Panic — instead of calling t.Error and returning from the test — so // that we get a useful goroutine dump if the test times out, especially // if GOTRACEBACK=system or GOTRACEBACK=crash is set. if !started.Load() { panic("finalizer did not start") } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 23.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)