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

Leszek Lesner leszek.lesner at web.de
Tue Apr 14 07:14:31 UTC 2020


Hi,



Am Dienstag, 14. April 2020, 09:09:32 CEST schrieb 不瘦十斤不改名字:
> 给我个说法啊,信用卡付了款,不能用安卓虚拟机

officially only supported in Europe right now. 
However nothing stops you from using a VPN 

(translate by google)
官方目前仅在欧洲提供支持。
但是,没有什么可以阻止您使用VPN

> 
> 
> ------------------ 原始邮件 ------------------
> 发件人: "devel-request"<devel-request at lists.sailfishos.org>;
> 发送时间: 2020年4月14日(星期二) 下午3:12
> 收件人: "devel"<devel at lists.sailfishos.org>;
> 
> 主题: Devel Digest, Vol 72, Issue 12
> 
> 
> 
> 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 11
>       (=?gb18030?B?srvK3cquve+yu7jEw/vX1g==?=)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 14 Apr 2020 15:07:05 +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 11
> Message-ID: <tencent_AE2916F443A6DC6BCBFACDE28A8B4141E405 at qq.com>
> Content-Type: text/plain; charset="gb18030"
> 
> 我的怎么用不了虚拟安卓,已付款
> 
> 
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:&nbsp;"devel-request"<devel-request at lists.sailfishos.org&gt;;
> 发送时间:&nbsp;2020年4月14日(星期二) 中午1:40
> 收件人:&nbsp;"devel"<devel at lists.sailfishos.org&gt;;
> 
> 主题:&nbsp;Devel Digest, Vol 72, Issue 11
> 
> 
> 
> 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. memory leak? (E.S. Rosenberg)
> &nbsp;&nbsp; 2. Re: memory leak? (David Llewellyn-Jones)
> &nbsp;&nbsp; 3. Re: memory leak? (E.S. Rosenberg)
> &nbsp;&nbsp; 4. Lipstick not launching app (Julien Blanc)
> &nbsp;&nbsp; 5. Re: Lipstick not launching app (Андрей Кожевников)
> &nbsp;&nbsp; 6. Re: Lipstick not launching app (Julien Blanc)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 13 Apr 2020 15:54:02 +0300
> From: "E.S. Rosenberg" <es.rosenberg+sailfishos.org at gmail.com&gt;
> To: Sailfish OS Developers <devel at lists.sailfishos.org&gt;
> Subject: [SailfishDevel] memory leak?
> Message-ID:
> 	<CAHxFV_vsa-
YEJ2pL2s8xk=7rwNOp9SfJ6BsanEQ76fBubHVdZg at mail.gmail.com&gt;
> 
 Content-Type: text/plain; charset="utf-8"
> 
> Hi all,
> Recently I've noticed my phone running out of memory more often.
> I've update to 3.3.0.14 but I also released a newer version of gPodder
> which may be guilty of this.
> However closing gPodder does not release memory so I'm not really sure if I
> should blame myself or that lipstick is after all leaking memory. Also how
> does one optimize a qml/python apps memory usage? Neither is managed to the
> best of my knowledge.
> I may have time later to test the level of involvement of gPodder by
> downgrading.
> Thanks,
> Ei
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://lists.sailfishos.org/pipermail/devel/attachments/20200413/83519421
> /attachment-0001.html&gt;
 
> ------------------------------
> 
> Message: 2
> Date: Mon, 13 Apr 2020 17:03:05 +0300
> From: David Llewellyn-Jones <david at flypig.co.uk&gt;
> To: devel at lists.sailfishos.org
> Subject: Re: [SailfishDevel] memory leak?
> Message-ID: <3b91822b-d63c-5266-f907-e4dc7a46035c at flypig.co.uk&gt;
> Content-Type: text/plain; charset=utf-8
> 
> On 13/04/2020 15:54, E.S. Rosenberg wrote:
> &gt; Recently I've noticed my phone running out of memory more often.
> &gt; I've update to 3.3.0.14 but I also released a newer version of
> gPodder
 &gt; which may be guilty of this.
> &gt; However closing gPodder does not release memory so I'm not really
> sure
 &gt; if I should blame myself or that lipstick is after all
> leaking memory. &gt; Also how does one optimize a qml/python apps
> memory usage? Neither is &gt; managed to the best of my knowledge.
> &gt; I may have time later to test the level of involvement of gPodder
> by
 &gt; downgrading.
