Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 135 for traceback (0.24 sec)

  1. src/runtime/runtime_test.go

    var flagQuick = flag.Bool("quick", false, "skip slow tests, for cmd/dist test runtime:cpu124")
    
    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
    }
    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/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)
  3. src/cmd/compile/internal/ssagen/ssa.go

    			}
    			s.SetPos(p)
    		} else {
    			s.SetPos(s.pp.Pos.WithNotStmt())
    		}
    	}
    }
    
    // emit argument info (locations on stack) for traceback.
    func emitArgInfo(e *ssafn, f *ssa.Func, pp *objw.Progs) {
    	ft := e.curfn.Type()
    	if ft.NumRecvs() == 0 && ft.NumParams() == 0 {
    		return
    	}
    
    	x := EmitArgInfo(e.curfn, f.OwnAux.ABIInfo())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. cmd/kube-apiserver/app/server.go

    	// To help debugging, immediately log version
    	klog.Infof("Version: %+v", version.Get())
    
    	klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	config, err := NewConfig(opts)
    	if err != nil {
    		return err
    	}
    	completed, err := config.Complete()
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_tidy_replace.txt

    env GO111MODULE=on
    env GOFLAGS=-mod=mod
    [short] skip
    
    # golang.org/issue/30166: 'go mod tidy' should not crash if a replaced module is
    # involved in a cycle.
    cd cycle
    env GOTRACEBACK=off
    go mod tidy
    cd ..
    
    # From inside the module, 'go list -m all' should NOT include transitive
    # requirements of modules that have been replaced.
    go list -m all
    stdout 'rsc.io/quote/v3 v3.0.0'
    ! stdout 'rsc.io/sampler'
    ! stdout 'golang.org/x/text'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. cmd/kube-scheduler/app/server.go

    	logger.Info("Starting Kubernetes Scheduler", "version", version.Get())
    
    	logger.Info("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	// Configz registration.
    	if cz, err := configz.New("componentconfig"); err == nil {
    		cz.Set(cc.ComponentConfig)
    	} else {
    		return fmt.Errorf("unable to register configz: %s", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top