??????????????????????????????
------------------ ???????? ------------------
??????: "devel-request"<devel-requ...@lists.sailfishos.org>;
????????: 2020??4??15??(??????) ????8:00
??????: "devel"<devel@lists.sailfishos.org>;
????: 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:
1. Re: ??????Devel Digest, Vol 72, Issue 15 (Chris Walker)
2. Re: Lipstick not launching app (Adam Pigg)
3. Re: Lipstick not launching app (Slava Monich)
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>
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] ??????Devel Digest, Vol 72, Issue 15
Message-ID:
<f33813a67807e04eeedf4b6fbe59d676d9d169e2.ca...@the-walker-household.co.uk>
Content-Type: text/plain; charset="UTF-8"
On Tue, 2020-04-14 at 19:39 +0800, ???????????????? wrote:
>
> ??????????????
For pete's sake learn to quote the stuff you need and not the whole
digest!
Also, try and post in English.
--
__ __| |_ __ __ .-------------------------------------------------.
/ _/ _` \ V V / |
mailto:cdw_noki...@the-walker-household.co.uk |
\__\__,_|\_/\_/ |_________________________________________________|
------------------------------
Message: 2
Date: Tue, 14 Apr 2020 13:50:42 +0100
From: Adam Pigg <a...@piggz.co.uk>
To: Sailfish OS Developers <devel@lists.sailfishos.org>
Subject: Re: [SailfishDevel] Lipstick not launching app
Message-ID:
<canfkb1xanw86gurr7sooliudo2b7krz5y3ogirv54xgqolh...@mail.gmail.com>
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. 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. Anything based on the sdk templates
should be fine.
On Tue, 14 Apr 2020 at 12:19, Julien Blanc <julien.bl...@tgcm.eu> wrote:
>
> Le mardi 14 avril 2020 ?? 11:27 +0100, Adam Pigg a ??crit :
> > Have you tried using invoker to launch it?
>
> [nemo@Sailfish ~]$ invoker --type silica-qt5 harbour-kontroller
> invoker: Invoking execution: '/usr/bin/harbour-kontroller'
> invoker: error: Can't send signal 11 to application [24388]: No such
> process
> Segmentation fault
>
> [nemo@Sailfish ~]$ invoker --type qt5 harbour-kontroller
> invoker: Invoking execution: '/usr/bin/harbour-kontroller'
>
> --> app launches correctly.
>
> So that??s indeed a difference, and i can fix the .desktop file
> accordingly. Thanks for the tip.
>
> But what is the difference between silica-qt5 and qt5 ? Why would it
> cause an app crash ?
>
> Regards,
>
> Julien
>
> > On Tue, 14 Apr 2020 at 11:18, Julien Blanc <julien.bl...@tgcm.eu>
> > wrote:
> > > Finally found something relevant in the logs :
> > >
> > > Apr 14 12:15:42 Sailfish mapplauncherd[5363]: Boosted process
> > > (pid=16324) was terminated due to signal 11
> > >
> > > So apparently, my app segfaults, but only when launched from
> > > applauncherd. This is somewhat good news. I can start to track
the
> > > issue adding some debug traces.
> > >
> > > I'm still puzzled as what's the difference between launching from
> > > lipstick and from a terminal.
> > >
> > > Regards,
> > >
> > > Julien
> > >
> > > Le mardi 14 avril 2020 ?? 07:35 +0200, Julien Blanc a ??crit :
> > > > There it is :
> > > >
> > > > [Desktop Entry]
> > > > Type=Application
> > > > X-Nemo-Application-Type=silica-qt5
> > > > Icon=harbour-kontroller
> > > > Exec=harbour-kontroller
> > > > Name=Kontroller
> > > > # translation example:
> > > > # your app name in German locale (de)
> > > > #
> > > > # Remember to comment out the following line, if you do not
want
> > > > to
> > > > use
> > > > # a different app name in German locale (de).
> > > > #Name[de]=kontroller
> > > >
> > > >
> > > > The whole source code is available here:
> > > >
> > > > https://github.com/Julien-Blanc-tgcm/kontroller
> > > >
> > > > I changed a lot of things from v0.6, so tracking which
particular
> > > > change triggers the problem is not an easy task. I??d
rather have
> > > > a
> > > > way
> > > > to get more traces from lipstick than reverting every single
> > > > change i
> > > > made.
> > > >
> > > > THanks for your help,
> > > >
> > > > Regards,
> > > >
> > > > Julien
> > > >
> > > > Le lundi 13 avril 2020 ?? 19:57 +0300, ????????????
???????????????????? a ??crit :
> > > > > Hello. You're right. Show us your .desktop file to
judge
> > > > >
> > > > > ????, 13 ??????. 2020 ??. ?? 19:12, Julien Blanc
<julien.bl...@tgcm.eu
> > > > > >:
> > > > > > Hi,
> > > > > >
> > > > > > I??m running into a pretty annoying issue with
lipstick not
> > > > > > launching
> > > > > > the application i develop anymore (occurs with
3.3, but
> > > > > > occurs
> > > > > > after i
> > > > > > made some changes which should not be relevant).
> > > > > >
> > > > > > The application launch fine from a terminal,
launch fine from
> > > > > > the
> > > > > > sdk,
> > > > > > but launching it from lipstick, it never gets
launched and
> > > > > > the
> > > > > > process
> > > > > > does not show up when running top/ps & co.
> > > > > >
> > > > > > This seems like there could be something wrong
with my
> > > > > > .desktop
> > > > > > file,
> > > > > > but it didn't change between version 0.6 which
was working
> > > > > > fine
> > > > > > with
> > > > > > 3.3 and the dev version, which is not (i could
not test dev
> > > > > > version
> > > > > > with 3.2 yet).
> > > > > >
> > > > > > journalctl does not show anything. There must be
something
> > > > > > wrong
> > > > > > with
> > > > > > my app, since it is the only one showing this
behaviour (and
> > > > > > it
> > > > > > didn't
> > > > > > before), but i'm puzzled as how to debug this.
Any pointer
> > > > > > would
> > > > > > be
> > > > > > greatly appreciated.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Julien
> > > > > >
> > > > > > _______________________________________________
> > > > > > SailfishOS.org Devel mailing list
> > > > > > To unsubscribe, please send a mail to
> > > > > > devel-unsubscr...@lists.sailfishos.org
> > > > >
> > > > > _______________________________________________
> > > > > SailfishOS.org Devel mailing list
> > > > > To unsubscribe, please send a mail to
> > > > > devel-unsubscr...@lists.sailfishos.org
> > > > >
> > > >
> > > > _______________________________________________
> > > > SailfishOS.org Devel mailing list
> > > > To unsubscribe, please send a mail to
> > > > devel-unsubscr...@lists.sailfishos.org
> > >
> > > _______________________________________________
> > > SailfishOS.org Devel mailing list
> > > To unsubscribe, please send a mail to
> > > devel-unsubscr...@lists.sailfishos.org
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscr...@lists.sailfishos.org
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> 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>
To: Sailfish OS Developers <devel@lists.sailfishos.org>
Subject: Re: [SailfishDevel] Lipstick not launching app
Message-ID: <9f9f3ea3-7017-449d-2878-bd345e0bd...@jolla.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Just so you know, boosters may have to go because of this change in glibc:
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
> I think the qt5 booster is a no-op, but im sure someone with more
> knowledge can correct me. 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. Anything based on the sdk templates
> should be fine.
>
> On Tue, 14 Apr 2020 at 12:19, Julien Blanc <julien.bl...@tgcm.eu> wrote:
>> Le mardi 14 avril 2020 ?? 11:27 +0100, Adam Pigg a ??crit :
>>> Have you tried using invoker to launch it?
>> [nemo@Sailfish ~]$ invoker --type silica-qt5 harbour-kontroller
>> invoker: Invoking execution: '/usr/bin/harbour-kontroller'
>> invoker: error: Can't send signal 11 to application [24388]: No such
>> process
>> Segmentation fault
>>
>> [nemo@Sailfish ~]$ invoker --type qt5 harbour-kontroller
>> invoker: Invoking execution: '/usr/bin/harbour-kontroller'
>>
>> --> app launches correctly.
>>
>> So that??s indeed a difference, and i can fix the .desktop file
>> accordingly. Thanks for the tip.
>>
>> But what is the difference between silica-qt5 and qt5 ? Why would it
>> cause an app crash ?
>>
>> Regards,
>>
>> Julien
>>
>>> On Tue, 14 Apr 2020 at 11:18, Julien Blanc
<julien.bl...@tgcm.eu>
>>> wrote:
>>>> Finally found something relevant in the logs :
>>>>
>>>> Apr 14 12:15:42 Sailfish mapplauncherd[5363]: Boosted process
>>>> (pid=16324) was terminated due to signal 11
>>>>
>>>> So apparently, my app segfaults, but only when launched from
>>>> applauncherd. This is somewhat good news. I can start to track
the
>>>> issue adding some debug traces.
>>>>
>>>> I'm still puzzled as what's the difference between launching
from
>>>> lipstick and from a terminal.
>>>>
>>>> Regards,
>>>>
>>>> Julien
>>>>
>>>> Le mardi 14 avril 2020 ?? 07:35 +0200, Julien Blanc a ??crit :
>>>>> There it is :
>>>>>
>>>>> [Desktop Entry]
>>>>> Type=Application
>>>>> X-Nemo-Application-Type=silica-qt5
>>>>> Icon=harbour-kontroller
>>>>> Exec=harbour-kontroller
>>>>> Name=Kontroller
>>>>> # translation example:
>>>>> # your app name in German locale (de)
>>>>> #
>>>>> # Remember to comment out the following line, if you do
not want
>>>>> to
>>>>> use
>>>>> # a different app name in German locale (de).
>>>>> #Name[de]=kontroller
>>>>>
>>>>>
>>>>> The whole source code is available here:
>>>>>
>>>>> https://github.com/Julien-Blanc-tgcm/kontroller
>>>>>
>>>>> I changed a lot of things from v0.6, so tracking which
particular
>>>>> change triggers the problem is not an easy task. I??d
rather have
>>>>> a
>>>>> way
>>>>> to get more traces from lipstick than reverting every
single
>>>>> change i
>>>>> made.
>>>>>
>>>>> THanks for your help,
>>>>>
>>>>> Regards,
>>>>>
>>>>> Julien
>>>>>
>>>>> Le lundi 13 avril 2020 ?? 19:57 +0300, ????????????
???????????????????? a ??crit :
>>>>>> Hello. You're right. Show us your .desktop file to
judge
>>>>>>
>>>>>> ????, 13 ??????. 2020 ??. ?? 19:12, Julien Blanc
<julien.bl...@tgcm.eu
>>>>>>> :
>>>>>>> Hi,
>>>>>>>
>>>>>>> I??m running into a pretty annoying issue with
lipstick not
>>>>>>> launching
>>>>>>> the application i develop anymore (occurs with
3.3, but
>>>>>>> occurs
>>>>>>> after i
>>>>>>> made some changes which should not be relevant).
>>>>>>>
>>>>>>> The application launch fine from a terminal,
launch fine from
>>>>>>> the
>>>>>>> sdk,
>>>>>>> but launching it from lipstick, it never gets
launched and
>>>>>>> the
>>>>>>> process
>>>>>>> does not show up when running top/ps & co.
>>>>>>>
>>>>>>> This seems like there could be something wrong
with my
>>>>>>> .desktop
>>>>>>> file,
>>>>>>> but it didn't change between version 0.6 which was
working
>>>>>>> fine
>>>>>>> with
>>>>>>> 3.3 and the dev version, which is not (i could not
test dev
>>>>>>> version
>>>>>>> with 3.2 yet).
>>>>>>>
>>>>>>> journalctl does not show anything. There must be
something
>>>>>>> wrong
>>>>>>> with
>>>>>>> my app, since it is the only one showing this
behaviour (and
>>>>>>> it
>>>>>>> didn't
>>>>>>> before), but i'm puzzled as how to debug this. Any
pointer
>>>>>>> would
>>>>>>> be
>>>>>>> greatly appreciated.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Julien
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> SailfishOS.org Devel mailing list
>>>>>>> To unsubscribe, please send a mail to
>>>>>>> devel-unsubscr...@lists.sailfishos.org
>>>>>> _______________________________________________
>>>>>> SailfishOS.org Devel mailing list
>>>>>> To unsubscribe, please send a mail to
>>>>>> devel-unsubscr...@lists.sailfishos.org
>>>>>>
>>>>> _______________________________________________
>>>>> SailfishOS.org Devel mailing list
>>>>> To unsubscribe, please send a mail to
>>>>> devel-unsubscr...@lists.sailfishos.org
>>>> _______________________________________________
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to
>>>> devel-unsubscr...@lists.sailfishos.org
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
> _______________________________________________
> SailfishOS.org Devel mailing list
> 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>
To: Sailfish OS Developers <devel@lists.sailfishos.org>
Subject: Re: [SailfishDevel] Lipstick not launching app
Message-ID: <11c9d2f40f4c091d5ab6d999b342d8c6a3f4896c.ca...@tgcm.eu>
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 :
> Just so you know, boosters may have to go because of this change in
> glibc:
>
>
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
>
> > I think the qt5 booster is a no-op, but im sure someone with more
> > knowledge can correct me. 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. Anything based on the sdk
> > templates
> > should be fine.
> >
> > On Tue, 14 Apr 2020 at 12:19, Julien Blanc <julien.bl...@tgcm.eu>
> > wrote:
> > > Le mardi 14 avril 2020 ?? 11:27 +0100, Adam Pigg a ??crit :
> > > > Have you tried using invoker to launch it?
> > > [nemo@Sailfish ~]$ invoker --type silica-qt5 harbour-kontroller
> > > invoker: Invoking execution: '/usr/bin/harbour-kontroller'
> > > invoker: error: Can't send signal 11 to application [24388]: No
> > > such
> > > process
> > > Segmentation fault
> > >
> > > [nemo@Sailfish ~]$ invoker --type qt5 harbour-kontroller
> > > invoker: Invoking execution: '/usr/bin/harbour-kontroller'
> > >
> > > --> app launches correctly.
> > >
> > > So that??s indeed a difference, and i can fix the .desktop file
> > > accordingly. Thanks for the tip.
> > >
> > > But what is the difference between silica-qt5 and qt5 ? Why would
> > > it
> > > cause an app crash ?
> > >
> > > Regards,
> > >
> > > Julien
> > >
> > > > On Tue, 14 Apr 2020 at 11:18, Julien Blanc <
> > > > julien.bl...@tgcm.eu>
> > > > wrote:
> > > > > Finally found something relevant in the logs :
> > > > >
> > > > > Apr 14 12:15:42 Sailfish mapplauncherd[5363]: Boosted
process
> > > > > (pid=16324) was terminated due to signal 11
> > > > >
> > > > > So apparently, my app segfaults, but only when
launched from
> > > > > applauncherd. This is somewhat good news. I can start
to
> > > > > track the
> > > > > issue adding some debug traces.
> > > > >
> > > > > I'm still puzzled as what's the difference between
launching
> > > > > from
> > > > > lipstick and from a terminal.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Julien
> > > > >
> > > > > Le mardi 14 avril 2020 ?? 07:35 +0200, Julien Blanc a
??crit :
> > > > > > There it is :
> > > > > >
> > > > > > [Desktop Entry]
> > > > > > Type=Application
> > > > > > X-Nemo-Application-Type=silica-qt5
> > > > > > Icon=harbour-kontroller
> > > > > > Exec=harbour-kontroller
> > > > > > Name=Kontroller
> > > > > > # translation example:
> > > > > > # your app name in German locale (de)
> > > > > > #
> > > > > > # Remember to comment out the following line, if
you do not
> > > > > > want
> > > > > > to
> > > > > > use
> > > > > > # a different app name in German locale (de).
> > > > > > #Name[de]=kontroller
> > > > > >
> > > > > >
> > > > > > The whole source code is available here:
> > > > > >
> > > > > > https://github.com/Julien-Blanc-tgcm/kontroller
> > > > > >
> > > > > > I changed a lot of things from v0.6, so tracking
which
> > > > > > particular
> > > > > > change triggers the problem is not an easy task.
I??d rather
> > > > > > have
> > > > > > a
> > > > > > way
> > > > > > to get more traces from lipstick than reverting
every
> > > > > > single
> > > > > > change i
> > > > > > made.
> > > > > >
> > > > > > THanks for your help,
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Julien
> > > > > >
> > > > > > Le lundi 13 avril 2020 ?? 19:57 +0300,
???????????? ???????????????????? a
> > > > > > ??crit :
> > > > > > > Hello. You're right. Show us your .desktop
file to judge
> > > > > > >
> > > > > > > ????, 13 ??????. 2020 ??. ?? 19:12, Julien
Blanc <
> > > > > > > julien.bl...@tgcm.eu
> > > > > > > > :
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I??m running into a pretty annoying
issue with lipstick
> > > > > > > > not
> > > > > > > > launching
> > > > > > > > the application i develop anymore
(occurs with 3.3, but
> > > > > > > > occurs
> > > > > > > > after i
> > > > > > > > made some changes which should not be
relevant).
> > > > > > > >
> > > > > > > > The application launch fine from a
terminal, launch
> > > > > > > > fine from
> > > > > > > > the
> > > > > > > > sdk,
> > > > > > > > but launching it from lipstick, it
never gets launched
> > > > > > > > and
> > > > > > > > the
> > > > > > > > process
> > > > > > > > does not show up when running top/ps
& co.
> > > > > > > >
> > > > > > > > This seems like there could be
something wrong with my
> > > > > > > > .desktop
> > > > > > > > file,
> > > > > > > > but it didn't change between version
0.6 which was
> > > > > > > > working
> > > > > > > > fine
> > > > > > > > with
> > > > > > > > 3.3 and the dev version, which is not
(i could not test
> > > > > > > > dev
> > > > > > > > version
> > > > > > > > with 3.2 yet).
> > > > > > > >
> > > > > > > > journalctl does not show anything.
There must be
> > > > > > > > something
> > > > > > > > wrong
> > > > > > > > with
> > > > > > > > my app, since it is the only one
showing this behaviour
> > > > > > > > (and
> > > > > > > > it
> > > > > > > > didn't
> > > > > > > > before), but i'm puzzled as how to
debug this. Any
> > > > > > > > pointer
> > > > > > > > would
> > > > > > > > be
> > > > > > > > greatly appreciated.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > >
> > > > > > > > Julien
> > > > > > > >
> > > > > > > >
_______________________________________________
> > > > > > > > SailfishOS.org Devel mailing list
> > > > > > > > To unsubscribe, please send a mail to
> > > > > > > > devel-unsubscr...@lists.sailfishos.org
> > > > > > >
_______________________________________________
> > > > > > > SailfishOS.org Devel mailing list
> > > > > > > To unsubscribe, please send a mail to
> > > > > > > devel-unsubscr...@lists.sailfishos.org
> > > > > > >
> > > > > > _______________________________________________
> > > > > > SailfishOS.org Devel mailing list
> > > > > > To unsubscribe, please send a mail to
> > > > > > devel-unsubscr...@lists.sailfishos.org
> > > > > _______________________________________________
> > > > > SailfishOS.org Devel mailing list
> > > > > To unsubscribe, please send a mail to
> > > > > devel-unsubscr...@lists.sailfishos.org
> > > > _______________________________________________
> > > > SailfishOS.org Devel mailing list
> > > > To unsubscribe, please send a mail to
> > > > devel-unsubscr...@lists.sailfishos.org
> > > _______________________________________________
> > > SailfishOS.org Devel mailing list
> > > To unsubscribe, please send a mail to
> > > devel-unsubscr...@lists.sailfishos.org
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscr...@lists.sailfishos.org
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> 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