ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #08956
Re: Application crash on utopic but not trusty
On Tue, 2014-07-08 at 17:34 +0200, Michał Sawicz wrote:
> On 08.07.2014 17:25, Robert Schroll wrote:
> > How does one do that? Every time I try to launch an application from an
> > ssh session, I get
> >
> >> QUbuntu: Could not create application instance
> >> Aborted (core dumped)
> >
> > Obviously, there's some special sauce that I'm missing.
>
> A temporary workaround for that (until we get proper support for gdb
> runs) is passing:
>
> --desktop_file_hint=/path/to/your/file.desktop
>
> The reason for that is we need a strong relationship between the app's
> data and the process. Normally it's upstart providing us with that
> relationship, but as you want to run outside of upstart, the above is a
> temporary (unsupported) workaround.
The supported way is to use QtCreator, which I think that Benjamin got
working (cc'd to check). It sets up a custom click that can be used for
debugging and connects back to GDB on the host. Then you're running the
app under confinement in the same manner as it normally runs, just with
a gdb connection.
Ted
Follow ups
References