Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,785 for crashes (0.11 sec)

  1. doc/next/6-stdlib/99-minor/runtime/trace/65319.md

    <!-- go.dev/issue/65319 -->
    The runtime now explicitly flushes trace data when a program crashes due to an
    uncaught panic. This means that more complete trace data will be available in a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:37:09 UTC 2024
    - 241 bytes
    - Viewed (0)
  2. test/arenas/smoke.go

    	a := arena.NewArena()
    	defer a.Free()
    
    	const iValue = 10
    
    	i := arena.New[int](a)
    	*i = iValue
    
    	if *i != iValue {
    		// This test doesn't reasonably expect this to fail. It's more likely
    		// that *i crashes for some reason. Still, why not check it.
    		log.Fatalf("bad i value: got %d, want %d", *i, iValue)
    	}
    
    	const wantLen = 125
    	const wantCap = 1912
    
    	sl := arena.MakeSlice[*int](a, wantLen, wantCap)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 16 17:08:43 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_mutator.txt

    func FuzzMutator(f *testing.F) {
    	// TODO(katiehockman): simplify this once we can dedupe crashes (e.g.
    	// replace map with calls to panic, and simply count the number of crashes
    	// that were added to testdata)
    	crashes := make(map[string]bool)
    	// No seed corpus initiated
    	f.Fuzz(func(t *testing.T, b []byte) {
    		crashes[string(b)] = true
    		if len(crashes) >= 10 {
    			panic("mutator found enough unique mutations")
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. releasenotes/notes/40778.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 28 19:22:13 UTC 2022
    - 170 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

      public static void testSubtypeOfStaticAnonymousClass() {
        Class<?> superclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass();
        assertTrue(TypeToken.of(superclass).isSubtypeOf(superclass));
        assertFalse(
            TypeToken.of(new Mall<Outdoor>().new Shop<Electronics>() {}.getClass())
                .isSubtypeOf(superclass));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

      public static void testSubtypeOfStaticAnonymousClass() {
        Class<?> superclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass();
        assertTrue(TypeToken.of(superclass).isSubtypeOf(superclass));
        assertFalse(
            TypeToken.of(new Mall<Outdoor>().new Shop<Electronics>() {}.getClass())
                .isSubtypeOf(superclass));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/runtime/debug/42888.md

    The [SetCrashOutput] function allows the user to specify an alternate
    file to which the runtime should write its fatal crash report.
    It may be used to construct an automated reporting mechanism for all
    unexpected crashes, not just those in goroutines that explicitly use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 282 bytes
    - Viewed (0)
  8. src/runtime/os_linux_generic.go

    package runtime
    
    const (
    	_SS_DISABLE  = 2
    	_NSIG        = 65
    	_SIG_BLOCK   = 0
    	_SIG_UNBLOCK = 1
    	_SIG_SETMASK = 2
    )
    
    // It's hard to tease out exactly how big a Sigset is, but
    // rt_sigprocmask crashes if we get it wrong, so if binaries
    // are running, this is right.
    type sigset [2]uint32
    
    var sigset_all = sigset{^uint32(0), ^uint32(0)}
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 01:56:24 UTC 2022
    - 870 bytes
    - Viewed (0)
  9. src/runtime/debug/stack.go

    		// closing it.)
    		//
    		// The new fd must be close-on-exec, otherwise if the
    		// crash monitor is a child process, it may inherit
    		// it, so it will never see EOF from the pipe even
    		// when this process crashes.
    		//
    		// A side effect of Fd() is that it calls SetBlocking,
    		// which is important so that writes of a crash report
    		// to a full pipe buffer don't get lost.
    		fd2, _, err := poll.DupCloseOnExec(int(f.Fd()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/link_external_undef.txt

    # Test case for issue 47993, in which the linker crashes
    # on a bad input instead of issuing an error and exiting.
    
    # This test requires external linking, so use cgo as a proxy 
    [!cgo] skip
    
    ! go build -ldflags='-linkmode=external' .
    ! stderr 'panic'
    stderr '^.*undefined symbol in relocation.*'
    
    -- go.mod --
    
    module issue47993
    
    go 1.16
    
    -- main.go --
    
    package main
    
    type M struct {
    	b bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 18:44:09 UTC 2023
    - 806 bytes
    - Viewed (0)
Back to top