My app is crashed with Exception EXC_BREAKPOINT (SIGTRAP)












-1















When I opened the app, a few seconds into the main screen, it crashed. I want to debug it on Xcode, but during debugging, the error never reappears, and now I'm pulling out the crash log in the device.
But I do not understand these thread calls, please give me some help.



Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000197cccda8
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [1504]
Triggered by Thread: 2
Application Specific Information:
abort() called

Thread 2 name: Dispatch queue: com.apple.network.connections
Thread 2 Crashed:
0 libsystem_malloc.dylib 0x0000000197cccda8 nanov2_allocate_from_block$VARIANT$armv81 + 528
1 libsystem_malloc.dylib 0x0000000197cccda8 nanov2_allocate_from_block$VARIANT$armv81 + 528
2 libsystem_malloc.dylib 0x0000000197ccc040 nanov2_allocate$VARIANT$armv81 + 140
3 libsystem_malloc.dylib 0x0000000197ccc540 nanov2_calloc$VARIANT$armv81 + 136
4 libsystem_malloc.dylib 0x0000000197cd9b74 malloc_zone_calloc + 140
5 libsystem_malloc.dylib 0x0000000197cda3fc calloc + 40
6 CoreFoundation 0x00000001980a9e70 __CFStringAppendFormatCore + 6420
7 CoreFoundation 0x00000001980abdf0 _CFStringCreateWithFormatAndArgumentsAux2 + 136
8 CoreFoundation 0x00000001980abeac CFStringCreateWithFormat + 52
9 libnetwork.dylib 0x00000001991870d8 -[NWConcrete_nw_association redactedDescription] + 92
10 Foundation 0x0000000198b92374 _NS_os_log_callback + 184
11 libsystem_trace.dylib 0x0000000197d31abc _os_log_fmt_flatten_NSCF + 60
12 libsystem_trace.dylib 0x0000000197d30ff8 _os_log_fmt_flatten_data + 200
13 libsystem_trace.dylib 0x0000000197d375a0 _os_log_impl_flatten_and_send + 1520
14 libnetwork.dylib 0x00000001991885f4 __nw_association_schedule_deactivation_block_invoke + 312
15 libdispatch.dylib 0x0000000197b36484 _dispatch_client_callout + 16
16 libdispatch.dylib 0x0000000197b0ce04 _dispatch_continuation_pop$VARIANT$armv81 + 404
17 libdispatch.dylib 0x0000000197b1caa4 _dispatch_source_invoke$VARIANT$armv81 + 1704
18 libdispatch.dylib 0x0000000197b12d60 _dispatch_workloop_invoke$VARIANT$armv81 + 1892
19 libdispatch.dylib 0x0000000197b19f04 _dispatch_workloop_worker_thread + 584
20 libsystem_pthread.dylib 0x0000000197d190dc _pthread_wqthread + 312
21 libsystem_pthread.dylib 0x0000000197d1bcec start_wqthread + 4









share|improve this question

























  • Your crash log does not contain any code of your application. Try to build the application in release mode and run with Xcode.

    – Andrew Romanov
    Dec 29 '18 at 9:14











  • @AndrewRomanov The application is installed in development mode, which is where the crash occurs. Only connection Xcode debugging cannot be reproduced.

    – Js G
    Dec 29 '18 at 9:25











  • Try to add more calls for any network calls that you do in the application. The problem somewhere in network interactions. (For example wrap any network interactions into for loops and try to run the application)

    – Andrew Romanov
    Dec 29 '18 at 9:33






  • 1





    Your app crashes during memory allocation. This usually happens if the heap has been corrupted before the allocation. So use Instruments and Malloc Debugging to find the culprit.

    – Codo
    Dec 29 '18 at 9:35
















-1















When I opened the app, a few seconds into the main screen, it crashed. I want to debug it on Xcode, but during debugging, the error never reappears, and now I'm pulling out the crash log in the device.
But I do not understand these thread calls, please give me some help.



Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000197cccda8
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [1504]
Triggered by Thread: 2
Application Specific Information:
abort() called

