Instruments exited with code 0

I am testing a new mobile application and have written some scripts that in the past were working, not for some reason they seem to be giving me issues.
One of my test scripts executes fine, until it gets to the end and then the application closes and I see the following in my Appium window.

Does anyone have any clue why this would be happening?

Running Appium 1.4.8

info: [debug] [INST] Instruments Trace Complete (Duration : 139.272583s; Output : /tmp/appium-instruments/instrumentscli0.trace)

info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Cleaning up after instruments exit
info: [debug] Stopping iOS log capture
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] Killall iOS Simulator
info: [debug] On a real device; cannot clean device state
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"c29758a7-b39a-4f99-b037-fb5b158dee2f"}

What is the offending test script?

I think you should open this file and see what it says.

I think I have figured out what the issue is.
One of my scripts is doing a check for text on the screen, if it fails, then for some reason it seems like it crashes the instruments.
If it is successful, then the script keeps executing.

Here is my code for identifying the elements on the screen and some basic functions I have built to interact with them.

class LRDashboardScreen extends Page{

@Shared JsonReader json = new JsonReader()


static at = {
    screenLabel.text() == "Dashboard"
}


/*Elements locator */
static content = {
    settingsButton { $(By.name('settingsButton')) }
    screenLabel(wait: true) { $(By.name('Dashboard')).$(By.name('Dashboard')) }
    eventTitle { $(By.name('eventTitleLabel')) }
    eventDate { $(By.name('eventDateLabel')) }
    eventLocation { $(By.name('eventLocationLabel')) }
    exhibOrgTotal { $(By.name('exhibOrgTotalLabel')) }
    exhibOrgName { $(By.name('exhibOrgNameLabel')) }
    scanButton { $(By.name('scanButton')) }
    enterButton { $(By.name('manualButton')) }
    leadsList { $(By.name('leadsListButton')) }
}


void clickSettingsButton(){
    waitFor { settingsButton.isDisplayed() }
    settingsButton.click()
}


void clickScanButton(){
    waitFor { scanButton.isDisplayed() }
    scanButton.click()
}


void clickEnter(){
    waitFor { enterButton.isDisplayed() }
    enterButton.click()
}


void displayLeads(){
    waitFor { leadsList.displayed}
    leadsList.click()
}


void logOut() {
    clickSettingsButton()
    LRSettingsScreen.clickLogout()
    LRLogoutConfirmScreen.cancelLogout()
}


boolean isEventTitleCorrect() {
    String expectedEventTitle = json.usersJson.event.eventTitle
    return eventTitle.text() == expectedEventTitle
}


boolean isEventDateCorrect() {
    String expectedEventDate = json.usersJson.event.eventDate
    return eventDate.text() == expectedEventDate
}


boolean isEventLocationCorrect() {
    String expectedEventLocation = json.usersJson.event.eventLocation
    return eventLocation.text() == expectedEventLocation
}


boolean isExhibitorNameCorrect() {
    String expectedExhibitorName = json.usersJson.event.exhibitorName
    return exhibOrgName.text() == expectedExhibitorName
}

}

The offending calls are the boolean calls that do a compare of what is in my JSON file vs. whats on the screen. If it fails, then it seems like something in the instruments crashes, not quite sure though.