Hi,sometimes not always I am getting the message below.
Before the app wants to load a urlfile (youtube) ,it checks
if internet is available with a subjob (http) job. (google site)
I think also the page_resize is being called,but not in this subjob
so what is going on , my iphone uses 9.1 with 8.2 i didn't see this message
The app works fine in debug and release mode ,can I ignore this message ??
Joop
Class (b4i_httpjob) instance released.
This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.
Stack:
0 CoreFoundation 0x22e8c873 <redacted> + 150
1 libobjc.A.dylib 0x347eadff objc_exception_throw + 38
2 CoreFoundation 0x22e8c7a1 <redacted> + 0
3 Foundation 0x23d2abbb <redacted> + 170
4 Foundation 0x23bd06d7 <redacted> + 38
5 UIKit 0x270c6949 <redacted> + 52
6 UIKit 0x270c7327 <redacted> + 222
7 UIKit 0x277d8db1 <redacted> + 288
8 UIKit 0x272c0031 <redacted> + 148
9 UIKit 0x26fbccc3 <redacted> + 694
10 QuartzCore 0x26884b05 <redacted> + 128
11 QuartzCore 0x26880201 <redacted> + 352
12 QuartzCore 0x26880091 <redacted> + 16
13 QuartzCore 0x2687f5b1 <redacted> + 368
14 QuartzCore 0x2687f263 <redacted> + 614
15 WebCore 0x32a646cf <redacted> + 282
16 CoreFoundation 0x22e4f7c7 <redacted> + 14
17 CoreFoundation 0x22e4f349 <redacted> + 344
18 CoreFoundation 0x22e4d71f <redacted> + 806
19 CoreFoundation 0x22da00d9 CFRunLoopRunSpecific + 516
20 CoreFoundation 0x22d9fecd CFRunLoopRunInMode + 108
21 WebCore 0x320088d7 <redacted> + 422
22 libsystem_pthread.dylib 0x350a6c7f <redacted> + 138
23 libsystem_pthread.dylib 0x350a6bf3 _pthread_start + 110
24 libsystem_pthread.dylib 0x350a4a08 thread_start + 8
)
The job code:
Before the app wants to load a urlfile (youtube) ,it checks
if internet is available with a subjob (http) job. (google site)
I think also the page_resize is being called,but not in this subjob
so what is going on , my iphone uses 9.1 with 8.2 i didn't see this message
The app works fine in debug and release mode ,can I ignore this message ??
Joop
Class (b4i_httpjob) instance released.
This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.
Stack:
0 CoreFoundation 0x22e8c873 <redacted> + 150
1 libobjc.A.dylib 0x347eadff objc_exception_throw + 38
2 CoreFoundation 0x22e8c7a1 <redacted> + 0
3 Foundation 0x23d2abbb <redacted> + 170
4 Foundation 0x23bd06d7 <redacted> + 38
5 UIKit 0x270c6949 <redacted> + 52
6 UIKit 0x270c7327 <redacted> + 222
7 UIKit 0x277d8db1 <redacted> + 288
8 UIKit 0x272c0031 <redacted> + 148
9 UIKit 0x26fbccc3 <redacted> + 694
10 QuartzCore 0x26884b05 <redacted> + 128
11 QuartzCore 0x26880201 <redacted> + 352
12 QuartzCore 0x26880091 <redacted> + 16
13 QuartzCore 0x2687f5b1 <redacted> + 368
14 QuartzCore 0x2687f263 <redacted> + 614
15 WebCore 0x32a646cf <redacted> + 282
16 CoreFoundation 0x22e4f7c7 <redacted> + 14
17 CoreFoundation 0x22e4f349 <redacted> + 344
18 CoreFoundation 0x22e4d71f <redacted> + 806
19 CoreFoundation 0x22da00d9 CFRunLoopRunSpecific + 516
20 CoreFoundation 0x22d9fecd CFRunLoopRunInMode + 108
21 WebCore 0x320088d7 <redacted> + 422
22 libsystem_pthread.dylib 0x350a6c7f <redacted> + 138
23 libsystem_pthread.dylib 0x350a6bf3 _pthread_start + 110
24 libsystem_pthread.dylib 0x350a4a08 thread_start + 8
)
The job code:
B4X:
Sub Check_internet_page_avaible
Dim j As HttpJob
j.Initialize("j", Me)
'j.Download("https://www.google.nl/?valutakoers#q=valutakoers")
j.Download("https://www.google.com")
j.GetRequest.SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0")
j.GetRequest.SetHeader("Accept", "text/html")
'DictLookup.GetRequest.SetHeader("User-Agent", " Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0")
End Sub
Sub JobDone(Job As HttpJob)
Dim hd As HUD
If Job.Success = True Then
Select Job.JobName
Case "j"
If Job.GetString.Contains("google")=True And MainModule.fotos = False And MainModule.video_array_list = False Then
Log("Internet availble")
internet=True
End If
End Select
Else
hd.ToastMessageShow( " no internet .",False)
Log("Error: " & Job.ErrorMessage)
Log("no internet. ")
internet=False
End If
Job.Release
End Sub
Last edited: