[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#762593: Deadlocks since upgrade to version > 4.8



Package: krosspython
Version: 4:4.13.1-1
Severity: important

Hello,

Since an upgrade from wheezy to testing, one personal application using
krosspython is deadlocked.

My workflow is pretty simple: a first script is called by using
Kross::Action->callFunction. I'm sure that the first script is done before to call a
second one, in the same way.

The second never start, and block the application. This behavior comes
from the line "PyGILState_STATE gilstate = PyGILState_Ensure();", added
between wheezy and the current testing.

I use internal mutex in my application, so I'm sure to not run two
actions in parallel. I'm sure that the first script is done before to
run the second one. So, if I did not missed something, I think that the
bug is in the krosspython library.

One hypothesis is that my python script run several python threads, and
that the PyGILState_Release at the end of callFunction is not enough to
manage python threads.

Best regards,

Florent Fourcot

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages krosspython depends on:
ii  libc6          2.19-11
ii  libgcc1        1:4.9.1-14
ii  libkrosscore4  4:4.14.1-1
ii  libpython2.7   2.7.8-7
ii  libqtcore4     4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqtgui4      4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libstdc++6     4.9.1-14

krosspython recommends no packages.

krosspython suggests no packages.

-- no debconf information


Reply to: