If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2014-06-24
do you mean wxWidgets from git or FlameRobin ?
I have updated my FlameRobin local git repository and compiled the app new. The wxWidgets framework is from MacPorts. I can confirm that the problem still exists and the app crashes right after it tries to display the autocompletion pop up.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2014-06-26
It seems it crashes at line 1208:
1203 if (start != -1 && pos - start >= autoCompleteChars)
1204 {
1205 // GTK version crashes if nothing matches, so this check must be made for GTK
1206 // For MSW, it doesn't crash but it flashes on the screen (also not very nice)
1207 if (HasWord(styled_text_ctrl_sql->GetTextRange(start, pos), keywordsM))
1208 styled_text_ctrl_sql->AutoCompShow(pos-start, keywordsM);
1209 }
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
please try the version from git it should work
do you mean wxWidgets from git or FlameRobin ?
I have updated my FlameRobin local git repository and compiled the app new. The wxWidgets framework is from MacPorts. I can confirm that the problem still exists and the app crashes right after it tries to display the autocompletion pop up.
you can compile wxwidgets port
https://github.com/sakuro/macports/blob/master/graphics/wxWidgets30/Portfile
with --enable-debug and the same for flamerobin after that you can send the backtrace
Last edit: Popa Adrian Marius 2014-06-25
Date/Time: 2014-06-26 18:46:23 +0200
OS Version: 10.9.3 (Build 13D65)
Architecture: x86_64
Report Version: 18
Command: FlameRobin
Path: /Users/USER/*/FlameRobin.app/Contents/MacOS/flamerobin
Version: 0.9.3 (0.9.3)
Parent: launchd [149]
PID: 40614
Event: hang
Duration: 1.55s
Steps: 16 (100ms sampling interval)
Hardware model: MacBookPro11,3
Active cpus: 8
Fan speed: 2160 rpm
Free pages: 2330668 pages (-3654)
Pageins: 0 pages
Pageouts: 0 pages
Swapins: 0 pages
Swapouts: 0 pages
Process: flamerobin [40614]
Path: /Users/USER/*/FlameRobin.app/Contents/MacOS/flamerobin
Architecture: x86_64
Parent: launchd [149]
UID: 501
Task size: 17394 pages
CPU Time: 0.802s
Thread 0x324760 DispatchQueue 1 priority 46 cpu time 0.802s
16 start + 1 (libdyld.dylib) [0x7fff997ac5fd]
16 main + 20 (main.cpp:45 in flamerobin) [0x100b236f4]
16 wxEntry(int&, wchar_t) + 71 (libwx_baseu-3.0.dylib) [0x101cce783]
16 wxApp::OnRun() + 26 (libwx_osx_cocoau_core-3.0.dylib) [0x1015c7308]
16 wxAppConsoleBase::MainLoop() + 102 (libwx_baseu-3.0.dylib) [0x101c6b432]
16 wxEventLoopBase::Run() + 165 (libwx_baseu-3.0.dylib) [0x101c99f45]
16 wxCFEventLoop::DoRun() + 39 (libwx_baseu-3.0.dylib) [0x101d38fe9]
16 wxGUIEventLoop::OSXDoRun() + 106 (libwx_osx_cocoau_core-3.0.dylib) [0x10161d84a]
16 -[NSApplication run] + 646 (AppKit) [0x7fff8e26fa19]
16 -[wxNSApplication sendEvent:] + 136 (libwx_osx_cocoau_core-3.0.dylib) [0x101585caf]
16 -[NSApplication sendEvent:] + 3395 (AppKit) [0x7fff8e41fb32]
16 -[wxNSWindow sendEvent:] + 117 (libwx_osx_cocoau_core-3.0.dylib) [0x1016265bf]
16 -[NSWindow sendEvent:] + 1843 (AppKit) [0x7fff8e47e56b]
16 wxWidgetCocoaImpl::keyEvent(NSEvent, NSView, void) + 190 (libwx_osx_cocoau_core-3.0.dylib) [0x1016365f8]
16 wxWidgetCocoaImpl::DoHandleKeyEvent(NSEvent) + 509 (libwx_osx_cocoau_core-3.0.dylib) [0x101639d41]
16 -[NSView interpretKeyEvents:] + 180 (AppKit) [0x7fff8e4b19dd]
16 -[NSTextInputContext handleEvent:] + 731 (AppKit) [0x7fff8e4d2150]
16 TSMProcessRawKeyEvent + 3807 (HIToolbox) [0x7fff9a7ce2b7]
16 TSMKeyEvent + 546 (HIToolbox) [0x7fff9a7e1595]
16 SendUnicodeTextAEToUnicodeDoc + 473 (HIToolbox) [0x7fff9a7e189b]
16 SendTSMEvent + 33 (HIToolbox) [0x7fff9a7e1d0d]
16 SendEventToEventTarget + 40 (HIToolbox) [0x7fff9a7a0880]
16 SendEventToEventTargetInternal(OpaqueEventRef, OpaqueEventTargetRef, HandlerCallRec) + 385 (HIToolbox) [0x7fff9a78c787]
16 DispatchEventToHandlers(EventTargetRec, OpaqueEventRef, HandlerCallRec) + 892 (HIToolbox) [0x7fff9a78d1d4]
16 _NSTSMEventHandler + 205 (AppKit) [0x7fff8e4d2905]
16 -[NSTextInputContext handleTSMEvent:] + 8271 (AppKit) [0x7fff8e4d4978]
16 wxWidgetCocoaImpl::insertText(NSString, NSView, void) + 317 (libwx_osx_cocoau_core-3.0.dylib) [0x10163677f]
16 wxWidgetCocoaImpl::DoHandleCharEvent(NSEvent, NSString) + 239 (libwx_osx_cocoau_core-3.0.dylib) [0x101639a93]
16 wxWindow::OSXHandleKeyEvent(wxKeyEvent&) + 267 (libwx_osx_cocoau_core-3.0.dylib) [0x101595fad]
16 wxEvtHandler::SafelyProcessEvent(wxEvent&) + 15 (libwx_baseu-3.0.dylib) [0x101d6263b]
16 wxEvtHandler::ProcessEvent(wxEvent&) + 179 (libwx_baseu-3.0.dylib) [0x101d623f9]
16 wxEvtHandler::ProcessEventLocally(wxEvent&) + 40 (libwx_baseu-3.0.dylib) [0x101d62466]
16 wxEvtHandler::TryHereOnly(wxEvent&) + 73 (libwx_baseu-3.0.dylib) [0x101d62541]
16 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler) + 124 (libwx_baseu-3.0.dylib) [0x101d61304]
16 wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler, wxEvent&) + 88 (libwx_baseu-3.0.dylib) [0x101d613f2]
16 Application::HandleEvent(wxEvtHandler, void (wxEvtHandler::)(wxEvent&), wxEvent&) const + 17 (main.cpp:123 in flamerobin) [0x100b24b61]
16 ScintillaWX::DoAddChar(int) + 149 (libwx_osx_cocoau_stc-3.0.dylib) [0x100f5fa97]
16 ScintillaBase::AddCharUTF(char, unsigned int, bool) + 83 (libwx_osx_cocoau_stc-3.0.dylib) [0x10100594b]
16 Editor::AddCharUTF(char, unsigned int, bool) + 1704 (libwx_osx_cocoau_stc-3.0.dylib) [0x100fee180]
16 wxStyledTextCtrl::NotifyParent(SCNotification) + 895 (libwx_osx_cocoau_stc-3.0.dylib) [0x100f539ad]
16 wxEvtHandler::ProcessEvent(wxEvent&) + 238 (libwx_baseu-3.0.dylib) [0x101d62434]
16 wxWindowBase::TryAfter(wxEvent&) + 112 (libwx_osx_cocoau_core-3.0.dylib) [0x10171ed08]
16 wxEvtHandler::ProcessEvent(wxEvent&) + 238 (libwx_baseu-3.0.dylib) [0x101d62434]
16 wxWindowBase::TryAfter(wxEvent&) + 112 (libwx_osx_cocoau_core-3.0.dylib) [0x10171ed08]
16 wxEvtHandler::ProcessEvent(wxEvent&) + 238 (libwx_baseu-3.0.dylib) [0x101d62434]
16 wxWindowBase::TryAfter(wxEvent&) + 112 (libwx_osx_cocoau_core-3.0.dylib) [0x10171ed08]
16 wxEvtHandler::ProcessEvent(wxEvent&) + 179 (libwx_baseu-3.0.dylib) [0x101d623f9]
16 wxEvtHandler::ProcessEventLocally(wxEvent&) + 40 (libwx_baseu-3.0.dylib) [0x101d62466]
16 wxEvtHandler::TryHereOnly(wxEvent&) + 73 (libwx_baseu-3.0.dylib) [0x101d62541]
16 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler) + 124 (libwx_baseu-3.0.dylib) [0x101d61304]
16 wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler, wxEvent&) + 88 (libwx_baseu-3.0.dylib) [0x101d613f2]
16 Application::HandleEvent(wxEvtHandler, void (wxEvtHandler::)(wxEvent&), wxEvent&) const + 17 (main.cpp:123 in flamerobin) [0x100b24b61]
16 ExecuteSqlFrame::OnSqlEditCharAdded(wxStyledTextEvent&) + 1366 (ExecuteSqlFrame.cpp:1134 in flamerobin) [0x100a9ee06]
16 ExecuteSqlFrame::autoComplete(bool) + 343 (ExecuteSqlFrame.cpp:1208 in flamerobin) [0x100aa57c7]
16 wxStyledTextCtrl::AutoCompShow(int, wxString const&) + 62 (libwx_osx_cocoau_stc-3.0.dylib) [0x100f4bfa4]
16 ScintillaBase::WndProc(unsigned int, unsigned long, long) + 91 (libwx_osx_cocoau_stc-3.0.dylib) [0x10100743d]
16 ScintillaBase::AutoCompleteStart(int, char const*) + 1101 (libwx_osx_cocoau_stc-3.0.dylib) [0x101006681]
16 ??? [0x7fff5f212df0]
16 _sigtramp + 26 (libsystem_platform.dylib) [0x7fff93b675aa]
16 wxFatalSignalHandler + 28 (libwx_baseu-3.0.dylib) [0x101d58e34]
16 Application::OnFatalException() + 9 (main.cpp:70 in flamerobin) [0x100b23999]
It seems it crashes at line 1208:
1203 if (start != -1 && pos - start >= autoCompleteChars)
1204 {
1205 // GTK version crashes if nothing matches, so this check must be made for GTK
1206 // For MSW, it doesn't crash but it flashes on the screen (also not very nice)
1207 if (HasWord(styled_text_ctrl_sql->GetTextRange(start, pos), keywordsM))
1208 styled_text_ctrl_sql->AutoCompShow(pos-start, keywordsM);
1209 }