Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for throwTypeRuntime (0.33 sec)

  1. src/runtime/os3_plan9.go

    			return _NCONT
    		}
    		if sendNote(note) {
    			return _NCONT
    		}
    	}
    	if flags&_SigKill != 0 {
    		goto Exit
    	}
    	if flags&_SigThrow == 0 {
    		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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    	// frame metadata.
    	throwTypeUser
    
    	// throwTypeRuntime is a throw due to a problem with Go itself.
    	//
    	// These throws include as much information as possible to aid in
    	// debugging the runtime, including runtime frames, system goroutines,
    	// and frame metadata.
    	throwTypeRuntime
    )
    
    // We have two different ways of doing defers. The older way involves creating a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. src/runtime/signal_windows.go

    	if g0.m.incgo && gp == g0.m.g0 && g0.m.curg != nil {
    		if iscgo {
    			print("signal arrived during external code execution\n")
    		}
    		gp = g0.m.curg
    	}
    	print("\n")
    
    	g0.m.throwing = throwTypeRuntime
    	g0.m.caughtsig.set(gp)
    
    	level, _, docrash := gotraceback()
    	if level > 0 {
    		tracebacktrap(r.ip(), r.sp(), r.lr(), gp)
    		tracebackothers(gp)
    		dumpregs(r)
    	}
    
    	if docrash {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. src/runtime/runtime1.go

    	t := atomic.Load(&traceback_cache)
    	crash = t&tracebackCrash != 0
    	all = gp.m.throwing >= throwTypeUser || t&tracebackAll != 0
    	if gp.m.traceback != 0 {
    		level = int32(gp.m.traceback)
    	} else if gp.m.throwing >= throwTypeRuntime {
    		// Always include runtime frames in runtime throws unless
    		// otherwise overridden by m.traceback.
    		level = 2
    	} else {
    		level = int32(t >> tracebackShift)
    	}
    	return
    }
    
    var (
    	argc int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/runtime/traceback.go

    			}
    			print(")\n")
    			print("\t", file, ":", line)
    			if !iu.isInlined(uf) {
    				if u.frame.pc > f.entry() {
    					print(" +", hex(u.frame.pc-f.entry()))
    				}
    				if gp.m != nil && gp.m.throwing >= throwTypeRuntime && gp == gp.m.curg || level >= 2 {
    					print(" fp=", hex(u.frame.fp), " sp=", hex(u.frame.sp), " pc=", hex(u.frame.pc))
    				}
    			}
    			print("\n")
    		}
    
    		// Print cgo frames.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. src/runtime/signal_unix.go

    	// was sent to us by a program (c.sigFromUser() is true);
    	// in that case, if we didn't handle it in sigsend, we exit now.
    	if flags&(_SigThrow|_SigPanic) == 0 {
    		return
    	}
    
    	mp.throwing = throwTypeRuntime
    	mp.caughtsig.set(gp)
    
    	if crashing.Load() == 0 {
    		startpanic_m()
    	}
    
    	gp = fatalsignal(sig, c, gp, mp)
    
    	level, _, docrash := gotraceback()
    	if level > 0 {
    		goroutineheader(gp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top