URL: <http://gna.org/bugs/?20721>
Summary: Recursive logging Project: Freeciv Submitted by: cazfi Submitted on: Sun 07 Apr 2013 09:36:51 AM EEST Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: Not sure what's the bug(s) here, but the whole does not work. Noticed S2_4 autogame that hadn't proceeded single turn in a day. Attaching debugger revealed that it was trying to allocate logging mutex in log_real(). Without threaded ai type in use, deadlock between two threads seemed unlikely (that's the only mutex ever used!) And indeed backtrace shows that logging gets called recursively, so it was the upper level call that had already locked the mutex. Latter logging is about invalid conversion in convert_string() _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?20721> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev