[SailfishDevel] 回复:Devel Digest, Vol 72, Issue 18

不瘦十斤不改名字 1028294566 at qq.com
Wed Apr 15 12:05:17 UTC 2020


help


------------------ 原始邮件 ------------------
发件人: "devel-request"<devel-request at lists.sailfishos.org>;
发送时间: 2020年4月15日(星期三) 晚上8:06
收件人: "devel"<devel at lists.sailfishos.org>;

主题: Devel Digest, Vol 72, Issue 18



Send Devel mailing list submissions to
	devel at 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-request at lists.sailfishos.org

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

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


Today's Topics:

   1. 回复:Devel Digest, Vol 72, Issue 17
      (=?gb18030?B?srvK3cquve+yu7jEw/vX1g==?=)


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

Message: 1
Date: Wed, 15 Apr 2020 20:01:31 +0800
From: "=?gb18030?B?srvK3cquve+yu7jEw/vX1g==?=" <1028294566 at qq.com>
To: "=?gb18030?B?ZGV2ZWwtcmVxdWVzdA==?=" <devel at lists.sailfishos.org>
Subject: [SailfishDevel] 回复:Devel Digest, Vol 72, Issue 17
Message-ID: <tencent_CF62C73EA0CB75B61EDF32AFC4193A441809 at qq.com>
Content-Type: text/plain; charset="gb18030"

为什么我交了钱不能用安卓虚拟机


------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"devel-request"<devel-request at lists.sailfishos.org&gt;;
发送时间:&nbsp;2020年4月15日(星期三) 晚上8:00
收件人:&nbsp;"devel"<devel at lists.sailfishos.org&gt;;

主题:&nbsp;Devel Digest, Vol 72, Issue 17



Send Devel mailing list submissions to
	devel at 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-request at lists.sailfishos.org

You can reach the person managing the list at
	devel-owner at 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_nokiaqt at the-walker-household.co.uk&gt;
To: devel at lists.sailfishos.org
Subject: Re: [SailfishDevel] 回复:Devel&nbsp; Digest, Vol 72, Issue 15
Message-ID:
	<f33813a67807e04eeedf4b6fbe59d676d9d169e2.camel at 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_nokiaqt at the-walker-household.co.uk&nbsp; |
\__\__,_|\_/\_/&nbsp;&nbsp; |_________________________________________________|



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

Message: 2
Date: Tue, 14 Apr 2020 13:50:42 +0100
From: Adam Pigg <adam at piggz.co.uk&gt;
To: Sailfish OS Developers <devel at lists.sailfishos.org&gt;
Subject: Re: [SailfishDevel] Lipstick not launching app
Message-ID:
	<CANFkB1xANW86GURr7SooLiUDO2b7KrZ5y3ogirv54XgQOLHinQ at 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.blanc at 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 at 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 at 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.blanc at 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.blanc at 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-unsubscribe at 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-unsubscribe at 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-unsubscribe at 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-unsubscribe at lists.sailfishos.org
&gt; &gt; _______________________________________________
&gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; To unsubscribe, please send a mail to
&gt; &gt; devel-unsubscribe at lists.sailfishos.org
&gt;
&gt; _______________________________________________
&gt; SailfishOS.org Devel mailing list
&gt; To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org


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

Message: 3
Date: Tue, 14 Apr 2020 16:47:28 +0300
From: Slava Monich <slava.monich at jolla.com&gt;
To: Sailfish OS Developers <devel at lists.sailfishos.org&gt;
Subject: Re: [SailfishDevel] Lipstick not launching app
Message-ID: <9f9f3ea3-7017-449d-2878-bd345e0bd478 at 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.blanc at 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 at 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 at 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.blanc at 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.blanc at 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-unsubscribe at 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-unsubscribe at 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-unsubscribe at 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-unsubscribe at 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-unsubscribe at lists.sailfishos.org
&gt;&gt; _______________________________________________
&gt;&gt; SailfishOS.org Devel mailing list
&gt;&gt; To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
&gt; _______________________________________________
&gt; SailfishOS.org Devel mailing list
&gt; To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org


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

Message: 4
Date: Tue, 14 Apr 2020 19:01:28 +0200
From: Julien Blanc <julien.blanc at tgcm.eu&gt;
To: Sailfish OS Developers <devel at lists.sailfishos.org&gt;
Subject: Re: [SailfishDevel] Lipstick not launching app
Message-ID: <11c9d2f40f4c091d5ab6d999b342d8c6a3f4896c.camel at 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.blanc at 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 at 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 at 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.blanc at 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.blanc at 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-unsubscribe at 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-unsubscribe at 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-unsubscribe at 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-unsubscribe at 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-unsubscribe at 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-unsubscribe at lists.sailfishos.org
&gt; &gt; _______________________________________________
&gt; &gt; SailfishOS.org Devel mailing list
&gt; &gt; To unsubscribe, please send a mail to 
&gt; &gt; devel-unsubscribe at lists.sailfishos.org
&gt; _______________________________________________
&gt; SailfishOS.org Devel mailing list
&gt; To unsubscribe, please send a mail to 
&gt; devel-unsubscribe at lists.sailfishos.org



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

Subject: Digest Footer

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

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

End of Devel Digest, Vol 72, Issue 17
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20200415/35083f1a/attachment.html>

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

Subject: Digest Footer

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

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

End of Devel Digest, Vol 72, Issue 18
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20200415/7d165142/attachment-0001.html>


More information about the Devel mailing list