Hi guys,

the bug report is still open and I'm not sure - has this code been
merged in? Roger, you mentioned a branch but I'm not sure, has it found
its way into main line now?

Cheers!

-- 
You received this bug notification because you are a member of Mosquitto
Development, which is subscribed to mosquitto.
https://bugs.launchpad.net/bugs/842324

Title:
  python mqtt library seems not thread safe

Status in mosquitto: an mqtt message broker:
  Confirmed

Bug description:
  python mqtt library version: 0.12
  python version: 2.7.1

  when i call python mqtt functions in multi threads, it is crashed or
  throw exception sometimes.

  for example, in every thread, do this:
  new mqtt object
  connect
  loop several times

  sometimes the program is crashed silently, sometimes i get this exception:
  Traceback (most recent call last):
    File "_ctypes/callbacks.c", line 313, in 'calling callback function'
    File "/usr/lib/pymodules/python2.7/mosquitto.py", line 353, in 
_internal_on_message
      topic = message.contents.topic
  ValueError: NULL pointer access

To manage notifications about this bug go to:
https://bugs.launchpad.net/mosquitto/+bug/842324/+subscriptions

-- 
Mailing list: https://launchpad.net/~mosquitto-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mosquitto-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to