On 01/16/17 13:40, Stephan Bergmann wrote: > On 01/15/2017 07:26 PM, Alex Peshkoff wrote: >> On 01/15/17 12:24, Damyan Ivanov wrote: >>> -=| Alex Peshkoff, 13.01.2017 14:32:09 +0300 |=- >>>> On 01/03/17 00:38, Damyan Ivanov wrote: >>>>> I've been chasing this for some time, and finally I've come (with help >>>>> from others) to a environment which makes the segfault relatively easy >>>>> to reproduce, although it still requires patience. >>>>> >>>> .... >>>>> I browsed the commits in the B3_0_Release branch, but none seemed to >>>>> touch any >>>>> code that seems relevant to me. >>>> Not strange that you've missed that commit - races when thread is >>>> closing are present since interbase times, but presence of provider >>>> architecture in FB3 made them more often visible. >>>> >>>> Should be fixed, see http://tracker.firebirdsql.org/browse/CORE-5452 >>> Thank you, Alex. >>> >>> I have added the patch to the Debian package and the specially-crafted >>> single-core environment seems to no longer expose the crash. >>> >>> >> Wow, that's great that it's successfully tested it in initial >> environment. Artificial tricks I've used to reproduce on local box do >> not always give correct result. > Is there a patch that I could apply to our build of Firebird within > LibreOffice? I didn't find any from the CORE-5452 link above.
Please use this one: https://github.com/FirebirdSQL/firebird/commit/d88c5ac3cbce2420e4cf38dd9b9dfdf756408840 It slightly differs from final edition but absolutely OK for tests. ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel