[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Android crashes
From:       Kálmán Viktor <viktorvector () gmail ! com>
Date:       2018-05-25 13:07:17
Message-ID: CA+sJfQzmN6h8eOnGu4f4fMZY+XZfKS0RdafuRURb=jSJOKkYCg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Managed to get a backtrace of sorts not sure if its any help:
https://gist.github.com/kviktor/9855e4b7b3e2df67047e089513e15977

Also slightly unrelated, but should I be able to build Python 3.6 with
pyqtdeploy v1.3.2? When I'm trying to do it I get `error: 'struct lconv'
has no member named 'decimal_point'` errors. (as I saw pyqtdeploy has
patches for 3.5.* with the HAVE_BROKEN_LOCALECONV workaround but 3.6.* has
no patch and also I recall reading somewhere that pyqtdeploy doesn't need
any patches for 3.6+ python)

2018-04-19 16:50 GMT+02:00 Phil Thompson <phil@riverbankcomputing.com>:

> On 17 Apr 2018, at 10:43 am, Kálmán Viktor <viktorvector@gmail.com> wrote:
> >
> > We have recently released our Android client in the app store and I see
> weird crashes, there is mainly 2 categories.
> >
> > One looks like this:
> > *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
> > pid: 0, tid: 0 >>> com.my.app <<<
> >
> > backtrace:
> >   #00  pc 00000000007a323c  /data/app/com.my.app-iKDbJjkEE
> JRo37MXTF-nlQ==/lib/arm/libMyapp.so (PySys_SetObject+24)
> >
> >
> >
> > The other looks like this
> > *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
> > pid: 0, tid: 0 >>> com.my.app <<<
> >
> > backtrace:
> >   #00  pc 000000000004b520  /system/lib/libc.so (tgkill+12)
> >   #01  pc 000000000001a453  /system/lib/libc.so (abort+54)
> >   #02  pc 000000000006ce5b  /data/app/com.my.aoo-cGOoB_LsJ
> lH2RTPTKYMGyw==/lib/arm/libQt5Core.so (_ZNK14QMessageLogger5fatalEPKcz+50)
> >   #03  pc 000000000034cea7  /data/app/com.my.app-cGOoB_LsJ
> lH2RTPTKYMGyw==/lib/arm/libMyapp.so
> >
> >
> > I've seen the 2nd on my development phone a few times, it usually
> happens if the app crashes and it tries to log it but it fails, about the
> PySys_SetObject I have no idea.
> >
> > Also I've noticed that both crashes have only happened on Android 8/8.1
> (tho the sample size is very small, only ~10+ crashes)
> >
> > I'm using NDK r10e, Python 3.5.3, Qt 5.9.1 (and PyQt version that was
> out that time).
> >
> > Has anyone faced similar issues before? Would upgrading to 5.9.5 and
> newer PyQt might help or just a waste of manpower?
>
> Difficult say without a more complete backtrace. Note that pyqtdeploy v2
> has dropped support for Python versions earlier that v3.6.
>
> Phil
>
>

[Attachment #5 (text/html)]

<div dir="ltr">Managed to get a backtrace of sorts not sure if its any help:  <a \
href="https://gist.github.com/kviktor/9855e4b7b3e2df67047e089513e15977" \
target="_blank">https://gist.github.com/<wbr>kviktor/<wbr>9855e4b7b3e2df67047e089513e159<wbr>77</a><div><br></div><div>Also \
slightly unrelated, but should I be able to build Python 3.6 with pyqtdeploy v1.3.2? \
When I&#39;m trying to do it I get `error: &#39;struct lconv&#39; has no member named \
&#39;decimal_point&#39;` errors. (as I saw pyqtdeploy has patches for 3.5.* with the \
HAVE_BROKEN_LOCALECONV workaround but 3.6.* has no patch and also I recall reading \
somewhere that pyqtdeploy doesn&#39;t need any patches for 3.6+ python)</div><div \
class="gmail_extra"><br><div class="gmail_quote">2018-04-19 16:50 GMT+02:00 Phil \
Thompson <span dir="ltr">&lt;<a href="mailto:phil@riverbankcomputing.com" \
target="_blank">phil@riverbankcomputing.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="m_7862530072564691672HOEnZb"><div \
class="m_7862530072564691672h5">On 17 Apr 2018, at 10:43 am, Kálmán Viktor &lt;<a \
href="mailto:viktorvector@gmail.com" target="_blank">viktorvector@gmail.com</a>&gt; \
wrote:<br> &gt; <br>
&gt; We have recently released our Android client in the app store and I see weird \
crashes, there is mainly 2 categories.<br> &gt; <br>
&gt; One looks like this:<br>
&gt; *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***<br>
&gt; pid: 0, tid: 0 &gt;&gt;&gt; com.my.app &lt;&lt;&lt;<br>
&gt; <br>
&gt; backtrace:<br>
&gt;     #00   pc 00000000007a323c   \
/data/app/com.my.app-iKDbJjkEE<wbr>JRo37MXTF-nlQ==/lib/arm/<wbr>libMyapp.so \
(PySys_SetObject+24)<br> &gt; <br>
&gt; <br>
&gt; <br>
&gt; The other looks like this<br>
&gt; *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***<br>
&gt; pid: 0, tid: 0 &gt;&gt;&gt; com.my.app &lt;&lt;&lt;<br>
&gt; <br>
&gt; backtrace:<br>
&gt;     #00   pc 000000000004b520   /system/lib/libc.so (tgkill+12)<br>
&gt;     #01   pc 000000000001a453   /system/lib/libc.so (abort+54)<br>
&gt;     #02   pc 000000000006ce5b   \
/data/app/com.my.aoo-cGOoB_LsJ<wbr>lH2RTPTKYMGyw==/lib/arm/libQt5<wbr>Core.so \
(_ZNK14QMessageLogger5fatalEPK<wbr>cz+50)<br> &gt;     #03   pc 000000000034cea7   \
/data/app/com.my.app-cGOoB_LsJ<wbr>lH2RTPTKYMGyw==/lib/arm/libMya<wbr>pp.so<br> &gt; \
<br> &gt; <br>
&gt; I&#39;ve seen the 2nd on my development phone a few times, it usually happens if \
the app crashes and it tries to log it but it fails, about the PySys_SetObject I have \
no idea.<br> &gt; <br>
&gt; Also I&#39;ve noticed that both crashes have only happened on Android 8/8.1 (tho \
the sample size is very small, only ~10+ crashes)<br> &gt; <br>
&gt; I&#39;m using NDK r10e, Python 3.5.3, Qt 5.9.1 (and PyQt version that was out \
that time).<br> &gt; <br>
&gt; Has anyone faced similar issues before? Would upgrading to 5.9.5 and newer PyQt \
might help or just a waste of manpower?<br> <br>
</div></div>Difficult say without a more complete backtrace. Note that pyqtdeploy v2 \
has dropped support for Python versions earlier that v3.6.<br> <span \
class="m_7862530072564691672HOEnZb"><font color="#888888"><br> Phil<br>
<br>
</font></span></blockquote></div><br></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic