Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for traceback (0.69 sec)

  1. src/runtime/traceback.go

    	if gp.m.libcallsp != 0 {
    		// We're in C code somewhere, traceback from the saved position.
    		traceback1(gp.m.libcallpc, gp.m.libcallsp, 0, gp.m.libcallg.ptr(), 0)
    		return
    	}
    	traceback1(pc, sp, lr, gp, unwindTrap)
    }
    
    func traceback1(pc, sp, lr uintptr, gp *g, flags unwindFlags) {
    	// If the goroutine is in cgo, and we have a cgo traceback, print that.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue29919.dir/a.go

    		panic(fmt.Sprintf("bad f %v\n", f))
    	}
    	if !more {
    		panic("traceback truncated after f")
    	}
    	f, more = iter.Next()
    	if f.Function != "test/a.init" || !strings.HasSuffix(f.File, "a.go") || f.Line != 15 {
    		panic(fmt.Sprintf("bad init %v\n", f))
    	}
    	if !more {
    		panic("traceback truncated after init")
    	}
    	f, _ = iter.Next()
    	if !strings.HasPrefix(f.Function, "runtime.") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/traceback_test.go

    			}
    			if t.Failed() {
    				t.Logf("traceback diverged at frame %d", i)
    				off := len(stack)
    				if len(tb.frames) > 0 {
    					off = tb.frames[0].off
    				}
    				t.Logf("traceback before error:\n%s", stack[:off])
    				t.Logf("traceback after error:\n%s", stack[off:])
    			}
    		})
    	}
    }
    
    // tteStack creates a stack of n logical frames and sends the traceback to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. .github/ISSUE_TEMPLATE/tflite-in-play-services.md

    the problem. If possible, please share a link to or attach code demonstrating
    the problem.
    
    **Any other info / logs**
    Include any logs or source code that would be helpful to diagnose the problem.
    If including tracebacks, please include the full traceback. Large logs and files
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 880 bytes
    - Viewed (0)
  10. 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)
Back to top