Subject Re: [firebird-support] running Firebird without fbintl
Author Hamish Moffatt
On 06/07/18 20:15, Hamish Moffatt hamish@... [firebird-support] wrote:
 

On 06/07/18 18:50, Hamish Moffatt hamish@... [firebird-support] wrote:
 

On 06/07/18 18:20, 'Paul Beach' pbeach@... [firebird-support] wrote:
 


<<And a couple of final questions, what optimisation level are you using during the build?
32bit or 64bit Firebird?
64-bit. I have not changed any optimisation flags so it looks like it's being compiled with -O1 (from builds/posix/prefix.darwin_x86_64)>>

2.5.8 64bit Firebird now compiles with -O0 because of a problem with optimisation in fbintl that caused
Firebird to crash...


I have not seen any crashes with Firebird, but I will compile up 2.5.8 and see if it helps.

Same problem with 2.5.8 - delete in fbintl crashed, called from macOS thread. I am using the 2.5.8 binaries from firebirdsql.org (not compiling my own).


Thread 29 Crashed:: Dispatch queue: NSTextCheckingOperationQueue (QOS: USER_INTERACTIVE)

0   libsystem_kernel.dylib            0x00007fff5fa30b6e __pthread_kill + 10

1   libsystem_pthread.dylib           0x00007fff5fbfb080 pthread_kill + 333

2   libsystem_c.dylib                 0x00007fff5f98c1ae abort + 127

3   libc++abi.dylib                   0x00007fff5d88af8f abort_message + 245

4   libc++abi.dylib                   0x00007fff5d88b12b default_terminate_handler() + 265

5   libobjc.A.dylib                   0x00007fff5eccba4f _objc_terminate() + 105

6   libc++abi.dylib                   0x00007fff5d8a67c9 std::__terminate(void (*)()) + 8

7   libc++abi.dylib                   0x00007fff5d8a6843 std::terminate() + 51

8   libc++abi.dylib                   0x00007fff5d8a6794 std::__unexpected(void (*)()) + 6

9   libc++abi.dylib                   0x00007fff5d8a6fd7 __cxa_call_unexpected + 137

10  fbintl                            0x0000000117dc5c92 operator delete(void*) + 50

11  com.apple.CoreNLP                 0x00007fff4b0307a3 CoreNLP::ICUTextBreakWithCustomizedRules::ICUTextBreakWithCustomizedRules(CoreNLP::TaggerContext const&, __CFURL const*, bool, bool, void (CFRange, bool&, void (NLToken*, bool*) block_pointer) block_pointer) + 323

12  com.apple.CoreNLP                 0x00007fff4b026f54 CoreNLP::DefaultSubWordTagger::DefaultSubWordTagger(CoreNLP::TaggerContext const&, CoreNLP::StringBuffer const&, unsigned long, __CFURL const*) + 282

13  com.apple.CoreNLP                 0x00007fff4aff0b7e CoreNLP::WordDispatchTagger::WordDispatchTagger(CoreNLP::TaggerContext&, __CFURL const*) + 220

14  com.apple.CoreNLP                 0x00007fff4b03182d CoreNLP::WordTagger::createWordTagger(CoreNLP::TaggerContext&) + 41

15  com.apple.CoreNLP                 0x00007fff4b003b24 NLTokenizerCreate + 100

16  com.apple.CoreNLP                 0x00007fff4aff5e50 NLStringTokenizerCreate + 388

17  com.apple.CoreFoundation          0x00007fff37a8e6d2 CFStringTokenizerCreate + 146

18  com.apple.AppKit                  0x00007fff359adb6a scoreParagraph + 185

19  com.apple.AppKit                  0x00007fff3516f680 NSSpellCheckerCheckString + 3952

20  com.apple.AppKit                  0x00007fff3525e52d -[NSTextCheckingOperation main] + 151

21  com.apple.Foundation              0x00007fff39b6a8ee -[__NSOperationInternal _start:] + 778

22  com.apple.Foundation              0x00007fff39b66917 __NSOQSchedule_f + 369

23  libdispatch.dylib                 0x00007fff5f8a6db8 _dispatch_client_callout + 8

24  libdispatch.dylib                 0x00007fff5f8b9e81 _dispatch_continuation_pop + 472

25  libdispatch.dylib                 0x00007fff5f8b1733 _dispatch_async_redirect_invoke + 703

26  libdispatch.dylib                 0x00007fff5f8a89a9 _dispatch_root_queue_drain + 515

27  libdispatch.dylib                 0x00007fff5f8a8755 _dispatch_worker_thread3 + 101

28  libsystem_pthread.dylib           0x00007fff5fbf8169 _pthread_wqthread + 1387

29  libsystem_pthread.dylib           0x00007fff5fbf7be9 start_wqthread + 13



Hamish