cartmanguo / iphone-wireless

Automatically exported from code.google.com/p/iphone-wireless
0 stars 0 forks source link

App stalls when opening the WiFiManger lib on firmware 4.0 #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

When running code under iphone firmware 4.0

When code hits the instruction  libHandle = 
dlopen("/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager", 
RTLD_LAZY);

control is never returned, app just hang.   Debugger Console gives the 
following message :

Current language:  auto; currently objective-c
warning: UUID mismatch detected with the loaded library - on disk is:
    /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library
/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
warning: Unable to read symbols for 
"/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0 
(8A230m)/Symbols/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManag
er" (file 
not found).

What is the expected output? What do you see instead?
This same code works for firmware version 3.1.3, shouldn't the call return NULL 
if it's not found 
?

What version of the product are you using? On what operating system?
4.0 (8A230m) for iPod touch 2nd generation

Please provide any additional information below.
Same code works under 3.1.3(7E18).

Original issue reported on code.google.com by pakchiu...@gmail.com on 9 Apr 2010 at 6:13