Thread 2 name: Dispatch queue: com.apple.network.connections
Thread 2 Crashed:
0 libsystem_malloc.dylib 0x0000000197cccda8 nanov2_allocate_from_block$VARIANT$armv81 + 528
1 libsystem_malloc.dylib 0x0000000197cccda8 nanov2_allocate_from_block$VARIANT$armv81 + 528
2 libsystem_malloc.dylib 0x0000000197ccc040 nanov2_allocate$VARIANT$armv81 + 140
3 libsystem_malloc.dylib 0x0000000197ccc540 nanov2_calloc$VARIANT$armv81 + 136
4 libsystem_malloc.dylib 0x0000000197cd9b74 malloc_zone_calloc + 140
5 libsystem_malloc.dylib 0x0000000197cda3fc calloc + 40
6 CoreFoundation 0x00000001980a9e70 __CFStringAppendFormatCore + 6420
7 CoreFoundation 0x00000001980abdf0 _CFStringCreateWithFormatAndArgumentsAux2 + 136
8 CoreFoundation 0x00000001980abeac CFStringCreateWithFormat + 52
9 libnetwork.dylib 0x00000001991870d8 -[NWConcrete_nw_association redactedDescription] + 92
10 Foundation 0x0000000198b92374 _NS_os_log_callback + 184
11 libsystem_trace.dylib 0x0000000197d31abc _os_log_fmt_flatten_NSCF + 60
12 libsystem_trace.dylib 0x0000000197d30ff8 _os_log_fmt_flatten_data + 200
13 libsystem_trace.dylib 0x0000000197d375a0 _os_log_impl_flatten_and_send + 1520
14 libnetwork.dylib 0x00000001991885f4 __nw_association_schedule_deactivation_block_invoke + 312
15 libdispatch.dylib 0x0000000197b36484 _dispatch_client_callout + 16
16 libdispatch.dylib 0x0000000197b0ce04 _dispatch_continuation_pop$VARIANT$armv81 + 404
17 libdispatch.dylib 0x0000000197b1caa4 _dispatch_source_invoke$VARIANT$armv81 + 1704
18 libdispatch.dylib 0x0000000197b12d60 _dispatch_workloop_invoke$VARIANT$armv81 + 1892
19 libdispatch.dylib 0x0000000197b19f04 _dispatch_workloop_worker_thread + 584
20 libsystem_pthread.dylib 0x0000000197d190dc _pthread_wqthread + 312
21 libsystem_pthread.dylib 0x0000000197d1bcec start_wqthread + 4









share|improve this question

























  • Your crash log does not contain any code of your application. Try to build the application in release mode and run with Xcode.

    – Andrew Romanov
    Dec 29 '18 at 9:14











  • @AndrewRomanov The application is installed in development mode, which is where the crash occurs. Only connection Xcode debugging cannot be reproduced.

    – Js G
    Dec 29 '18 at 9:25











  • Try to add more calls for any network calls that you do in the application. The problem somewhere in network interactions. (For example wrap any network interactions into for loops and try to run the application)

    – Andrew Romanov
    Dec 29 '18 at 9:33






  • 1





    Your app crashes during memory allocation. This usually happens if the heap has been corrupted before the allocation. So use Instruments and Malloc Debugging to find the culprit.

    – Codo
    Dec 29 '18 at 9:35














-1












-1








-1








When I opened the app, a few seconds into the main screen, it crashed. I want to debug it on Xcode, but during debugging, the error never reappears, and now I'm pulling out the crash log in the device.
But I do not understand these thread calls, please give me some help.



Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000197cccda8
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [1504]
Triggered by Thread: 2
Application Specific Information:
abort() called

