??????????????????????????????

------------------ ???????? ------------------
??????:&nbsp;"devel-request"<devel-requ...@lists.sailfishos.org&gt;;
????????:&nbsp;2020??4??15??(??????) ????8:00
??????:&nbsp;"devel"<devel@lists.sailfishos.org&gt;;

????:&nbsp;Devel Digest, Vol 72, Issue 17



Send Devel mailing list submissions to
        devel@lists.sailfishos.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel
or, via email, send a message with subject or body 'help' to
        devel-requ...@lists.sailfishos.org

You can reach the person managing the list at
        devel-ow...@lists.sailfishos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Devel digest..."


Today's Topics:

&nbsp;&nbsp; 1. Re: ??????Devel&nbsp; Digest, Vol 72, Issue 15 (Chris Walker)
&nbsp;&nbsp; 2. Re: Lipstick not launching app (Adam Pigg)
&nbsp;&nbsp; 3. Re: Lipstick not launching app (Slava Monich)
&nbsp;&nbsp; 4. Re: Lipstick not launching app (Julien Blanc)


----------------------------------------------------------------------

Message: 1
Date: Tue, 14 Apr 2020 13:04:50 +0100
From: Chris Walker <cdw_noki...@the-walker-household.co.uk&gt;
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] ??????Devel&nbsp; Digest, Vol 72, Issue 15
Message-ID:
        
<f33813a67807e04eeedf4b6fbe59d676d9d169e2.ca...@the-walker-household.co.uk&gt;
        
Content-Type: text/plain; charset="UTF-8"

On Tue, 2020-04-14 at 19:39 +0800, ???????????????? wrote:
&gt; 
&gt; ??????????????

For pete's sake learn to quote the stuff you need and not the whole
digest!

Also, try and post in English.

