Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 135 for traceback (0.16 sec)

  1. src/runtime/crash_cgo_test.go

    		if err != nil {
    			t.Error(err)
    			continue
    		}
    
    		trace := findTrace(string(out), top)
    		if len(trace) == 0 {
    			t.Errorf("%s traceback missing.", top)
    			continue
    		}
    		if trace[len(trace)-1] != bottom {
    			t.Errorf("invalid traceback origin: got=%v; want=[%s ... %s]", trace, top, bottom)
    		}
    	}
    }
    
    func TestCgoPprof(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. src/runtime/stack.go

    		morebuf := thisg.m.morebuf
    		traceback(morebuf.pc, morebuf.sp, morebuf.lr, morebuf.g.ptr())
    		throw("runtime: wrong goroutine in newstack")
    	}
    
    	gp := thisg.m.curg
    
    	if thisg.m.curg.throwsplit {
    		// Update syscallsp, syscallpc in case traceback uses them.
    		morebuf := thisg.m.morebuf
    		gp.syscallsp = morebuf.sp
    		gp.syscallpc = morebuf.pc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. src/runtime/cgo/callbacks.go

    //go:linkname _cgo_notify_runtime_init_done _cgo_notify_runtime_init_done
    var x_cgo_notify_runtime_init_done byte
    var _cgo_notify_runtime_init_done = &x_cgo_notify_runtime_init_done
    
    // Sets the traceback context function. See runtime.SetCgoTraceback.
    
    //go:cgo_import_static x_cgo_set_context_function
    //go:linkname x_cgo_set_context_function x_cgo_set_context_function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        otherwise.
      """
      try:
        return func()
      except Exception as ex:  # pylint: disable=broad-exception-caught; Required for graceful failing with pybind11.
        # Prints the exception traceback for debuggability.
        traceback.print_exception(ex)
        # Additional error log for debuggability.
        logging.error(error_msg)
        return None
    
    
    def _save_model_and_copy_assets(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. src/runtime/signal_windows.go

    //
    //go:nosplit
    func winthrow(info *exceptionrecord, r *context, gp *g) {
    	g0 := getg()
    
    	if panicking.Load() != 0 { // traceback already printed
    		exit(2)
    	}
    	panicking.Store(1)
    
    	// In case we're handling a g0 stack overflow, blow away the
    	// g0 stack bounds so we have room to print the traceback. If
    	// this somehow overflows the stack, the OS will trap it.
    	g0.stack.lo = 0
    	g0.stackguard0 = g0.stack.lo + stackGuard
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_libinit.c

    	__atomic_store_n(&runtime_init_done, 1, __ATOMIC_RELEASE);
    	pthread_cond_broadcast(&runtime_init_cond);
    	pthread_mutex_unlock(&runtime_init_mu);
    }
    
    // Sets the context function to call to record the traceback context
    // when calling a Go function from C code. Called from runtime.SetCgoTraceback.
    void x_cgo_set_context_function(void (*context)(struct context_arg*)) {
    	__atomic_store_n(&cgo_context_function, context, __ATOMIC_RELEASE);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/runtime/asm_wasm.s

    	MOVD $runtime·systemstack_switch(SB), g_sched+gobuf_pc(g)
    
    	MOVD SP, g_sched+gobuf_sp(g)
    
    	// switch to g0
    	MOVD R2, g
    
    	// make it look like mstart called systemstack on g0, to stop traceback
    	I64Load (g_sched+gobuf_sp)(R2)
    	I64Const $8
    	I64Sub
    	Set R3
    
    	MOVD $runtime·mstart(SB), 0(R3)
    	MOVD R3, SP
    
    	// call fn
    	MOVD R0, CTXT
    
    	Get CTXT
    	I32WrapI64
    	I64Load $0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/runtime/debug/stack_test.go

    	}
    
    	// default: run the tests.
    	os.Exit(m.Run())
    }
    
    type T int
    
    func (t *T) ptrmethod() []byte {
    	return Stack()
    }
    func (t T) method() []byte {
    	return t.ptrmethod()
    }
    
    /*
    The traceback should look something like this, modulo line numbers and hex constants.
    Don't worry much about the base levels, but check the ones in our own package.
    
    	goroutine 10 [running]:
    	runtime/debug.Stack(0x0, 0x0, 0x0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/runtime/pprof/proto.go

    type locInfo struct {
    	// location id assigned by the profileBuilder
    	id uint64
    
    	// sequence of PCs, including the fake PCs returned by the traceback
    	// to represent inlined functions
    	// https://github.com/golang/go/blob/d6f2f833c93a41ec1c68e49804b8387a06b131c5/src/runtime/traceback.go#L347-L368
    	pcs []uintptr
    
    	// firstPCFrames and firstPCSymbolizeResult hold the results of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    	needextram    bool
    	traceback     uint8
    	ncgocall      uint64        // number of cgo calls in total
    	ncgo          int32         // number of cgo calls currently in progress
    	cgoCallersUse atomic.Uint32 // if non-zero, cgoCallers in use temporarily
    	cgoCallers    *cgoCallers   // cgo traceback if crashing in cgo call
    	park          note
    	alllink       *m // on allm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top