#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    2
    Rep Power
    0

    Unhappy Socket Server keeps dieing (pthread_mutex_lock.c)


    Hallo,

    I've a problem with a Socket-Server which gets Data and writes the data in an MSSQL Database. After a while the following error appears:

    python: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
    Aborted (core dumped)

    I'm using Python 2.7.3 on an Ubuntu 12.04.2 LTS (Virtual Machine). It doesn't care if I'm using pymssql or pyodbc.

    I've no idea how I can fix this. It would be nice if anyone of you have an idea which helps. Thank you!

    regards
    Markus
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,893
    Rep Power
    481
    Your program is missing a condition on the "if" statement in line 376 of "todb.py".
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    2
    Rep Power
    0
    Originally Posted by b49P23TIvg
    Your program is missing a condition on the "if" statement in line 376 of "todb.py".
    There is no todb.py!
  6. #4
  7. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,893
    Rep Power
    481
    Oh. Who would have guessed.
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo