Note that there are some explanatory texts on larger screens.

plurals
  1. POAdding new source files to project changes my call stack in the main application
    primarykey
    data
    text
    <p>I have my own plugin - a static library linked into my project. When I add Twitter+OAuth sources and compile them all, It changes the call stack in my main app causing EXC_BAD_ACCESS failure. </p> <p>without Twitter source files (works fine):</p> <pre><code>#0 0x0051fc32 in registerMyOwnPluginCallback at MyPlugin.c:19 #1 0x00019b54 in -[AppController applicationDidFinishLaunching:] at AppController.mm:1058 #2 0x308f15a4 in -[UIApplication _performInitializationWithURL:sourceBundleID:] #3 0x308f117c in -[UIApplication _runWithURL:sourceBundleID:] #4 0x309374b0 in -[UIApplication handleEvent:withNewEvent:] #5 0x30936cf0 in -[UIApplication sendEvent:] #6 0x3093687c in _UIApplicationHandleEvent #7 0x3204696c in PurpleEventCallback #8 0x30254a76 in CFRunLoopRunSpecific #9 0x3025416a in CFRunLoopRunInMode #10 0x308f0354 in -[UIApplication _run] #11 0x308eea94 in UIApplicationMain </code></pre> <p>with Twitter source files (throws up EXC_BAD_ACESS):</p> <pre><code>#0 0x00533b8c in registerMyOwnPluginCallback at MyPlugin.c:17 #1 0x308f15a4 in -[UIApplication _performInitializationWithURL:sourceBundleID:] #2 0x308f117c in -[UIApplication _runWithURL:sourceBundleID:] #3 0x309374b0 in -[UIApplication handleEvent:withNewEvent:] #4 0x30936cf0 in -[UIApplication sendEvent:] #5 0x3093687c in _UIApplicationHandleEvent #6 0x3204696c in PurpleEventCallback #7 0x30254a76 in CFRunLoopRunSpecific #8 0x3025416a in CFRunLoopRunInMode #9 0x308f0354 in -[UIApplication _run] #10 0x308eea94 in UIApplicationMain #11 0x0001b8c4 in main at main.mm:18 </code></pre> <p>I only added source files for compilation and didn't modify the starting code.</p> <p>What can be the cause of this kind of behaviour?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload