[Development] Multiple Windows Dead-Lock Observed on QNX with Qt-5.3.2

Prashant Purohit prashantpurohit025 at gmail.com
Wed Jun 22 19:29:52 CEST 2016


Hi James,

Thanks for your reply.

Sorry that it took me few days to try these commands .

I have tried the mentioned command by you and below is the output for the same:

Output of pidin -p <myprocess>:
------------------------------------------------------------------------------
     pid    tid name           prio STATE       Blocked
  630842   1 myprocess    11r CONDVAR     (0xb534478)
  630842   2 myprocess    31r CONDVAR     (0x807574c)
  630842   3 myprocess    57r RECEIVE     4
  630842   4 myprocess    11r SEM         ad611854
  630842   5 myprocess    11r SIGWAITINFO
  630842   6 myprocess    11r CONDVAR     (0x9ce6ed8)
  630842   7 myprocess    31r REPLY       118804
  630842   8 myprocess    11r MUTEX       (0xba91210) 630842-09 #1
  630842   9 myprocess    31r MUTEX       (0x807573c) 630842-02 #1
------------------------------------------------------------------------------

Output of pidin -p screen:
------------------------------------------------------------------------------
   pid      tid name                 prio STATE       Blocked
  118804   1 sbin/screen         10r SIGWAITINFO
  118804   2 sbin/screen         21r RECEIVE     1
  118804   3 sbin/screen         20r RECEIVE     10
  118804   4 sbin/screen         31r RECEIVE     6
  118804   5 sbin/screen         15r CONDVAR     (0x80993c4)
  118804   6 sbin/screen         10r RECEIVE     15
  118804   7 sbin/screen         11r RECEIVE     15
  118804   8 sbin/screen         10r NANOSLEEP
  118804   9 sbin/screen         10r RECEIVE     15
  118804  10 sbin/screen         11r RECEIVE     15
  118804  11 sbin/screen         21r RECEIVE     20
  118804  12 sbin/screen         21r CONDVAR     (0x80c4010)
------------------------------------------------------------------------------

Please suggest if you know a work-around to solve this issue.

Also I tried setting QSG_RENDER_LOOP=windows but the animation is
still not looking as good as it was without setting this flag.

Regards,
Prashant

On 6/15/16, James McDonnell <jmcdonnell at blackberry.com> wrote:
> Hi Prashant,
>
> Can you provide the output for a ³pidin -p <your-qt-process>² and a "pidin
> -p screen² when the system is in this state?
>
> James
>
> On 2016-06-15, 1:54 PM, "Development on behalf of Thiago Macieira"
> <development-bounces+jmcdonnell=qnx.com at qt-project.org on behalf of
> thiago.macieira at intel.com> wrote:
>
>>On quarta-feira, 15 de junho de 2016 23:11:24 PDT Prashant Purohit wrote:
>>> Hi all,
>>>
>>> I am new to QT and using QT with QNX.
>>> I am using two different windows in my application (It is not possible
>>> for me to use single window).
>>>
>>> When I switch from one window to another window, My screen is not
>>> responding due to deadlock. Though there is no crash observed.
>>>
>>> My situation is similar to bug
>>> (https://bugreports.qt.io/browse/QTBUG-47553) which is already
>>> reported.
>>>
>>> By referencing above bug, when I set QSG_RENDER_LOOP=basic, the dead
>>> lock condition is prevented but then the animation which is being
>>> shown after every button press is not smooth anymore.
>>>
>>> Is there any better solution for above problem?
>>> If QSG_RENDER_LOOP=basic is the only solution then what I need to do
>>> to make the animation (sequencialAnimation on every button press)
>>> smooth as it was before setting the QSG_RENDER_LOOP environment
>>> variable?
>>>
>>> Also is there any alternative which I can use in my code other than
>>> setting QSG_RENDER_LOOP environment variable?
>>
>>Hello Prashant
>>
>>Please upgrade. 5.3.2 is a year and a half old. We've just released 5.6.1
>>and
>>we're about to release 5.7.0. Please try those.
>>
>>--
>>Thiago Macieira - thiago.macieira (AT) intel.com
>>  Software Architect - Intel Open Source Technology Center
>>
>>_______________________________________________
>>Development mailing list
>>Development at qt-project.org
>>http://lists.qt-project.org/mailman/listinfo/development
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>



More information about the Development mailing list