TextSecure on Nexus 5



  • Hi,
    Has anyone tried to use TextSecure on a Nexus 5?
    It works fine on my Nexus 4 running the last version of Ubuntu Touch from Canonical, but it crashes on my Nexus 5 with Ubports OTA-2 (as it did with version 1). It loads up ok, but as soon as i select a contact or try to compose a message it crashes. Would really like to get this app working again.



  • I have the same issue, it opens but when i try to read a message it crashes. (N5, R1 + R2, never worked)
    Is there an easy way to start it from terminal to see any debugging info?



  • @htc_tattoo check ~/.cache/upstart/ and look for the most recent log files ls -ltr



  • @doniks @htc_tattoo

    Same happens on my Nexus5. Here's ~/.cache/upstart/unity8.log after starting Textsecure, then selecting an existing message and the crash.

    [2017-10-29:15:02:17.862] qtmir.applications: ApplicationManager::onProcessStarting - appId= "textsecure.jani_textsecure"
    [2017-10-29:15:02:17.868] qtmir.applications: Application["textsecure.jani_textsecure"]::Application()
    [2017-10-29:15:02:17.871] qtmir.applications: ApplicationManager::add(appId="textsecure.jani_textsecure")
    [2017-10-29:15:02:17.872] unity.topsurfacelist: addApplication(textsecure.jani_textsecure)
    [2017-10-29:15:02:17.873] unity.topsurfacelist: appendPlaceholder(textsecure.jani_textsecure)
    [2017-10-29:15:02:17.887] qtmir.surfaces: MirSurfaceItem::MirSurfaceItem
    [2017-10-29:15:02:17.908] qtmir.surfaces: MirSurfaceItem::setOrientationAngle(0)
    [2017-10-29:15:02:17.909] qtmir.surfaces: MirSurfaceItem::setSurface surface=QObject(0x0) 
    [2017-10-29:15:02:17.980] qtmir.applications: Application["textsecure.jani_textsecure"]::setInitialSurfaceSize(size=QSize(230, 161))
    [2017-10-29:15:02:18.009] file:///usr/share/unity8//Stage/Stage.qml:1631:17: QML WindowInfoItem: Binding loop detected for property "maxWidth"
    [2017-10-29:15:02:18.020] qtmir.applications: Application["textsecure.jani_textsecure"]::setInitialSurfaceSize(size=QSize(230, 230))
    [2017-10-29:15:02:18.026] qtmir.applications: Application["textsecure.jani_textsecure"]::setInitialSurfaceSize(size=QSize(230, 1851))
    [2017-10-29:15:02:18.027] qtmir.applications: Application["textsecure.jani_textsecure"]::setInitialSurfaceSize(size=QSize(1080, 1851))
    [2017-10-29:15:02:18.030] unity.topsurfacelist: raiseId(id=40) - Model busy (modelState=1). Try again in the next event loop.
    [2017-10-29:15:02:18.032] qtmir.surfaces: MirSurface[0x174b750,"unity8-dash"]::updateActiveFocus() unfocused
    [2017-10-29:15:02:18.034] file:///usr/share/unity8//Stage/WindowDecoration.qml:92:26: Unable to assign [undefined] to int
    [2017-10-29:15:02:18.036] unity.topsurfacelist: appendSurfaceHelper after (index=0,appId=unity8-dash,surface=0x174b750,id=1),(index=1,appId=textsecure.jani_textsecure,surface=0x0,id=40)
    [2017-10-29:15:02:18.041] qtmir.applications: ApplicationManager::add(appId="textsecure.jani_textsecure") - after "unity8-dash,textsecure.jani_textsecure"
    [2017-10-29:15:02:18.041] qtmir.applications: Application["textsecure.jani_textsecure"]::requestFocus() - emitting focusRequested()
    [2017-10-29:15:02:18.056] unity.topsurfacelist: raiseId(id=40) - do it now.
    [2017-10-29:15:02:18.059] unity.topsurfacelist: move from=1 to=0
    [2017-10-29:15:02:18.072] qtmir.applications: Application["unity8-dash"]::setRequestedState(requestedState=suspended)
    [2017-10-29:15:02:18.084] unity.topsurfacelist: move after (index=0,appId=textsecure.jani_textsecure,surface=0x0,id=40),(index=1,appId=unity8-dash,surface=0x174b750,id=1)
    [2017-10-29:15:02:18.085] qtmir.sessions: Wakelock acquired "214"
    [2017-10-29:15:02:18.246] qtmir.surfaces: MirSurface[0x174b750,"unity8-dash"]::updateVisibility(false)
    [2017-10-29:15:02:18.246] qtmir.surfaces: MirSurface[0x174b750,"unity8-dash"]::onAttributeChanged visible = false
    [2017-10-29:15:02:18.423] qtmir.mir: SessionAuthorizer::connection_is_allowed - this= SessionAuthorizer(0xb1606b54) pid= 32047
    [2017-10-29:15:02:18.428] qtmir.applications: ApplicationManager::authorizeSession - pid= 32047
    [2017-10-29:15:02:18.443] qtmir.mir: SessionAuthorizer::configure_display_is_allowed - this= SessionAuthorizer(0xb1606b54) pid= 32047
    [2017-10-29:15:02:18.444] qtmir.mir: SessionAuthorizer::set_base_display_configuration_is_allowed - this= SessionAuthorizer(0xb1606b54) pid= 32047
    [2017-10-29:15:02:18.444] qtmir.mir: SessionAuthorizer::screencast_is_allowed - this= SessionAuthorizer(0xb1606b54) pid= 32047
    [2017-10-29:15:02:18.444] qtmir.mir: SessionAuthorizer::prompt_session_is_allowed - this= SessionAuthorizer(0xb1606b54) pid= 32047
    [2017-10-29:15:02:18.445] qtmir.mir: SessionListener::starting - this= SessionListener(0xb02d24c4) session= 0xaceaa50c
    [2017-10-29:15:02:18.445] qtmir.sessions: SessionManager::onSessionStarting - sessionName= 
    [2017-10-29:15:02:18.446] qtmir.surfaces: Session[0x13d99e8,name=""]::Session()
    [2017-10-29:15:02:18.446] qtmir.applications: Application["textsecure.jani_textsecure"]::setSession(session=qtmir::Session(0x13d99e8) )
    [2017-10-29:15:02:18.447] qtmir.surfaces: Session[0x13d99e8,name=""]::resume state=starting
    [2017-10-29:15:02:18.600] file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/1.3/ThinDivider.qml:50: TypeError: Cannot read property of null
    [2017-10-29:15:02:18.601] file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/1.3/ThinDivider.qml:51: TypeError: Cannot read property of null
    [2017-10-29:15:02:20.000] qtmir.applications: ApplicationManager::onSessionAboutToCreateSurface appId="textsecure.jani_textsecure"
    [2017-10-29:15:02:20.000] qtmir.mir: MirWindowManagerImpl::add_surface(): size requested ( 1035 , 1840 ) and placed ( 1080 , 1851 )
    [2017-10-29:15:02:20.000] qtmir.mir: SessionListener::surface_created - this= SessionListener(0xb02d24c4) session= 0xaceaa50c surface= 0xaceafa10
    [2017-10-29:15:02:20.001] qtmir.surfaces: MirSurfaceManager::onSessionCreatedSurface - mirSession= 0xaceaa50c surface= 0xaceafa10 surface.name=  creationHints= "CreationHints(minW=0,minH=0,maxW=16777215,maxH=16777215,wIncr=0,hInc=0,shellChrome=normal)"
    [2017-10-29:15:02:20.001] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::MirSurface()
    [2017-10-29:15:02:20.001] qtmir.surfaces: Session[0x13d99e8,name=""]::registerSurface(surface=qtmir::MirSurface(0x1064930) )
    [2017-10-29:15:02:20.229] qtmir.surfaces: Session[0x13d99e8,name=""]::prependSurface(surface=qtmir::MirSurface(0x1064930) )
    [2017-10-29:15:02:20.230] unity.topsurfacelist: appendSurface appId=textsecure.jani_textsecure surface=qtmir::MirSurface(0x1064930) , filling out placeholder. after:  (index=0,appId=textsecure.jani_textsecure,surface=0x1064930,id=40),(index=1,appId=unity8-dash,surface=0x174b750,id=1)
    [2017-10-29:15:02:20.232] qtmir.surfaces: MirSurfaceItem::setSurface surface=qtmir::MirSurface(0x1064930)
    [2017-10-29:15:02:20.233] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::registerView(23324296) after=1
    [2017-10-29:15:02:20.233] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::updateVisibility(true)
    [2017-10-29:15:02:20.235] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::onAttributeChanged visible = true
    [2017-10-29:15:02:20.236] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::setScreenmoved toQPoint(0,0)px
    [2017-10-29:15:02:20.236] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::updateActiveFocus() focused
    [2017-10-29:15:02:20.237] qtmir.surfaces: MirFocusController::setFocusedSurface(qtmir::MirSurface(0x1064930) )
    [2017-10-29:15:02:20.238] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::raise()
    [2017-10-29:15:02:20.239] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::setKeymap("us")
    [2017-10-29:15:02:20.299] qtmir.surfaces: Session[0x13d99e8,name=""]::setState(state=running)
    [2017-10-29:15:02:20.299] qtmir.applications: Application["textsecure.jani_textsecure"]::setInternalState(state=Running)
    [2017-10-29:15:02:20.300] qtmir.applications: ApplicationManager::updateFocusedApplication() focused "textsecure.jani_textsecure"
    [2017-10-29:15:02:20.300] qtmir.applications: ApplicationManager::move - from= 1 to= 0
    [2017-10-29:15:02:20.300] qtmir.applications: ApplicationManager::move after  "textsecure.jani_textsecure,unity8-dash"
    [2017-10-29:15:02:20.300] qtmir.applications: ApplicationManager::updateFocusedApplication() unfocused "unity8-dash"
    [2017-10-29:15:02:26.021] qtmir.surfaces: MirSurface[0x193a208,"-"]::onAttributeChanged state = restored
    [2017-10-29:15:02:26.022] qtmir.surfaces: MirSurface[0x193a208,"-"]::updateVisibility(true)
    [2017-10-29:15:02:26.023] qtmir.surfaces: MirSurface[0x193a208,"-"]::onAttributeChanged visible = true
    [2017-10-29:15:02:26.046] qtmir.mir: SessionListener::destroying_surface - this= SessionListener(0xb02d24c4) session= 0xaceaa50c surface= 0xaceafa10
    [2017-10-29:15:02:26.046] qtmir.mir: SessionListener::stopping - this= SessionListener(0xb02d24c4) session= 0xaceaa50c
    [2017-10-29:15:02:26.047] qtmir.surfaces: MirSurfaceManager::onSessionDestroyingSurface - session= 0xaceaa50c surface= 0xaceafa10 surface.name= +447724995765
    [2017-10-29:15:02:26.047] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::setLive(false)
    [2017-10-29:15:02:26.048] qtmir.surfaces: MirSurfaceItem::setSurface surface=QObject(0x0) 
    [2017-10-29:15:02:26.048] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::unregisterView(23324296) after=0 live=false
    [2017-10-29:15:02:26.048] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::updateActiveFocus() unfocused
    [2017-10-29:15:02:26.050] qtmir.sessions: SessionManager::onSessionStopping - sessionName= 
    [2017-10-29:15:02:26.051] qtmir.surfaces: Session[0x13d99e8,name=""]::setLive(false)
    [2017-10-29:15:02:26.051] qtmir.surfaces: Session[0x13d99e8,name=""]::setState(state=stopped)
    [2017-10-29:15:02:26.051] qtmir.applications: Application["textsecure.jani_textsecure"]::setInternalState(state=Stopped)
    [2017-10-29:15:02:26.051] qtmir.applications: ApplicationManager::remove(appId="textsecure.jani_textsecure") - before "textsecure.jani_textsecure,unity8-dash"
    [2017-10-29:15:02:26.051] unity.topsurfacelist: removeApplication(textsecure.jani_textsecure)
    [2017-10-29:15:02:26.054] unity.topsurfacelist: raiseId(id=1) - Model busy (modelState=2). Try again in the next event loop.
    [2017-10-29:15:02:26.055] qtmir.surfaces: MirFocusController::setFocusedSurface(qtmir::MirSurface(0x174b750) )
    [2017-10-29:15:02:26.057] qtmir.surfaces: MirSurface[0x174b750,"unity8-dash"]::raise()
    [2017-10-29:15:02:26.058] qtmir.applications: Application["unity8-dash"]::setRequestedState(requestedState=running)
    [2017-10-29:15:02:26.059] qtmir.surfaces: MirSurface[0x174b750,"unity8-dash"]::updateActiveFocus() focused
    [2017-10-29:15:02:26.061] qtmir.applications: Application["textsecure.jani_textsecure"]::setRequestedState(requestedState=suspended)
    [2017-10-29:15:02:26.062] unity.topsurfacelist: removeApplication after (index=0,appId=unity8-dash,surface=0x174b750,id=1)
    [2017-10-29:15:02:26.063] qtmir.applications: ApplicationManager::remove(appId="textsecure.jani_textsecure") - after "unity8-dash"
    [2017-10-29:15:02:26.064] qtmir.sessions: Wakelock released "214"
    [2017-10-29:15:02:26.064] qtmir.surfaces: MirSurface[0x1064930,"textsecure.jani_textsecure"]::~MirSurface() viewCount=0
    [2017-10-29:15:02:26.064] qtmir.surfaces: Session[0x13d99e8,name=""]::removeSurface(surface=qtmir::MirSurface(0x1064930) )
    [2017-10-29:15:02:26.064] qtmir.surfaces: Session[0x13d99e8,name=""]::deleteIfZombieAndEmpty - deleteLater()
    [2017-10-29:15:02:26.064] unity.topsurfacelist: raiseId(id=1) - do it now.
    [2017-10-29:15:02:26.065] qtmir.applications: ApplicationManager::updateFocusedApplication() focused "unity8-dash"
    [2017-10-29:15:02:26.065] qtmir.applications: ApplicationManager::move - from= 0 to= 0
    [2017-10-29:15:02:26.079] qtmir.surfaces: MirSurfaceItem::~MirSurfaceItem - this= qtmir::MirSurfaceItem (this = 0x163e688 , name= "surfaceItem" , parent = 0x0 , geometry = QRectF(0,0 1080x1851) , z = 0 )
    [2017-10-29:15:02:26.082] qtmir.surfaces: MirSurfaceItem::setSurface surface=QObject(0x0) 
    [2017-10-29:15:02:26.086] qtmir.applications: Application["textsecure.jani_textsecure"]::~Application()
    [2017-10-29:15:02:26.086] qtmir.surfaces: Session[0x13d99e8,name=""]::~Session()
    [2017-10-29:15:02:26.089] qtmir.surfaces: MirSurface[0x174b750,"unity8-dash"]::updateVisibility(true)
    [2017-10-29:15:02:26.090] qtmir.surfaces: MirSurface[0x174b750,"unity8-dash"]::onAttributeChanged visible = true
    [2017-10-29:15:02:26.232] qtmir.surfaces: MirSurface[0x193a208,"-"]::onAttributeChanged state = ???
    [2017-10-29:15:02:26.232] qtmir.surfaces: MirSurface[0x193a208,"-"]::updateVisibility(false)
    [2017-10-29:15:02:26.232] qtmir.surfaces: MirSurface[0x193a208,"-"]::onAttributeChanged visible = false
    [2017-10-29:15:02:26.532] qtmir.applications: ApplicationManager::onProcessFailed - appId= "textsecure.jani_textsecure"
    [2017-10-29:15:02:26.534] ApplicationManager::onProcessFailed - upstart reports failure of application "textsecure.jani_textsecure" that AppManager is not managing
    [2017-10-29:15:02:26.547] qtmir.applications: ApplicationManager::onProcessStopped - appId= "textsecure.jani_textsecure"
    [2017-10-29:15:02:26.547] ApplicationManager::onProcessStopped reports stop of appId= "textsecure.jani_textsecure" which AppMan is not managing, ignoring the event
    [2017-10-29:15:02:26.637] file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/1.3/ThinDivider.qml:50: TypeError: Cannot read property of null
    [2017-10-29:15:02:26.637] file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/1.3/ThinDivider.qml:51: TypeError: Cannot read property of null


  • I guess we have to wait and see if anyone replies to the call for someone to take over the development of this app. Shame!



  • @bf said in TextSecure on Nexus 5:

    guess we have to wait and see if anyone replies to the call for someone to take over the development of this app. Shame!

    If no1 takes care of it untill the weekend, I will try and look in it.....but not making any promises.



  • @vadrian89 That would be appreciated and I understand it's not a promise. Just to get the last version, which worked fine on my nexus 4, running on the nexus 5, would be great.

    It would be a bonus if we eventually get someone to take up the development. Let's hope, and thanks for any help in the meantime.



  • @bf I'm sorry, but I managed to look into the github repository today and noticed that the backend for TextSecure is written in Go and I haven't learned it.(and sadly, a the moment, I do not have time to learn it).

    Again, sorry for getting any hopes up.



  • @vadrian89 Not to worry. Thanks for taking the time to look and reply...and for keeping the thread alive. Maybe someone out there who knows GO will be willing to have a look. Textsecure is a great messaging app and it would be an asset to have it available and working for the Ubuntu phone.


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.