Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

19649289: Failed requests when retried after coming from background causes crash (rare case) #2176

Open
openradar-mirror opened this issue Aug 3, 2015 · 0 comments

Comments

@openradar-mirror
Copy link

Description

Summary:
Failed requests when retried after coming from background causes crash in the DNS resolution of iOS framework code with Segmentation violation issue

StackTrace:
[
"#0 Ambulatory 0X0043097B +[Logging signalHandler:]",
"#1 Ambulatory 0X0040DBF5 -[NSURL portByScheme]",
"#2 libsystem_platform.dylib 0X3725687B _sigtramp()",
"#3 libxpc.dylib 0X37270013 xpc_string_get_string_ptr()",
"#4 libsystem_network.dylib 0X3722D3CF ()",
"#5 libsystem_network.dylib 0X3722D323 ()",
"#6 libsystem_dnssd.dylib 0X371A989D ()",
"#7 libsystem_dnssd.dylib 0X371A968F DNSServiceProcessResult()",
"#8 libdispatch.dylib 0X37107253 ()",
"#9 libdispatch.dylib 0X370F82ED ()",
"#10 libdispatch.dylib 0X370FE3EF ()",
"#11 libdispatch.dylib 0X370F8F85 ()",
"#12 libdispatch.dylib 0X370FFB9B ()",
"#13 libdispatch.dylib 0X37100CD7 ()",
"#14 libsystem_pthread.dylib 0X37257E31 _pthread_wqthread()",
"#15 libsystem_pthread.dylib 0X37257B84 start_wqthread()"
]

Steps to Reproduce:
Steps:

  1. While service request is still being processed, app was sent to background.
  2. After several hours, user launched the app. Since the requests are still being processed prior to going background, those calls are being sent from the app and these calls received the timeout error.
  3. Then the App Crashed

Expected Results:
Even after the requests which are waiting in the background are processed when the app becomes active, segmentation violation shouldn't happen

Actual Results:
Requests being processed when the app goes to background when retried if the app becomes active causes segmentation violation in the DNSServiceProcessResult(as per stack trace)

Version:
iOS 8.1.2

Notes:

Configuration:
iPhone6,1

Product Version: iOS 8.1.2
Created: 2015-01-29T18:31:31.695150
Originated: 2015-08-03T00:00:00
Open Radar Link: http://www.openradar.me/19649289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant