Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,222 for crashes (0.31 sec)

  1. test/fixedbugs/bug458.go

    // compile
    
    // Copyright 2012 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 4200: 6g crashes when a type is larger than 4GB.
    
    package main
    
    import "unsafe"
    
    // N=16 on 32-bit arches, 256 on 64-bit arches.
    // On 32-bit arches we don't want to test types
    // that are over 4GB large.
    const N = 1 << unsafe.Sizeof(uintptr(0))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 513 bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/merge_node_with_function.pbtxt

    # This is a stripped down GraphDef of the model from b/175240312. To hit the
    # bug, the GraphDef needs to have functions in the library and also a Merge node
    # to go into certain part of the functionalization code where it crashes.
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_BOOL
        }
      }
    }
    node {
      name: "Switch0"
      op: "Switch"
      input: "input"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 14 20:47:36 UTC 2021
    - 1K bytes
    - Viewed (0)
  4. test/fixedbugs/issue48916.go

    // compile
    
    // Copyright 2021 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 48916: expand_calls pass crashes due to a (dead)
    // use of an OpInvalid value.
    
    package p
    
    type T struct {
    	num int64
    }
    
    func foo(vs map[T]struct{}, d T) error {
    	_, ok := vs[d]
    	if !ok {
    		return nil
    	}
    
    	switch d.num {
    	case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 12 18:00:16 UTC 2021
    - 535 bytes
    - Viewed (0)
  5. test/fixedbugs/issue51101.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 51101: on RISCV64, difference of two pointers
    // was marked as pointer and crashes GC.
    
    package main
    
    var a, b int
    
    func main() {
    	F(&b, &a)
    }
    
    //go:noinline
    func F(a, b *int) bool {
    	x := a == b
    	G(x)
    	y := a != b
    	return y
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 14 23:08:44 UTC 2022
    - 523 bytes
    - Viewed (0)
  6. test/fixedbugs/issue4529.go

    // compile
    
    // Copyright 2012 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 4529: escape analysis crashes on "go f(g())"
    // when g has multiple returns.
    
    package main
    
    type M interface{}
    
    type A struct {
    	a string
    	b chan M
    }
    
    func (a *A) I() (b <-chan M, c chan<- M) {
    	a.b, c = make(chan M), make(chan M)
    	b = a.b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 572 bytes
    - Viewed (0)
  7. 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)
  8. test/fixedbugs/bug099.go

    func NewI(i int) I {
    	return new(S)
    }
    
    // Uses interface method.
    func Use(x I) {
    	x.F()
    }
    
    func main() {
    	i := NewI(0);
    	Use(i);
    
    	// Again, without temporary
    	// Crashes because x.F is 0.
    	Use(NewI(0));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 637 bytes
    - Viewed (0)
  9. 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)
  10. test/fixedbugs/bug320.go

    	dummy := make(chan int)
    	v := 0x12345678
    	for i := 0; i < 10; i++ {
    		// 6g had a bug that caused select to pass &t to
    		// selectrecv before allocating the memory for t,
    		// which caused non-deterministic crashes.
    		// This test looks for the bug by checking that the
    		// value received actually ends up in t.
    		// If the allocation happens after storing through
    		// whatever garbage &t holds, the later reference
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 963 bytes
    - Viewed (0)
Back to top