The Following 7 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
2018-09-14
, 14:56
|
|
Posts: 6,453 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#192
|
The Following 6 Users Say Thank You to pichlo For This Useful Post: | ||
![]() |
2018-09-14
, 15:54
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#193
|
The Following 5 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
2018-09-14
, 16:09
|
|
Posts: 1,092 |
Thanked: 4,997 times |
Joined on Dec 2009
@ beautiful cave
|
#194
|
![]() |
2018-09-14
, 16:19
|
|
Posts: 6,453 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#195
|
But of course this bug happens not that often to me, so it's just my personal opinion.
![]() |
2018-09-14
, 17:20
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#196
|
The Following 3 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
2018-09-14
, 18:15
|
Posts: 281 |
Thanked: 679 times |
Joined on Feb 2010
|
#197
|
The Following 6 Users Say Thank You to cy8aer For This Useful Post: | ||
![]() |
2018-09-14
, 18:16
|
|
Posts: 1,092 |
Thanked: 4,997 times |
Joined on Dec 2009
@ beautiful cave
|
#198
|
The Following 5 Users Say Thank You to Fellfrosch For This Useful Post: | ||
![]() |
2018-09-14
, 18:26
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#199
|
I am writing a new podcast player right now based on the qt multimedia player. I tried it with parallel pure maps. It stops playing when there is a message by pure maps but it does not start anymore after the message. My app works with incoming calls (stopping and starting afterwards). Probably the app stops because some sailfish internal priorising when another app starts multimedia playing?
Audio { id: sound autoLoad: true autoPlay: true loops: 1 }
The Following 9 Users Say Thank You to rinigus For This Useful Post: | ||
![]() |
2018-09-14
, 21:14
|
Posts: 281 |
Thanked: 679 times |
Joined on Feb 2010
|
#200
|
If you know how to determine what's going on and how to restore what was playing before, let me know or, even better, submit PR.
The Following 3 Users Say Thank You to cy8aer For This Useful Post: | ||
[2] like when you drive next to parking lots? or some other POIs? maybe, not sure yet how to implement it
[3] stopping is done via SFOS. to my knowledge, there is no code in Pure Maps that commands directly someone to stop. Hence it's in Jolla's capable hands, isn't it?
Other developments:
I managed to hit twice a condition that prevented the shutdown of Pure Maps on my device. At this stage, I don't know whether its the same as described earlier by @pichlo - its rather hard to reproduce the case for me. However, in the both cases, when looking through the backtrace (attached), I saw two threads accessing lh_insert () from /lib/libcrypto.so.10: one from Python and the other one from Mapbox GL. In Python, its called via PyInit__hashlib, in Mapbox via CURL.
This function is from OpenSSL which may be a problem in terms of multithread access to it. Now, I am not sure whether Python or Mapbox GL set OpenSSL locks, as requested in https://www.openssl.org/docs/man1.0....o/threads.html - assuming that we are still on 1.0.2 OpenSSL.
Will have to think about how to fix it or whether to wait till SFOS3 with its Qt update and shift Mapbox GL QML to use QNetwork, as it is intended. Right now its blocked by
https://together.jolla.com/question/...aces-are-down/
https://bugreports.qt.io/browse/QTBUG-59219
With OBS back in business, I maybe able to experiment a bit later with Mapbox GL filing the callbacks, as expected by OpenSSL.