> 
> Hi Eli,
> 
> If the memory isn't released when gPodder's closed (assuming the app is
> definitely closed, and not just hidden), then it's highly unlikely to be
> gPodder draining your memory.
> 
> A very simple way to check memory usage is just to take a look at the
> output of "top". The following will show everything running ordered by
> memory usage and keep it updated:
> 
> top -o %MEM
> 
> Or if you just want to track gPodder you could use something like this:
> 
> top -o %MEM -p `pgrep sailfish-qml`
> 
> I used sailfish-qml as the app name, since probably that's what gPodder
> will be called if it's QML/python-only, but you can change it to
> whatever you're interested in.
> 
> Finally I was going to suggest to run it with valgrind, which gives a
> summary of memory leaks when you close the app and I've found useful in
> the past for C++ code. Unfortunately when I tried it on another QML-only
> app the results weren't very helpful at all. So this may not be a
> helpful route to go down.
> 
> Nevertheless I uploaded an RPM to openrepos in case it's helpful in some
> other context:
> 
> https://openrepos.net/content/flypig/valgrind
> 
> David
> -- 
> Website: https://www.flypig.co.uk
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 13 Apr 2020 17:47:04 +0300
> From: "E.S. Rosenberg" <es.rosenberg+sailfishos.org at gmail.com&gt;
> To: Sailfish OS Developers <devel at lists.sailfishos.org&gt;
> Subject: Re: [SailfishDevel] memory leak?
> Message-ID:
> 	<CAHxFV_t9EaKUdktvUAf6i-=g1qgWb0DF4YZexER=8yP3-
aYTdQ at mail.gmail.com&gt;
> 
 Content-Type: text/plain; charset="utf-8"
> 
> Hi David,
> I have been using htop to monitor what is going on before and after
> closing.
 In the past I've used valgrind for C++ projects (openlighting)
> but this is python/QML with no compiled code (from my side) at all to the
> best of my understanding valgrind can't help me with this, but I may be
> wrong. 
> Memory usage of the newer version of gPodder is definitely higher (it loads
> a large amount of images) but it's also not released with closing gPodder
> (which does not background) so I suspect there is some bad synergy
> happening by a memory leak in system libraries being exasperated by
> gPodder. I downgraded on my phone and I could push memory usage up by just
> switching between lots of different pages and it seems pages don't get
> cleared from memory when not in use, though memory usage did drop a bit
> when I locked the screen.
> (By opening all podcast information pages which include logos and all
> episode listings one after the other I managed to enlarge the total memory
> footprint [VIRT] from ~500M to 1200M after screen lock it dropped back down
> to ~850M, resident memory usage [RES] was doubled by this and never dropped
> back down)
> In the newer version the episode listings are much heavier because each
> episode comes with a picture.
> 
> Thanks,
> Eli
> 
> Op ma 13 apr. 2020 om 17:03 schreef David Llewellyn-Jones <
> david at flypig.co.uk&gt;:
> 
> &gt; On 13/04/2020 15:54, E.S. Rosenberg wrote:
> &gt; &gt; Recently I've noticed my phone running out of memory more
> often.
 &gt; &gt; I've update to 3.3.0.14 but I also released a
> newer version of gPodder &gt; &gt; which may be guilty of this.
> &gt; &gt; However closing gPodder does not release memory so I'm not
> really sure
 &gt; &gt; if I should blame myself or that lipstick is
> after all leaking memory. &gt; &gt; Also how does one optimize a
> qml/python apps memory usage? Neither is &gt; &gt; managed to the
> best of my knowledge.
> &gt; &gt; I may have time later to test the level of involvement of
> gPodder by
 &gt; &gt; downgrading.
> &gt;
> &gt; Hi Eli,
> &gt;
> &gt; If the memory isn't released when gPodder's closed (assuming the
> app is
 &gt; definitely closed, and not just hidden), then it's highly
> unlikely to be &gt; gPodder draining your memory.
> &gt;
> &gt; A very simple way to check memory usage is just to take a look at
> the
 &gt; output of "top". The following will show everything running
> ordered by &gt; memory usage and keep it updated:
> &gt;
> &gt; top -o %MEM
> &gt;
> &gt; Or if you just want to track gPodder you could use something like
> this:
 &gt;
> &gt; top -o %MEM -p `pgrep sailfish-qml`
> &gt;
> &gt; I used sailfish-qml as the app name, since probably that's what
> gPodder
 &gt; will be called if it's QML/python-only, but you can
> change it to &gt; whatever you're interested in.
> &gt;
> &gt; Finally I was going to suggest to run it with valgrind, which gives
> a
 &gt; summary of memory leaks when you close the app and I've found
> useful in &gt; the past for C++ code. Unfortunately when I tried it on
> another QML-only &gt; app the results weren't very helpful at all. So
> this may not be a &gt; helpful route to go down.
> &gt;
> &gt; Nevertheless I uploaded an RPM to openrepos in case it's helpful in
> some
 &gt; other context:
> &gt;
> &gt; https://openrepos.net/content/flypig/valgrind
> &gt;
> &gt; David
> &gt; --
> &gt; Website: https://www.flypig.co.uk
> &gt; _______________________________________________
> &gt; SailfishOS.org Devel mailing list
> &gt; To unsubscribe, please send a mail to
> &gt; devel-unsubscribe at lists.sailfishos.org
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://lists.sailfishos.org/pipermail/devel/attachments/20200413/01e61ca1
> /attachment-0001.html&gt;
 
