Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for tracebackF1 (0.16 sec)

  1. src/runtime/traceback_system_test.go

    	// Cause the crash report to be written to stdout.
    	panic("oops")
    }
    
    // TestTracebackSystem tests that the syntax of crash reports produced
    // by GOTRACEBACK=system (see traceback2) contains a complete,
    // parseable list of program counters for the running goroutine that
    // can be parsed and fed to runtime.CallersFrames to obtain accurate
    // information about the logical call stack, even in the presence of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/runtime/os_solaris.go

    var asmsysvicall6x libcFunc // name to take addr of asmsysvicall6
    
    func asmsysvicall6() // declared for vet; do NOT call
    
    //go:nosplit
    func sysvicall0(fn *libcFunc) uintptr {
    	// Leave caller's PC/SP around for traceback.
    	gp := getg()
    	var mp *m
    	if gp != nil {
    		mp = gp.m
    	}
    	if mp != nil && mp.libcallsp == 0 {
    		mp.libcallg.set(gp)
    		mp.libcallpc = getcallerpc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. src/runtime/cgo/gcc_traceback.c

    #define __has_feature(x) 0
    #endif
    
    #if __has_feature(memory_sanitizer)
    #include <sanitizer/msan_interface.h>
    #endif
    
    // Call the user's traceback function and then call sigtramp.
    // The runtime signal handler will jump to this code.
    // We do it this way so that the user's traceback function will be called
    // by a C function with proper unwind info.
    void
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 20:11:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/traceback_ancestors.go

    		// Signal to TracebackAncestors that we are done recursing and starting goroutines.
    		w <- struct{}{}
    		<-w
    		return
    	}
    	if goroutines == 0 {
    		// Record which goroutine this is so we can ignore it
    		// in the traceback if it hasn't finished exiting by
    		// the time we printStack.
    		if !main {
    			ignoreGoroutines[goroutineID()] = true
    		}
    
    		// Start the next goroutine now that there are no more recursions left
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 17:14:59 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. src/internal/abi/symtab.go

    	// FuncFlagSPWrite indicates a function that writes an arbitrary value to SP
    	// (any write other than adding or subtracting a constant amount).
    	// The traceback routines cannot encode such changes into the
    	// pcsp tables, so the function traceback cannot safely unwind past
    	// SPWrite functions. Stopping at an SPWrite function is considered
    	// to be an incomplete unwinding of the stack. In certain contexts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 14:25:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/runtime/crash_unix_test.go

    	// Send SIGQUIT.
    	if err := cmd.Process.Signal(syscall.SIGQUIT); err != nil {
    		t.Fatal("signaling subprocess: ", err)
    	}
    
    	// Get traceback.
    	tb, err := io.ReadAll(pr)
    	if err != nil {
    		t.Fatal("reading traceback from pipe: ", err)
    	}
    
    	// Traceback should have two testPanicSystemstackInternal's
    	// and two blockOnSystemStackInternal's.
    	userFunc := "testPanicSystemstackInternal"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. doc/next/4-runtime.md

    ## Runtime {#runtime}
    
    The traceback printed by the runtime after an unhandled panic or other
    fatal error now indents the second and subsequent lines of the error
    message (for example, the argument to panic) by a single tab, so that
    it can be unambiguously distinguished from the stack trace of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 359 bytes
    - Viewed (0)
  8. test/fixedbugs/issue11656.go

    // runindir
    
    // Copyright 2022 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.
    
    // Issue 11656: runtime: jump to bad PC missing good traceback
    
    // windows doesn't work, because Windows exception handling
    // delivers signals based on the current PC, and that current PC
    // doesn't go into the Go runtime.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 700 bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_context.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || windows
    
    #include "libcgo.h"
    
    // Releases the cgo traceback context.
    void _cgo_release_context(uintptr_t ctxt) {
    	void (*pfn)(struct context_arg*);
    
    	pfn = _cgo_get_context_function();
    	if (ctxt != 0 && pfn != nil) {
    		struct context_arg arg;
    
    		arg.Context = ctxt;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 466 bytes
    - Viewed (0)
  10. src/runtime/tracebackx_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    func XTestSPWrite(t TestingT) {
    	// Test that we can traceback from the stack check prologue of a function
    	// that writes to SP. See #62326.
    
    	// Start a goroutine to minimize the initial stack and ensure we grow the stack.
    	done := make(chan bool)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 06 14:45:46 UTC 2023
    - 509 bytes
    - Viewed (0)
Back to top