-- 
&nbsp;__ __| |_ __ __&nbsp; .-------------------------------------------------.
/ _/ _` \ V&nbsp; V /&nbsp; |&nbsp; 
mailto:cdw_noki...@the-walker-household.co.uk&nbsp; |
\__\__,_|\_/\_/&nbsp;&nbsp; |_________________________________________________|



------------------------------

Message: 2
Date: Tue, 14 Apr 2020 13:50:42 +0100
From: Adam Pigg <a...@piggz.co.uk&gt;
To: Sailfish OS Developers <devel@lists.sailfishos.org&gt;
Subject: Re: [SailfishDevel] Lipstick not launching app
Message-ID:
        <canfkb1xanw86gurr7sooliudo2b7krz5y3ogirv54xgqolh...@mail.gmail.com&gt;
Content-Type: text/plain; charset="UTF-8"

I think the qt5 booster is a no-op, but im sure someone with more
knowledge can correct me.&nbsp; The regular booster will try and load the
app as a shared library so it will need to be compiled a certain way.
Depends how your app is written.&nbsp; Anything based on the sdk templates
should be fine.

On Tue, 14 Apr 2020 at 12:19, Julien Blanc <julien.bl...@tgcm.eu&gt; wrote:
&gt;
&gt; Le mardi 14 avril 2020 ?? 11:27 +0100, Adam Pigg a ??crit :
&gt; &gt; Have you tried using invoker to launch it?
&gt;
&gt; [nemo@Sailfish ~]$ invoker --type silica-qt5 harbour-kontroller
&gt; invoker: Invoking execution: '/usr/bin/harbour-kontroller'
&gt; invoker: error: Can't send signal 11 to application [24388]: No such
&gt; process
&gt; Segmentation fault
&gt;
&gt; [nemo@Sailfish ~]$ invoker --type qt5 harbour-kontroller
&gt; invoker: Invoking execution: '/usr/bin/harbour-kontroller'
&gt;
&gt; --&gt; app launches correctly.
&gt;
&gt; So that??s indeed a difference, and i can fix the .desktop file
&gt; accordingly. Thanks for the tip.
&gt;
&gt; But what is the difference between silica-qt5 and qt5 ? Why would it
&gt; cause an app crash ?
&gt;
&gt; Regards,
&gt;
&gt; Julien
&gt;
&gt; &gt; On Tue, 14 Apr 2020 at 11:18, Julien Blanc <julien.bl...@tgcm.eu&gt;
&gt; &gt; wrote:
&gt; &gt; &gt; Finally found something relevant in the logs :
&gt; &gt; &gt;
&gt; &gt; &gt; Apr 14 12:15:42 Sailfish mapplauncherd[5363]: Boosted process
&gt; &gt; &gt; (pid=16324) was terminated due to signal 11
&gt; &gt; &gt;
&gt; &gt; &gt; So apparently, my app segfaults, but only when launched from
&gt; &gt; &gt; applauncherd. This is somewhat good news. I can start to track 
the
&gt; &gt; &gt; issue adding some debug traces.
&gt; &gt; &gt;
&gt; &gt; &gt; I'm still puzzled as what's the difference between launching from
&gt; &gt; &gt; lipstick and from a terminal.
&gt; &gt; &gt;
&gt; &gt; &gt; Regards,
&gt; &gt; &gt;
&gt; &gt; &gt; Julien
&gt; &gt; &gt;
&gt; &gt; &gt; Le mardi 14 avril 2020 ?? 07:35 +0200, Julien Blanc a ??crit :
&gt; &gt; &gt; &gt; There it is :
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; [Desktop Entry]
&gt; &gt; &gt; &gt; Type=Application
&gt; &gt; &gt; &gt; X-Nemo-Application-Type=silica-qt5
&gt; &gt; &gt; &gt; Icon=harbour-kontroller
&gt; &gt; &gt; &gt; Exec=harbour-kontroller
&gt; &gt; &gt; &gt; Name=Kontroller
&gt; &gt; &gt; &gt; # translation example:
&gt; &gt; &gt; &gt; # your app name in German locale (de)
&gt; &gt; &gt; &gt; #
&gt; &gt; &gt; &gt; # Remember to comment out the following line, if you do not 
want
&gt; &gt; &gt; &gt; to
&gt; &gt; &gt; &gt; use
&gt; &gt; &gt; &gt; # a different app name in German locale (de).
&gt; &gt; &gt; &gt; #Name[de]=kontroller
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; The whole source code is available here:
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; https://github.com/Julien-Blanc-tgcm/kontroller
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; I changed a lot of things from v0.6, so tracking which 
particular
&gt; &gt; &gt; &gt; change triggers the problem is not an easy task. I??d 
rather have
&gt; &gt; &gt; &gt; a
&gt; &gt; &gt; &gt; way
&gt; &gt; &gt; &gt; to get more traces from lipstick than reverting every single
&gt; &gt; &gt; &gt; change i
&gt; &gt; &gt; &gt; made.
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; THanks for your help,
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; Regards,
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; Julien
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; Le lundi 13 avril 2020 ?? 19:57 +0300, ???????????? 
???????????????????? a ??crit :
&gt; &gt; &gt; &gt; &gt; Hello. You're right. Show us your .desktop file to 
judge
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; ????, 13 ??????. 2020 ??. ?? 19:12, Julien Blanc 
<julien.bl...@tgcm.eu
&gt; &gt; &gt; &gt; &gt; &gt;:
&gt; &gt; &gt; &gt; &gt; &gt; Hi,
&gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; I??m running into a pretty annoying issue with 
lipstick not
&gt; &gt; &gt; &gt; &gt; &gt; launching
&gt; &gt; &gt; &gt; &gt; &gt; the application i develop anymore (occurs with 
3.3, but
&gt; &gt; &gt; &gt; &gt; &gt; occurs
&gt; &gt; &gt; &gt; &gt; &gt; after i
&gt; &gt; &gt; &gt; &gt; &gt; made some changes which should not be relevant).
&gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; The application launch fine from a terminal, 
launch fine from
&gt; &gt; &gt; &gt; &gt; &gt; the
&gt; &gt; &gt; &gt; &gt; &gt; sdk,
&gt; &gt; &gt; &gt; &gt; &gt; but launching it from lipstick, it never gets 
launched and
&gt; &gt; &gt; &gt; &gt; &gt; the
&gt; &gt; &gt; &gt; &gt; &gt; process
&gt; &gt; &gt; &gt; &gt; &gt; does not show up when running top/ps &amp; co.
&gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; This seems like there could be something wrong 
with my
&gt; &gt; &gt; &gt; &gt; &gt; .desktop
&gt; &gt; &gt; &gt; &gt; &gt; file,
&gt; &gt; &gt; &gt; &gt; &gt; but it didn't change between version 0.6 which 
was working
&gt; &gt; &gt; &gt; &gt; &gt; fine
&gt; &gt; &gt; &gt; &gt; &gt; with
&gt; &gt; &gt; &gt; &gt; &gt; 3.3 and the dev version, which is not (i could 
not test dev
&gt; &gt; &gt; &gt; &gt; &gt; version
&gt; &gt; &gt; &gt; &gt; &gt; with 3.2 yet).
&gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; journalctl does not show anything. There must be 
something
&gt; &gt; &gt; &gt; &gt; &gt; wrong
&gt; &gt; &gt; &gt; &gt; &gt; with
&gt; &gt; &gt; &gt; &gt; &gt; my app, since it is the only one showing this 
behaviour (and
&gt; &gt; &gt; &gt; &gt; &gt; it
&gt; &gt; &gt; &gt; &gt; &gt; didn't
&gt; &gt; &gt; &gt; &gt; &gt; before), but i'm puzzled as how to debug this. 
Any pointer
&gt; &gt; &gt; &gt; &gt; &gt; would
&gt; &gt; &gt; &gt; &gt; &gt; be
&gt; &gt; &gt; &gt; &gt; &gt; greatly appreciated.
&gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; Regards,
&gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; Julien
&gt; &gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; &gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; &gt; &gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; &gt; &gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; &gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; &gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; &gt;
&gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; _______________________________________________
&gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt;
&gt; _______________________________________________
&gt; SailfishOS.org Devel mailing list
&gt; To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


------------------------------

Message: 3
Date: Tue, 14 Apr 2020 16:47:28 +0300
From: Slava Monich <slava.mon...@jolla.com&gt;
To: Sailfish OS Developers <devel@lists.sailfishos.org&gt;
Subject: Re: [SailfishDevel] Lipstick not launching app
Message-ID: <9f9f3ea3-7017-449d-2878-bd345e0bd...@jolla.com&gt;
Content-Type: text/plain; charset=utf-8; format=flowed

Just so you know, boosters may have to go because of this change in glibc:

&nbsp;&nbsp;&nbsp; https://sourceware.org/bugzilla/show_bug.cgi?id=24323

It has been reverted in Sailfish OS:

https://git.sailfishos.org/mer-core/glibc/commit/df05690

but at some point boosters may get replaced with simple fork() wrappers. 
They should still start your app, though.

Cheers,
-Slava

&gt; I think the qt5 booster is a no-op, but im sure someone with more
&gt; knowledge can correct me.&nbsp; The regular booster will try and load the
&gt; app as a shared library so it will need to be compiled a certain way.
&gt; Depends how your app is written.&nbsp; Anything based on the sdk templates
&gt; should be fine.
&gt;
&gt; On Tue, 14 Apr 2020 at 12:19, Julien Blanc <julien.bl...@tgcm.eu&gt; wrote:
&gt;&gt; Le mardi 14 avril 2020 ?? 11:27 +0100, Adam Pigg a ??crit :
&gt;&gt;&gt; Have you tried using invoker to launch it?
&gt;&gt; [nemo@Sailfish ~]$ invoker --type silica-qt5 harbour-kontroller
&gt;&gt; invoker: Invoking execution: '/usr/bin/harbour-kontroller'
&gt;&gt; invoker: error: Can't send signal 11 to application [24388]: No such
&gt;&gt; process
&gt;&gt; Segmentation fault
&gt;&gt;
&gt;&gt; [nemo@Sailfish ~]$ invoker --type qt5 harbour-kontroller
&gt;&gt; invoker: Invoking execution: '/usr/bin/harbour-kontroller'
&gt;&gt;
&gt;&gt; --&gt; app launches correctly.
&gt;&gt;
&gt;&gt; So that??s indeed a difference, and i can fix the .desktop file
&gt;&gt; accordingly. Thanks for the tip.
&gt;&gt;
&gt;&gt; But what is the difference between silica-qt5 and qt5 ? Why would it
&gt;&gt; cause an app crash ?
&gt;&gt;
&gt;&gt; Regards,
&gt;&gt;
&gt;&gt; Julien
&gt;&gt;
&gt;&gt;&gt; On Tue, 14 Apr 2020 at 11:18, Julien Blanc 
<julien.bl...@tgcm.eu&gt;
&gt;&gt;&gt; wrote:
&gt;&gt;&gt;&gt; Finally found something relevant in the logs :
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Apr 14 12:15:42 Sailfish mapplauncherd[5363]: Boosted process
&gt;&gt;&gt;&gt; (pid=16324) was terminated due to signal 11
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; So apparently, my app segfaults, but only when launched from
&gt;&gt;&gt;&gt; applauncherd. This is somewhat good news. I can start to track 
the
&gt;&gt;&gt;&gt; issue adding some debug traces.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I'm still puzzled as what's the difference between launching 
from
&gt;&gt;&gt;&gt; lipstick and from a terminal.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Julien
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Le mardi 14 avril 2020 ?? 07:35 +0200, Julien Blanc a ??crit :
&gt;&gt;&gt;&gt;&gt; There it is :
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; [Desktop Entry]
&gt;&gt;&gt;&gt;&gt; Type=Application
&gt;&gt;&gt;&gt;&gt; X-Nemo-Application-Type=silica-qt5
&gt;&gt;&gt;&gt;&gt; Icon=harbour-kontroller
&gt;&gt;&gt;&gt;&gt; Exec=harbour-kontroller
&gt;&gt;&gt;&gt;&gt; Name=Kontroller
&gt;&gt;&gt;&gt;&gt; # translation example:
&gt;&gt;&gt;&gt;&gt; # your app name in German locale (de)
&gt;&gt;&gt;&gt;&gt; #
&gt;&gt;&gt;&gt;&gt; # Remember to comment out the following line, if you do 
not want
&gt;&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;&gt; use
&gt;&gt;&gt;&gt;&gt; # a different app name in German locale (de).
&gt;&gt;&gt;&gt;&gt; #Name[de]=kontroller
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; The whole source code is available here:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; https://github.com/Julien-Blanc-tgcm/kontroller
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I changed a lot of things from v0.6, so tracking which 
particular
&gt;&gt;&gt;&gt;&gt; change triggers the problem is not an easy task. I??d 
rather have
&gt;&gt;&gt;&gt;&gt; a
&gt;&gt;&gt;&gt;&gt; way
&gt;&gt;&gt;&gt;&gt; to get more traces from lipstick than reverting every 
single
&gt;&gt;&gt;&gt;&gt; change i
&gt;&gt;&gt;&gt;&gt; made.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; THanks for your help,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Julien
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Le lundi 13 avril 2020 ?? 19:57 +0300, ???????????? 
???????????????????? a ??crit :
&gt;&gt;&gt;&gt;&gt;&gt; Hello. You're right. Show us your .desktop file to 
judge
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; ????, 13 ??????. 2020 ??. ?? 19:12, Julien Blanc 
<julien.bl...@tgcm.eu
&gt;&gt;&gt;&gt;&gt;&gt;&gt; :
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I??m running into a pretty annoying issue with 
lipstick not
&gt;&gt;&gt;&gt;&gt;&gt;&gt; launching
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the application i develop anymore (occurs with 
3.3, but
&gt;&gt;&gt;&gt;&gt;&gt;&gt; occurs
&gt;&gt;&gt;&gt;&gt;&gt;&gt; after i
&gt;&gt;&gt;&gt;&gt;&gt;&gt; made some changes which should not be relevant).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; The application launch fine from a terminal, 
launch fine from
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt;&gt;&gt; sdk,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; but launching it from lipstick, it never gets 
launched and
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt;&gt;&gt; process
&gt;&gt;&gt;&gt;&gt;&gt;&gt; does not show up when running top/ps &amp; co.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; This seems like there could be something wrong 
with my
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .desktop
&gt;&gt;&gt;&gt;&gt;&gt;&gt; file,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; but it didn't change between version 0.6 which was 
working
&gt;&gt;&gt;&gt;&gt;&gt;&gt; fine
&gt;&gt;&gt;&gt;&gt;&gt;&gt; with
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 3.3 and the dev version, which is not (i could not 
test dev
&gt;&gt;&gt;&gt;&gt;&gt;&gt; version
&gt;&gt;&gt;&gt;&gt;&gt;&gt; with 3.2 yet).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; journalctl does not show anything. There must be 
something
&gt;&gt;&gt;&gt;&gt;&gt;&gt; wrong
&gt;&gt;&gt;&gt;&gt;&gt;&gt; with
&gt;&gt;&gt;&gt;&gt;&gt;&gt; my app, since it is the only one showing this 
behaviour (and
&gt;&gt;&gt;&gt;&gt;&gt;&gt; it
&gt;&gt;&gt;&gt;&gt;&gt;&gt; didn't
&gt;&gt;&gt;&gt;&gt;&gt;&gt; before), but i'm puzzled as how to debug this. Any 
pointer
&gt;&gt;&gt;&gt;&gt;&gt;&gt; would
&gt;&gt;&gt;&gt;&gt;&gt;&gt; be
&gt;&gt;&gt;&gt;&gt;&gt;&gt; greatly appreciated.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Julien
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________
&gt;&gt;&gt;&gt;&gt;&gt;&gt; SailfishOS.org Devel mailing list
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, please send a mail to
&gt;&gt;&gt;&gt;&gt;&gt;&gt; devel-unsubscr...@lists.sailfishos.org
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________
&gt;&gt;&gt;&gt;&gt;&gt; SailfishOS.org Devel mailing list
&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, please send a mail to
&gt;&gt;&gt;&gt;&gt;&gt; devel-unsubscr...@lists.sailfishos.org
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; _______________________________________________
&gt;&gt;&gt;&gt;&gt; SailfishOS.org Devel mailing list
&gt;&gt;&gt;&gt;&gt; To unsubscribe, please send a mail to
&gt;&gt;&gt;&gt;&gt; devel-unsubscr...@lists.sailfishos.org
&gt;&gt;&gt;&gt; _______________________________________________
&gt;&gt;&gt;&gt; SailfishOS.org Devel mailing list
&gt;&gt;&gt;&gt; To unsubscribe, please send a mail to
&gt;&gt;&gt;&gt; devel-unsubscr...@lists.sailfishos.org
&gt;&gt;&gt; _______________________________________________
&gt;&gt;&gt; SailfishOS.org Devel mailing list
&gt;&gt;&gt; To unsubscribe, please send a mail to
&gt;&gt;&gt; devel-unsubscr...@lists.sailfishos.org
&gt;&gt; _______________________________________________
&gt;&gt; SailfishOS.org Devel mailing list
&gt;&gt; To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org
&gt; _______________________________________________
&gt; SailfishOS.org Devel mailing list
&gt; To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


------------------------------

Message: 4
Date: Tue, 14 Apr 2020 19:01:28 +0200
From: Julien Blanc <julien.bl...@tgcm.eu&gt;
To: Sailfish OS Developers <devel@lists.sailfishos.org&gt;
Subject: Re: [SailfishDevel] Lipstick not launching app
Message-ID: <11c9d2f40f4c091d5ab6d999b342d8c6a3f4896c.ca...@tgcm.eu&gt;
Content-Type: text/plain; charset="UTF-8"

I finally tracked it to a race condition inside the startup phase of my
application. For some reasons it never triggered when not launching
using invoker, but my code was clearly broken, nothing wrong with
invoker.

So, i can fix it at this point.

Thanks everybody for your help.

Regards,

Julien

Le mardi 14 avril 2020 ?? 16:47 +0300, Slava Monich a ??crit :
&gt; Just so you know, boosters may have to go because of this change in
&gt; glibc:
&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
https://sourceware.org/bugzilla/show_bug.cgi?id=24323
&gt; 
&gt; It has been reverted in Sailfish OS:
&gt; 
&gt; https://git.sailfishos.org/mer-core/glibc/commit/df05690
&gt; 
&gt; but at some point boosters may get replaced with simple fork()
&gt; wrappers. 
&gt; They should still start your app, though.
&gt; 
&gt; Cheers,
&gt; -Slava
&gt; 
&gt; &gt; I think the qt5 booster is a no-op, but im sure someone with more
&gt; &gt; knowledge can correct me.&nbsp; The regular booster will try and load
&gt; &gt; the
&gt; &gt; app as a shared library so it will need to be compiled a certain
&gt; &gt; way.
&gt; &gt; Depends how your app is written.&nbsp; Anything based on the sdk
&gt; &gt; templates
&gt; &gt; should be fine.
&gt; &gt; 
&gt; &gt; On Tue, 14 Apr 2020 at 12:19, Julien Blanc <julien.bl...@tgcm.eu&gt;
&gt; &gt; wrote:
&gt; &gt; &gt; Le mardi 14 avril 2020 ?? 11:27 +0100, Adam Pigg a ??crit :
&gt; &gt; &gt; &gt; Have you tried using invoker to launch it?
&gt; &gt; &gt; [nemo@Sailfish ~]$ invoker --type silica-qt5 harbour-kontroller
&gt; &gt; &gt; invoker: Invoking execution: '/usr/bin/harbour-kontroller'
&gt; &gt; &gt; invoker: error: Can't send signal 11 to application [24388]: No
&gt; &gt; &gt; such
&gt; &gt; &gt; process
&gt; &gt; &gt; Segmentation fault
&gt; &gt; &gt; 
&gt; &gt; &gt; [nemo@Sailfish ~]$ invoker --type qt5 harbour-kontroller
&gt; &gt; &gt; invoker: Invoking execution: '/usr/bin/harbour-kontroller'
&gt; &gt; &gt; 
&gt; &gt; &gt; --&gt; app launches correctly.
&gt; &gt; &gt; 
&gt; &gt; &gt; So that??s indeed a difference, and i can fix the .desktop file
&gt; &gt; &gt; accordingly. Thanks for the tip.
&gt; &gt; &gt; 
&gt; &gt; &gt; But what is the difference between silica-qt5 and qt5 ? Why would
&gt; &gt; &gt; it
&gt; &gt; &gt; cause an app crash ?
&gt; &gt; &gt; 
&gt; &gt; &gt; Regards,
&gt; &gt; &gt; 
&gt; &gt; &gt; Julien
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; On Tue, 14 Apr 2020 at 11:18, Julien Blanc <
&gt; &gt; &gt; &gt; julien.bl...@tgcm.eu&gt;
&gt; &gt; &gt; &gt; wrote:
&gt; &gt; &gt; &gt; &gt; Finally found something relevant in the logs :
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; Apr 14 12:15:42 Sailfish mapplauncherd[5363]: Boosted 
process
&gt; &gt; &gt; &gt; &gt; (pid=16324) was terminated due to signal 11
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; So apparently, my app segfaults, but only when 
launched from
&gt; &gt; &gt; &gt; &gt; applauncherd. This is somewhat good news. I can start 
to
&gt; &gt; &gt; &gt; &gt; track the
&gt; &gt; &gt; &gt; &gt; issue adding some debug traces.
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; I'm still puzzled as what's the difference between 
launching
&gt; &gt; &gt; &gt; &gt; from
&gt; &gt; &gt; &gt; &gt; lipstick and from a terminal.
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; Regards,
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; Julien
&gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; Le mardi 14 avril 2020 ?? 07:35 +0200, Julien Blanc a 
??crit :
&gt; &gt; &gt; &gt; &gt; &gt; There it is :
&gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; [Desktop Entry]
&gt; &gt; &gt; &gt; &gt; &gt; Type=Application
&gt; &gt; &gt; &gt; &gt; &gt; X-Nemo-Application-Type=silica-qt5
&gt; &gt; &gt; &gt; &gt; &gt; Icon=harbour-kontroller
&gt; &gt; &gt; &gt; &gt; &gt; Exec=harbour-kontroller
&gt; &gt; &gt; &gt; &gt; &gt; Name=Kontroller
&gt; &gt; &gt; &gt; &gt; &gt; # translation example:
&gt; &gt; &gt; &gt; &gt; &gt; # your app name in German locale (de)
&gt; &gt; &gt; &gt; &gt; &gt; #
&gt; &gt; &gt; &gt; &gt; &gt; # Remember to comment out the following line, if 
you do not
&gt; &gt; &gt; &gt; &gt; &gt; want
&gt; &gt; &gt; &gt; &gt; &gt; to
&gt; &gt; &gt; &gt; &gt; &gt; use
&gt; &gt; &gt; &gt; &gt; &gt; # a different app name in German locale (de).
&gt; &gt; &gt; &gt; &gt; &gt; #Name[de]=kontroller
&gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; The whole source code is available here:
&gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; https://github.com/Julien-Blanc-tgcm/kontroller
&gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; I changed a lot of things from v0.6, so tracking 
which
&gt; &gt; &gt; &gt; &gt; &gt; particular
&gt; &gt; &gt; &gt; &gt; &gt; change triggers the problem is not an easy task. 
I??d rather
&gt; &gt; &gt; &gt; &gt; &gt; have
&gt; &gt; &gt; &gt; &gt; &gt; a
&gt; &gt; &gt; &gt; &gt; &gt; way
&gt; &gt; &gt; &gt; &gt; &gt; to get more traces from lipstick than reverting 
every
&gt; &gt; &gt; &gt; &gt; &gt; single
&gt; &gt; &gt; &gt; &gt; &gt; change i
&gt; &gt; &gt; &gt; &gt; &gt; made.
&gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; THanks for your help,
&gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; Regards,
&gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; Julien
&gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; Le lundi 13 avril 2020 ?? 19:57 +0300, 
???????????? ???????????????????? a
&gt; &gt; &gt; &gt; &gt; &gt; ??crit :
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Hello. You're right. Show us your .desktop 
file to judge
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ????, 13 ??????. 2020 ??. ?? 19:12, Julien 
Blanc <
&gt; &gt; &gt; &gt; &gt; &gt; &gt; julien.bl...@tgcm.eu
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; :
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi,
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; I??m running into a pretty annoying 
issue with lipstick
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; not
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; launching
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; the application i develop anymore 
(occurs with 3.3, but
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; occurs
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; after i
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; made some changes which should not be 
relevant).
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; The application launch fine from a 
terminal, launch
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; fine from
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; the
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; sdk,
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; but launching it from lipstick, it 
never gets launched
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; and
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; the
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; process
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; does not show up when running top/ps 
&amp; co.
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; This seems like there could be 
something wrong with my
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; .desktop
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; file,
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; but it didn't change between version 
0.6 which was
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; working
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; fine
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; with
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 3.3 and the dev version, which is not 
(i could not test
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; dev
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; version
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; with 3.2 yet).
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; journalctl does not show anything. 
There must be
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; something
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; wrong
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; with
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; my app, since it is the only one 
showing this behaviour
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; (and
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; it
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; didn't
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; before), but i'm puzzled as how to 
debug this. Any
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; pointer
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; would
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; be
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; greatly appreciated.
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Regards,
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Julien
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 
_______________________________________________
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 
_______________________________________________
&gt; &gt; &gt; &gt; &gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; &gt; &gt; &gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; &gt; &gt; &gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; &gt; &gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; &gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; &gt; &gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; &gt; &gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; &gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; &gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; &gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; &gt; To unsubscribe, please send a mail to 
&gt; &gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; &gt; _______________________________________________
&gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; To unsubscribe, please send a mail to 
&gt; &gt; devel-unsubscr...@lists.sailfishos.org
&gt; _______________________________________________
&gt; SailfishOS.org Devel mailing list
&gt; To unsubscribe, please send a mail to 
&gt; devel-unsubscr...@lists.sailfishos.org



------------------------------

Subject: Digest Footer

_______________________________________________
Devel mailing list
Devel@lists.sailfishos.org
https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel

------------------------------

End of Devel Digest, Vol 72, Issue 17
*************************************
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to