Thread 2 name: Dispatch queue: com.apple.network.connections
Thread 2 Crashed:
0 libsystem_malloc.dylib 0x0000000197cccda8 nanov2_allocate_from_block$VARIANT$armv81 + 528
1 libsystem_malloc.dylib 0x0000000197cccda8 nanov2_allocate_from_block$VARIANT$armv81 + 528
2 libsystem_malloc.dylib 0x0000000197ccc040 nanov2_allocate$VARIANT$armv81 + 140
3 libsystem_malloc.dylib 0x0000000197ccc540 nanov2_calloc$VARIANT$armv81 + 136
4 libsystem_malloc.dylib 0x0000000197cd9b74 malloc_zone_calloc + 140
5 libsystem_malloc.dylib 0x0000000197cda3fc calloc + 40
6 CoreFoundation 0x00000001980a9e70 __CFStringAppendFormatCore + 6420
7 CoreFoundation 0x00000001980abdf0 _CFStringCreateWithFormatAndArgumentsAux2 + 136
8 CoreFoundation 0x00000001980abeac CFStringCreateWithFormat + 52
9 libnetwork.dylib 0x00000001991870d8 -[NWConcrete_nw_association redactedDescription] + 92
10 Foundation 0x0000000198b92374 _NS_os_log_callback + 184
11 libsystem_trace.dylib 0x0000000197d31abc _os_log_fmt_flatten_NSCF + 60
12 libsystem_trace.dylib 0x0000000197d30ff8 _os_log_fmt_flatten_data + 200
13 libsystem_trace.dylib 0x0000000197d375a0 _os_log_impl_flatten_and_send + 1520
14 libnetwork.dylib 0x00000001991885f4 __nw_association_schedule_deactivation_block_invoke + 312
15 libdispatch.dylib 0x0000000197b36484 _dispatch_client_callout + 16
16 libdispatch.dylib 0x0000000197b0ce04 _dispatch_continuation_pop$VARIANT$armv81 + 404
17 libdispatch.dylib 0x0000000197b1caa4 _dispatch_source_invoke$VARIANT$armv81 + 1704
18 libdispatch.dylib 0x0000000197b12d60 _dispatch_workloop_invoke$VARIANT$armv81 + 1892
19 libdispatch.dylib 0x0000000197b19f04 _dispatch_workloop_worker_thread + 584
20 libsystem_pthread.dylib 0x0000000197d190dc _pthread_wqthread + 312
21 libsystem_pthread.dylib 0x0000000197d1bcec start_wqthread + 4









share|improve this question
















When I opened the app, a few seconds into the main screen, it crashed. I want to debug it on Xcode, but during debugging, the error never reappears, and now I'm pulling out the crash log in the device.
But I do not understand these thread calls, please give me some help.



Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000197cccda8
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [1504]
Triggered by Thread: 2
Application Specific Information:
abort() called

Thread 2 name: Dispatch queue: com.apple.network.connections
Thread 2 Crashed:
0 libsystem_malloc.dylib 0x0000000197cccda8 nanov2_allocate_from_block$VARIANT$armv81 + 528
1 libsystem_malloc.dylib 0x0000000197cccda8 nanov2_allocate_from_block$VARIANT$armv81 + 528
2 libsystem_malloc.dylib 0x0000000197ccc040 nanov2_allocate$VARIANT$armv81 + 140
3 libsystem_malloc.dylib 0x0000000197ccc540 nanov2_calloc$VARIANT$armv81 + 136
4 libsystem_malloc.dylib 0x0000000197cd9b74 malloc_zone_calloc + 140
5 libsystem_malloc.dylib 0x0000000197cda3fc calloc + 40
6 CoreFoundation 0x00000001980a9e70 __CFStringAppendFormatCore + 6420
7 CoreFoundation 0x00000001980abdf0 _CFStringCreateWithFormatAndArgumentsAux2 + 136
8 CoreFoundation 0x00000001980abeac CFStringCreateWithFormat + 52
9 libnetwork.dylib 0x00000001991870d8 -[NWConcrete_nw_association redactedDescription] + 92
10 Foundation 0x0000000198b92374 _NS_os_log_callback + 184
11 libsystem_trace.dylib 0x0000000197d31abc _os_log_fmt_flatten_NSCF + 60
12 libsystem_trace.dylib 0x0000000197d30ff8 _os_log_fmt_flatten_data + 200
13 libsystem_trace.dylib 0x0000000197d375a0 _os_log_impl_flatten_and_send + 1520
14 libnetwork.dylib 0x00000001991885f4 __nw_association_schedule_deactivation_block_invoke + 312
15 libdispatch.dylib 0x0000000197b36484 _dispatch_client_callout + 16
16 libdispatch.dylib 0x0000000197b0ce04 _dispatch_continuation_pop$VARIANT$armv81 + 404
17 libdispatch.dylib 0x0000000197b1caa4 _dispatch_source_invoke$VARIANT$armv81 + 1704
18 libdispatch.dylib 0x0000000197b12d60 _dispatch_workloop_invoke$VARIANT$armv81 + 1892
19 libdispatch.dylib 0x0000000197b19f04 _dispatch_workloop_worker_thread + 584
20 libsystem_pthread.dylib 0x0000000197d190dc _pthread_wqthread + 312
21 libsystem_pthread.dylib 0x0000000197d1bcec start_wqthread + 4