> ------------------------------
> 
> Message: 4
> Date: Mon, 13 Apr 2020 18:12:35 +0200
> From: Julien Blanc <julien.blanc at tgcm.eu&gt;
> To: Sailfish OS Developers <devel at lists.sailfishos.org&gt;
> Subject: [SailfishDevel] Lipstick not launching app
> Message-ID: <b1756f97cf8c1e4fbf672c03d3323da76902cbde.camel at tgcm.eu&gt;
> Content-Type: text/plain; charset="UTF-8"
> 
> 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 &amp; 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
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 13 Apr 2020 19:57:14 +0300
> From: Андрей Кожевников&nbsp; <coderusinbox at gmail.com&gt;
> To: Sailfish OS Developers <devel at lists.sailfishos.org&gt;
> Subject: Re: [SailfishDevel] Lipstick not launching app
> Message-ID:
> 	
<CAFbg4UeLTMb8UdTYTHJmr39vi_7KV4ygLsTu7bcnuDhpgv7XYA at mail.gmail.com&gt;
> 
 Content-Type: text/plain; charset="utf-8"
> 
> Hello. You're right. Show us your .desktop file to judge
> 
> пн, 13 апр. 2020 г. в 19:12, Julien Blanc <julien.blanc at tgcm.eu&gt;:
> 
> &gt; Hi,
> &gt;
> &gt; I’m running into a pretty annoying issue with lipstick not
> launching
 &gt; the application i develop anymore (occurs with 3.3, but
> occurs after i &gt; made some changes which should not be relevant).
> &gt;
> &gt; The application launch fine from a terminal, launch fine from the
> sdk,
 &gt; but launching it from lipstick, it never gets launched and
> the process &gt; does not show up when running top/ps &amp; co.
> &gt;
> &gt; This seems like there could be something wrong with my .desktop
> file,
 &gt; but it didn't change between version 0.6 which was working
> fine with &gt; 3.3 and the dev version, which is not (i could not test
> dev version &gt; with 3.2 yet).
> &gt;
> &gt; journalctl does not show anything. There must be something wrong
> with
 &gt; my app, since it is the only one showing this behaviour (and
> it didn't &gt; before), but i'm puzzled as how to debug this. Any
> pointer would be &gt; greatly appreciated.
> &gt;
> &gt; Regards,
> &gt;
> &gt; Julien
> &gt;
> &gt; _______________________________________________
> &gt; SailfishOS.org Devel mailing list
> &gt; To unsubscribe, please send a mail to
> &gt; devel-unsubscribe at lists.sailfishos.org
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://lists.sailfishos.org/pipermail/devel/attachments/20200413/0f5410b2
> /attachment-0001.html&gt;
 
> ------------------------------
> 
> Message: 6
> Date: Tue, 14 Apr 2020 07:35:13 +0200
> From: Julien Blanc <julien.blanc at tgcm.eu&gt;
> To: devel at lists.sailfishos.org
> Subject: Re: [SailfishDevel] Lipstick not launching app
> Message-ID: <4bfbf033104b80e93c74fb92459c40974c16245a.camel at tgcm.eu&gt;
> Content-Type: text/plain; charset="UTF-8"
> 
> 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 :
> &gt; Hello. You're right. Show us your .desktop file to judge
> &gt; 
> &gt; пн, 13 апр. 2020 г. в 19:12, Julien Blanc
> <julien.blanc at tgcm.eu&gt;:
 &gt; &gt; Hi,
> &gt; &gt; 
> &gt; &gt; I’m running into a pretty annoying issue with lipstick
> not
 &gt; &gt; launching
> &gt; &gt; the application i develop anymore (occurs with 3.3, but
> occurs
 &gt; &gt; after i
> &gt; &gt; made some changes which should not be relevant).
> &gt; &gt; 
> &gt; &gt; The application launch fine from a terminal, launch fine
> from the
 &gt; &gt; sdk,
> &gt; &gt; but launching it from lipstick, it never gets launched and
> the
 &gt; &gt; process
> &gt; &gt; does not show up when running top/ps &amp; co.
> &gt; &gt; 
> &gt; &gt; This seems like there could be something wrong with my
> .desktop
 &gt; &gt; file,
> &gt; &gt; but it didn't change between version 0.6 which was working
> fine
 &gt; &gt; with
> &gt; &gt; 3.3 and the dev version, which is not (i could not test
> dev version
 &gt; &gt; with 3.2 yet).
> &gt; &gt; 
> &gt; &gt; journalctl does not show anything. There must be something
> wrong
 &gt; &gt; with
> &gt; &gt; my app, since it is the only one showing this behaviour
> (and it
 &gt; &gt; didn't
> &gt; &gt; before), but i'm puzzled as how to debug this. Any pointer
> would be
 &gt; &gt; greatly appreciated.
> &gt; &gt; 
> &gt; &gt; Regards,
> &gt; &gt; 
> &gt; &gt; Julien
> &gt; &gt; 
> &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 
> &gt; devel-unsubscribe at lists.sailfishos.org
> &gt; 
> 
> 
> 
> ------------------------------
> 
> 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 11
> *************************************
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://lists.sailfishos.org/pipermail/devel/attachments/20200414/a3b58c0e
> /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 12
> *************************************






More information about the Devel mailing list