-
Notifications
You must be signed in to change notification settings - Fork 128
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
App crashes after setting centerWindow multiple times (iOS) #213
Comments
i have the same issue |
Same problem here, app crash at first time I try to setCenterwindow |
I have the problem that I try to set a window that has been created with Alloy. So I get the window reference using Alloy.createController("myControllerScript.js").getView(). But using this reference crashes the app immediately. Other than the that, the example app is working. But in the example app a window is used, that has been created with Titanium scrip only. Is it possible that there is difference? |
Here is the code I'm using and it works flawlessly. This is inside my menuClick function `
} The problem I'm seeing in the system.log is this:
I'm guessing I'm not releasing my windows properly, which eventually causes the app to crash. So trying to get to the root of the issue. |
I'm also getting crash without any logs, while set center window
I'm using 2.1.1 dk.napp.drawer and Ti SDK 7.2.0.GA |
I'm also getting same issue. I tested with 7.0.1.GA and 7.2.0.GA with 2.0.0, 2.1.0, 2.1.1 versions of module. |
Hello @viezel |
Same problem here, I keep getting SIGSEGV and SIGBUS segmentation fault crashes with setCenterWindow. iOS only, Android works fine. I'm on NappDrawer 2.1.1, reproduced on both Titanium 7.4.0 and 7.4.1. I've tried everything I can think of in my JS code to ensure I don't have any orphaned references that would cause memory conflicts, so I'm pretty sure it's in the native code. |
Is anybody there to look at up on to this issue? |
I'm sorry but I think this module is unmaintained :-( |
@mitulbhalia try to set the View instead of Window |
@rsimbu89 I am talking about iOS module. |
@viezel @hansemannn Any update on this issue as I am waiting for the solution. |
I can confirm this is working using Titanium SDK 7.5.0 GA. I tried to compile it using TI SDK 8.0 GA and it no longer works. |
I have the same issue for Crash. Can anyone find any solution for this issue? Application Specific Information: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread Thread 0 crashed with X86 Thread State (64-bit): Logical CPU: 2 |
same here, I don't think this will ever be fixed |
downgrading to 1.2.4 fixed it, I will stick with that for now |
Thanks, @marconealberto for the reply. I already downgrade the Modules and compiled it. It works fine after downgrading the modules. |
I think it can help to workarround viezel#229 viezel#221 viezel#213
I can't explain why the example is working, but when I set new center windows the app crashes without any messages in the console. It just stops.
Add some timeouts after the main window has opened;
This will crash the app after the second window (green) has been set.
Running SDK 7.0.1.GA
The text was updated successfully, but these errors were encountered: