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

Investigate Crash On Adding New Report #3

Open
antikathistemi opened this issue Feb 17, 2012 · 8 comments
Open

Investigate Crash On Adding New Report #3

antikathistemi opened this issue Feb 17, 2012 · 8 comments
Labels
Milestone

Comments

@antikathistemi
Copy link

I experience the app crashing when trying to add a new report (plus button)

App Version: 1.12
Device Model: iPhone
Device Version: 5.0.1

@ghost ghost assigned dalezak Feb 17, 2012
@dalezak
Copy link
Collaborator

dalezak commented Apr 2, 2012

This problem is fixed in new version.

@dalezak dalezak closed this as completed Apr 2, 2012
@mrblog
Copy link

mrblog commented Jan 16, 2013

It still crashes for me. I don't want to start experimenting with the app if the base version without any mods doesn't work:

Test
2013-01-15 20:21:53.279 Ushahidi[39560:16403] -[USHReportMapViewController mapView:viewForAnnotation:] [Line 127] Test
2013-01-15 20:22:29.572 Ushahidi[39560:16403] -[USHHeaderView paddingForTable:] [Line 72] Parent:320.000000 Width:320.000000
2013-01-15 20:22:32.487 Ushahidi[39560:16403] -[USHHeaderView paddingForTable:] [Line 72] Parent:320.000000 Width:320.000000
2013-01-15 20:22:51.917 Ushahidi[39560:16403] -[USHViewController viewWillDisappear:] [Line 264] USHReportMapViewController_iPad
2013-01-15 20:22:51.918 Ushahidi[39560:16403] -[USHReportTabBarController tabBarController:didSelectViewController:] [Line 304] UIViewController
2013-01-15 20:22:51.919 Ushahidi[39560:16403] -[USHViewController viewDidDisappear:] [Line 270] USHReportMapViewController_iPad

Simulator: iPad iOS 5.0 (same problem iOS 6)

@dalezak
Copy link
Collaborator

dalezak commented Jan 23, 2013

Thanks for reporting this issue, I'll investigate and include a fix ASAP.

@dalezak dalezak reopened this Jan 23, 2013
@dalezak
Copy link
Collaborator

dalezak commented Jan 23, 2013

Re-opened issue.

@dalezak
Copy link
Collaborator

dalezak commented Jan 27, 2013

Hey David, I have been unable to recreate this problem.

I've tested on the iPad Simulator for iOS 5.0 (http://o7.no/X18O3H), iOS 5.1 (http://o7.no/X18KAV) and iOS 6.0 (http://o7.no/TEOBGf).

Any additional information you can provide that could help identify cause of the crash?

@mrblog
Copy link

mrblog commented Jan 27, 2013

Thanks. Unfortunately, it looks like those Dropbox links have expired. I removed the X code project and started fresh and did nothing but Build/Run. I guess it isn't crashing, but the Report option doesn't do anything. It gives a black screen and the console shows the following:

2013-01-26 22:22:22.147 Ushahidi[49149:16403] -[USHViewController viewWillAppear:] [Line 251] USHReportMapViewController_iPad
2013-01-26 22:22:22.234 Ushahidi[49149:16403] -[USHReportTabBarController tabBarController:didSelectViewController:] [Line 292] USHReportMapViewController
2013-01-26 22:22:22.235 Ushahidi[49149:16403] -[UIViewController(USH) barButtonWithItems:] [Line 104] Nib:USHReportTabBarController Items:3 Width:88.000000
2013-01-26 22:22:22.238 Ushahidi[49149:16403] -[USHViewController viewDidAppear:] [Line 257] USHReportMapViewController_iPad
2013-01-26 22:22:29.729 Ushahidi[49149:16403] -[USHViewController viewWillDisappear:] [Line 264] USHReportMapViewController_iPad
2013-01-26 22:22:29.730 Ushahidi[49149:16403] -[USHReportTabBarController tabBarController:didSelectViewController:] [Line 304] UIViewController
2013-01-26 22:22:29.731 Ushahidi[49149:16403] -[USHViewController viewDidDisappear:] [Line 270] USHReportMapViewController_iPad

It doesn't let the user enter a report. Is this the correct behavior?

There are build warnings:
Ushahidi_iPhone-master/App/Classes/Models/USHSettings.m:34:1: Casting 'volatile USHSettings *' to type 'USHSettings *' discards qualifiers

ld: warning: directory not found for option '-FUshahidi_iPhone-master/App/Libraries'

There is no App/Libraries from the archive, as is. I created a symlink to ../SDK/Libraries and got rid of that warning, but the Report option still just gives a blank/black screen.

iOS Simulator Screen shot Jan 26 2013 10 25 44 PM

@dalezak
Copy link
Collaborator

dalezak commented Jan 27, 2013

Ah-ha! I thought something weird was happening.

I believe it's related to the location of the Ushahidi.SDK library project.

I had problems getting the App project to find the SDK project, so referenced the location as absolute path.

I'll investigate changing it to relative path which hopefully fixes your problem.

@isaaclimdc
Copy link
Contributor

I don't believe this problem exists in the current build anymore.

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

No branches or pull requests

4 participants