- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for cgoTraceback (0.23 sec)
-
src/runtime/security_unix.go
// environment variable values (currently we only force GOTRACEBACK=none) // // Other packages may also disable specific functionality when secure mode // is enabled (determined by using linkname to call isSecureMode). secureEnv() } func secureEnv() { var hasTraceback bool for i := 0; i < len(envs); i++ { if stringslite.HasPrefix(envs[i], "GOTRACEBACK=") { hasTraceback = true envs[i] = "GOTRACEBACK=none"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 866 bytes - Viewed (0) -
src/runtime/crash_unix_test.go
} } func TestPanicSystemstack(t *testing.T) { // Test that GOTRACEBACK=crash prints both the system and user // stack of other threads. // The GOTRACEBACK=crash handler takes 0.1 seconds even if // it's not writing a core file and potentially much longer if // it is. Skip in short mode. if testing.Short() { t.Skip("Skipping in short mode (GOTRACEBACK=crash is slow)") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0) -
src/runtime/traceback_system_test.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime_test // This test of GOTRACEBACK=system has its own file, // to minimize line-number perturbation. import ( "bytes" "fmt" "internal/testenv" "io" "os" "path/filepath" "reflect" "runtime" "runtime/debug" "strconv" "strings"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 7.4K bytes - Viewed (0) -
src/internal/testenv/exec.go
// from breaking tests that are trying to parse other command output. if strings.HasPrefix(env, "GODEBUG=") { continue } // Exclude GOTRACEBACK for the same reason. if strings.HasPrefix(env, "GOTRACEBACK=") { continue } cmd.Env = append(cmd.Env, env) } return cmd } // CommandContext is like exec.CommandContext, but:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 27 17:53:23 UTC 2023 - 7.5K bytes - Viewed (0) -
src/runtime/fds_test.go
if err := o.Close(); err != nil { t.Fatal(err) } env := []string{"TEST_OUTPUT=" + outputPath} for _, e := range os.Environ() { if strings.HasPrefix(e, "GODEBUG=") || strings.HasPrefix(e, "GOTRACEBACK=") { continue } env = append(env, e) } proc, err := os.StartProcess(fdsBin, []string{fdsBin}, &os.ProcAttr{ Env: env, Files: []*os.File{}, }) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 25 16:33:33 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/godebug_default.txt
env GO111MODULE=on env GOTRACEBACK=single # Go 1.21 work module should leave panicnil with an implicit default. cp go.mod.21 go.mod go list -f '{{.Module.GoVersion}} {{.DefaultGODEBUG}}' ! stdout panicnil stdout randautoseed=0 # Go 1.21 work module should NOT set panicnil=1 in Go 1.20 dependency. cp go.mod.21 go.mod go list -f '{{.Module.GoVersion}} {{.DefaultGODEBUG}}' q ! stdout panicnil=1 ! stdout randautoseed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 3.5K bytes - Viewed (0) -
src/runtime/os3_plan9.go
return _NCONT } Throw: mp.throwing = throwTypeRuntime mp.caughtsig.set(gp) startpanic_m() print(notestr, "\n") print("PC=", hex(c.pc()), "\n") print("\n") level, _, docrash = gotraceback() if level > 0 { goroutineheader(gp) tracebacktrap(c.pc(), c.sp(), c.lr(), gp) tracebackothers(gp) print("\n") dumpregs(_ureg) } if docrash { crash() } Exit:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 4K bytes - Viewed (0) -
src/net/http/main_test.go
strings.Contains(stack, "created by testing.RunTests") || strings.Contains(stack, "closeWriteAndWait") || strings.Contains(stack, "testing.Main(") || // These only show up with GOTRACEBACK=2; Issue 5005 (comment 28) strings.Contains(stack, "runtime.goexit") || strings.Contains(stack, "created by runtime.gc") || strings.Contains(stack, "interestingGoroutines") ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:49:46 UTC 2024 - 4.9K 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)