8 Replies
      Latest reply on Dec 17, 2017 11:40 PM by Uzzal
      dacheng Level 1 Level 1 (0 points)

        After upgrading the XCode GM is still the same problem. Details look at :

        https://forums.developer.apple.com/thread/61266

         

        please apple workers give me a feasible solution on swift3. I have already submitted this bug, but I can`t test my code now

        • Re: please give me a solution
          dacheng Level 1 Level 1 (0 points)
          
          dyld`__abort_with_payload:
              0x100135cd0 <+0>:  movz   x16, #0x209
              0x100135cd4 <+4>:  svc    #0x80
          ->  0x100135cd8 <+8>:  b.lo   0x100135cf0               ; <+32>
              0x100135cdc <+12>: stp    x29, x30, [sp, #-16]!
              0x100135ce0 <+16>: mov    x29, sp
              0x100135ce4 <+20>: bl     0x100135500               ; cerror_nocancel
              0x100135ce8 <+24>: mov    sp, x29
              0x100135cec <+28>: ldp    x29, x30, [sp], #16
              0x100135cf0 <+32>: ret
          

          run it  stop at 5 line

          The GM version`console output nothing

          • Re: please give me a solution
            eskimo Apple Staff Apple Staff (10,035 points)

            I have already submitted this bug …

            What’s the bug number?

            Share and Enjoy

            Quinn “The Eskimo!”
            Apple Developer Relations, Developer Technical Support, Core OS/Hardware
            let myEmail = "eskimo" + "1" + "@apple.com"

              • Re: please give me a solution
                dacheng Level 1 Level 1 (0 points)

                Bug ID 28044221

                  • Re: please give me a solution
                    eskimo Apple Staff Apple Staff (10,035 points)

                    Are you sure you converted all of your project to Swift 3.  I grabbed the project from your bug report and it wouldn’t compile because it was still referenced Swift 2 constructs (for example, MTLDevice.newLibraryXxx(_:) rather than MTLDevice.makeLibrary(xxx:)).

                    Share and Enjoy

                    Quinn “The Eskimo!”
                    Apple Developer Relations, Developer Technical Support, Core OS/Hardware
                    let myEmail = "eskimo" + "1" + "@apple.com"

                • Re: please give me a solution
                  quietwar Level 1 Level 1 (0 points)

                  Hi, was there a solution to this bug? I get a similar error when i try to run on swift 3 xcode 8

                   

                   

                  dyld`__abort_with_payload:

                      0x1004a1cd0 <+0>:  movz   x16, #0x209

                      0x1004a1cd4 <+4>:  svc    #0x80

                  ->  0x1004a1cd8 <+8>:  b.lo   0x1004a1cf0               ; <+32>

                      0x1004a1cdc <+12>: stp    x29, x30, [sp, #-16]!

                      0x1004a1ce0 <+16>: mov    x29, sp

                      0x1004a1ce4 <+20>: bl     0x1004a1500               ; cerror_nocancel

                      0x1004a1ce8 <+24>: mov    sp, x29

                      0x1004a1cec <+28>: ldp    x29, x30, [sp], #16

                      0x1004a1cf0 <+32>: ret 

                  and

                   

                   

                  dyld`_dyld_start:

                      0x10047d000 <+0>:   mov    x28, sp

                      0x10047d004 <+4>:   and    sp, x28, #0xfffffffffffffff0

                      0x10047d008 <+8>:   movz   x0, #0

                      0x10047d00c <+12>:  movz   x1, #0

                      0x10047d010 <+16>:  stp    x1, x0, [sp, #-16]!

                      0x10047d014 <+20>:  mov    x29, sp

                      0x10047d018 <+24>:  sub    sp, sp, #16               ; =16

                      0x10047d01c <+28>:  ldr    x0, [x28]

                      0x10047d020 <+32>:  ldr    x1, [x28, #8]

                      0x10047d024 <+36>:  add    x2, x28, #16              ; =16

                      0x10047d028 <+40>:  adrp   x4, -1

                      0x10047d02c <+44>:  add    x4, x4, #0                ; =0

                      0x10047d030 <+48>:  adrp   x3, 48

                      0x10047d034 <+52>:  ldr    x3, [x3, #3456]

                      0x10047d038 <+56>:  sub    x3, x4, x3

                      0x10047d03c <+60>:  mov    x5, sp

                      0x10047d040 <+64>:  bl     0x10047d088               ; dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*)

                  ->  0x10047d044 <+68>:  mov    x16, x0

                      0x10047d048 <+72>:  ldr    x1, [sp]

                      0x10047d04c <+76>:  cmp    x1, #0                    ; =0

                      0x10047d050 <+80>:  b.ne   0x10047d05c               ; <+92>

                      0x10047d054 <+84>:  add    sp, x28, #8               ; =8

                      0x10047d058 <+88>:  br     x16

                      0x10047d05c <+92>:  mov    x30, x1

                      0x10047d060 <+96>:  ldr    x0, [x28, #8]

                      0x10047d064 <+100>: add    x1, x28, #16              ; =16

                      0x10047d068 <+104>: add    x2, x1, x0, lsl #3

                      0x10047d06c <+108>: add    x2, x2, #8                ; =8

                      0x10047d070 <+112>: mov    x3, x2

                      0x10047d074 <+116>: ldr    x4, [x3]

                      0x10047d078 <+120>: add    x3, x3, #8                ; =8

                      0x10047d07c <+124>: cmp    x4, #0                    ; =0

                      0x10047d080 <+128>: b.ne   0x10047d074               ; <+116>

                      0x10047d084 <+132>: br     x16

                    • Re: please give me a solution
                      Uzzal Level 1 Level 1 (0 points)

                      I am also facing the same problem for my project.

                      Threads

                      1. 0_abort_with_payload
                      2. 5_dyld_start

                      Details:

                      1.

                      dyld`__abort_with_payload:

                          0x1004568b4 <+0>:  mov    x16, #0x209

                          0x1004568b8 <+4>:  svc    #0x80

                      ->  0x1004568bc <+8>:  b.lo   0x1004568d4               ; <+32>

                          0x1004568c0 <+12>: stp    x29, x30, [sp, #-0x10]!

                          0x1004568c4 <+16>: mov    x29, sp

                          0x1004568c8 <+20>: bl     0x100456100               ; cerror_nocancel

                          0x1004568cc <+24>: mov    sp, x29

                          0x1004568d0 <+28>: ldp    x29, x30, [sp], #0x10

                          0x1004568d4 <+32>: ret 

                      2.

                      dyld`_dyld_start:

                          0x100431000 <+0>:   mov    x28, sp

                          0x100431004 <+4>:   and    sp, x28, #0xfffffffffffffff0

                          0x100431008 <+8>:   mov    x0, #0x0

                          0x10043100c <+12>:  mov    x1, #0x0

                          0x100431010 <+16>:  stp    x1, x0, [sp, #-0x10]!

                          0x100431014 <+20>:  mov    x29, sp

                          0x100431018 <+24>:  sub    sp, sp, #0x10             ; =0x10

                          0x10043101c <+28>:  ldr    x0, [x28]

                          0x100431020 <+32>:  ldr    x1, [x28, #0x8]

                          0x100431024 <+36>:  add    x2, x28, #0x10            ; =0x10

                          0x100431028 <+40>:  adrp   x4, -1

                          0x10043102c <+44>:  add    x4, x4, #0x0              ; =0x0

                          0x100431030 <+48>:  adrp   x3, 52

                          0x100431034 <+52>:  ldr    x3, [x3, #0xd90]

                          0x100431038 <+56>:  sub    x3, x4, x3

                          0x10043103c <+60>:  mov    x5, sp

                          0x100431040 <+64>:  bl     0x100431088               ; dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*)

                      ->  0x100431044 <+68>:  mov    x16, x0

                          0x100431048 <+72>:  ldr    x1, [sp]

                          0x10043104c <+76>:  cmp    x1, #0x0                  ; =0x0

                          0x100431050 <+80>:  b.ne   0x10043105c               ; <+92>

                          0x100431054 <+84>:  add    sp, x28, #0x8             ; =0x8

                          0x100431058 <+88>:  br     x16

                          0x10043105c <+92>:  mov    x30, x1

                          0x100431060 <+96>:  ldr    x0, [x28, #0x8]

                          0x100431064 <+100>: add    x1, x28, #0x10            ; =0x10

                          0x100431068 <+104>: add    x2, x1, x0, lsl #3

                          0x10043106c <+108>: add    x2, x2, #0x8              ; =0x8

                          0x100431070 <+112>: mov    x3, x2

                          0x100431074 <+116>: ldr    x4, [x3]

                          0x100431078 <+120>: add    x3, x3, #0x8              ; =0x8

                          0x10043107c <+124>: cmp    x4, #0x0                  ; =0x0

                          0x100431080 <+128>: b.ne   0x100431074               ; <+116>

                          0x100431084 <+132>: br     x16

                       

                      Can anyone please tell me, how I can fix this thread?? If anyone fix it already please help me. I will be really very grateful to you.