ios






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 29 '18 at 9:08







Js G

















asked Dec 29 '18 at 8:59









Js GJs G

11




11













  • Your crash log does not contain any code of your application. Try to build the application in release mode and run with Xcode.

    – Andrew Romanov
    Dec 29 '18 at 9:14











  • @AndrewRomanov The application is installed in development mode, which is where the crash occurs. Only connection Xcode debugging cannot be reproduced.

    – Js G
    Dec 29 '18 at 9:25











  • Try to add more calls for any network calls that you do in the application. The problem somewhere in network interactions. (For example wrap any network interactions into for loops and try to run the application)

    – Andrew Romanov
    Dec 29 '18 at 9:33






  • 1





    Your app crashes during memory allocation. This usually happens if the heap has been corrupted before the allocation. So use Instruments and Malloc Debugging to find the culprit.

    – Codo
    Dec 29 '18 at 9:35



















  • Your crash log does not contain any code of your application. Try to build the application in release mode and run with Xcode.

    – Andrew Romanov
    Dec 29 '18 at 9:14











  • @AndrewRomanov The application is installed in development mode, which is where the crash occurs. Only connection Xcode debugging cannot be reproduced.

    – Js G
    Dec 29 '18 at 9:25











  • Try to add more calls for any network calls that you do in the application. The problem somewhere in network interactions. (For example wrap any network interactions into for loops and try to run the application)

    – Andrew Romanov
    Dec 29 '18 at 9:33






  • 1





    Your app crashes during memory allocation. This usually happens if the heap has been corrupted before the allocation. So use Instruments and Malloc Debugging to find the culprit.

    – Codo
    Dec 29 '18 at 9:35

















Your crash log does not contain any code of your application. Try to build the application in release mode and run with Xcode.

– Andrew Romanov
Dec 29 '18 at 9:14





Your crash log does not contain any code of your application. Try to build the application in release mode and run with Xcode.

– Andrew Romanov
Dec 29 '18 at 9:14













@AndrewRomanov The application is installed in development mode, which is where the crash occurs. Only connection Xcode debugging cannot be reproduced.

– Js G
Dec 29 '18 at 9:25





@AndrewRomanov The application is installed in development mode, which is where the crash occurs. Only connection Xcode debugging cannot be reproduced.

– Js G
Dec 29 '18 at 9:25













Try to add more calls for any network calls that you do in the application. The problem somewhere in network interactions. (For example wrap any network interactions into for loops and try to run the application)

– Andrew Romanov
Dec 29 '18 at 9:33





Try to add more calls for any network calls that you do in the application. The problem somewhere in network interactions. (For example wrap any network interactions into for loops and try to run the application)

– Andrew Romanov
Dec 29 '18 at 9:33




1




1





Your app crashes during memory allocation. This usually happens if the heap has been corrupted before the allocation. So use Instruments and Malloc Debugging to find the culprit.

– Codo
Dec 29 '18 at 9:35





Your app crashes during memory allocation. This usually happens if the heap has been corrupted before the allocation. So use Instruments and Malloc Debugging to find the culprit.

– Codo
Dec 29 '18 at 9:35












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53968148%2fmy-app-is-crashed-with-exception-exc-breakpoint-sigtrap%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53968148%2fmy-app-is-crashed-with-exception-exc-breakpoint-sigtrap%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas