Function "Find" not reliable + reccurent crashes
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Wed Jan 06, 2016 6:59 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Function "Find" not reliable + reccurent crashes
The search function is not working properly. (CTRL-F)
Often it doesn't match occurrences and when it finds occurence, it target to bad part of the document.
Version used: 9.1.0 (Ubuntu /32 ) Document type: .js
A lot of crashes also, when start typing "for"
Often it doesn't match occurrences and when it finds occurence, it target to bad part of the document.
Version used: 9.1.0 (Ubuntu /32 ) Document type: .js
A lot of crashes also, when start typing "for"
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Function "Find" not reliable + reccurent crashes
Can you paste the content of the file ~/.codelite/crash.log here?A lot of crashes also, when start typing "for"
This can happen if the file is opened with wrong encoding (settings->preferences->misc->locale->file font encoding) make sure it is set to UTF-8 or the correct encoding.sato wrote:The search function is not working properly. (CTRL-F)
Often it doesn't match occurrences and when it finds occurence, it target to bad part of the document.
I would also guess that your file contains some non ASCII characters (Russian, Hebrew, Chinese etc)
Can you upload a sample file here?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Wed Jan 06, 2016 6:59 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Function "Find" not reliable + reccurent crashes
Here crash.log:
About CTRL-F function, I use French characters (é,ç,etc) .( I'll check my encoding.)
UTF-8 is not the default encoding for nodejs files? (* .js)
Code: Select all
17/02/16 - 14:34:39
CodeLiteApp::OnFatalException() 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 0
[0xb770abc4] 0
/lib/i386-linux-gnu/libc.so.6 0
/lib/i386-linux-gnu/libc.so.6 vfwprintf 0
/lib/i386-linux-gnu/libc.so.6 __vswprintf_chk 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxVsnprintf(wchar_t*, unsigned int, wxString const&, char*) 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxString::DoFormatWchar(wchar_t const*, ...) 0
/usr/lib/i386-linux-gnu/codelite/WebTools.so clTernServer::OnTernWorkerThreadDone(clTernWorkerThread::Reply const&) 0
/usr/lib/i386-linux-gnu/codelite/WebTools.so wxAsyncMethodCallEvent1<clTernServer, clTernWorkerThread::Reply const&>::Execute() 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxEvtHandler::TryHereOnly(wxEvent&) 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxEvtHandler::ProcessEventLocally(wxEvent&) 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxEvtHandler::ProcessEvent(wxEvent&) 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxEvtHandler::ProcessPendingEvents() 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxAppConsoleBase::ProcessPendingEvents() 0
/usr/lib/i386-linux-gnu/codelite/libwx_gtk2u_unofficial_core-3.1.so.0 wxApp::DoIdle() 0
/usr/lib/i386-linux-gnu/codelite/libwx_gtk2u_unofficial_core-3.1.so.0 0
/lib/i386-linux-gnu/libglib-2.0.so.0 0
/lib/i386-linux-gnu/libglib-2.0.so.0 g_main_context_dispatch 0
/lib/i386-linux-gnu/libglib-2.0.so.0 0
/lib/i386-linux-gnu/libglib-2.0.so.0 g_main_loop_run 0
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 gtk_main 0
/usr/lib/i386-linux-gnu/codelite/libwx_gtk2u_unofficial_core-3.1.so.0 wxGUIEventLoop::DoRun() 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxEventLoopBase::Run() 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxAppConsoleBase::MainLoop() 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxAppConsoleBase::OnRun() 0
/usr/lib/i386-linux-gnu/codelite/libwx_gtk2u_unofficial_core-3.1.so.0 wxAppBase::OnRun() 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxEntry(int&, wchar_t**) 0
/usr/lib/i386-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0 wxEntry(int&, char**) 0
main 0
/lib/i386-linux-gnu/libc.so.6 __libc_start_main 0
_start 0
About CTRL-F function, I use French characters (é,ç,etc) .( I'll check my encoding.)
UTF-8 is not the default encoding for nodejs files? (* .js)
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Function "Find" not reliable + reccurent crashes
The crash looks like related to encoding (probably during string conversion)
Having the offending file to test it, will be great
Thank
Eran
Having the offending file to test it, will be great
Thank
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Wed Jan 06, 2016 6:59 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Function "Find" not reliable + reccurent crashes
Problem is when crash occur, files are not saved. So, can't produce a example file.
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Wed Jan 06, 2016 6:59 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Function "Find" not reliable + reccurent crashes
How to set UTF-8 encoding with CodeLite for *.JS and *.HTML (with Javascript)?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Function "Find" not reliable + reccurent crashes
You set it globally for all file types.
Settings->Preferences->Misc->Locale
and select "UFT-8"
Eran
Settings->Preferences->Misc->Locale
and select "UFT-8"
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Wed Jan 06, 2016 6:59 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Function "Find" not reliable + reccurent crashes
Thank you.
I had no crash since.
I had no crash since.
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Wed Jan 06, 2016 6:59 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Function "Find" not reliable + reccurent crashes
but the search results do not always target the component properly (several pages before or after).
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Wed Jan 06, 2016 6:59 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Function "Find" not reliable + reccurent crashes
That made one moment that I had not coded with CodeLite, I installed Kubuntu 16.04
Codelite: 9.1.6
Unfortunately, the crashs persist. >10 crashes for today!
Impossible to use Codelite for dev.
Settings -> Preferences -> Misc -> File font encoding: UTF-8 & Enable localisation: fr_FR
Codelite: 9.1.6
Unfortunately, the crashs persist. >10 crashes for today!
Impossible to use Codelite for dev.
Settings -> Preferences -> Misc -> File font encoding: UTF-8 & Enable localisation: fr_FR
Code: Select all
02/05/16 - 11:46:00
CodeLiteApp::OnFatalException() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/lib/x86_64-linux-gnu/libpthread.so.0 0
/lib/x86_64-linux-gnu/libc.so.6 wcslen 0
/lib/x86_64-linux-gnu/libc.so.6 vfwprintf 0
/lib/x86_64-linux-gnu/libc.so.6 __vswprintf_chk 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxVsnprintf(wchar_t*, unsigned long, wxString const&, __va_list_tag*) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxString::DoFormatWchar(wchar_t const*, ...) 0
/usr/lib/x86_64-linux-gnu/codelite/WebTools.so clTernServer::OnTernWorkerThreadDone(clTernWorkerThread::Reply const&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::TryHereOnly(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEventLocally(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEvent(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxApp::DoIdle() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_context_dispatch 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_loop_run 0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 gtk_main 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxGUIEventLoop::DoRun() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEventLoopBase::Run() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::MainLoop() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEntry(int&, wchar_t**) 0
main 0
/lib/x86_64-linux-gnu/libc.so.6 __libc_start_main 0
_start 0
Code: Select all
02/05/2016 - 12:06:35
CodeLiteApp::OnFatalException() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/lib/x86_64-linux-gnu/libpthread.so.0 0
/lib/x86_64-linux-gnu/libc.so.6 wcslen 0
/lib/x86_64-linux-gnu/libc.so.6 vfwprintf 0
/lib/x86_64-linux-gnu/libc.so.6 __vswprintf_chk 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxVsnprintf(wchar_t*, unsigned long, wxString const&, __va_list_tag*) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxString::DoFormatWchar(wchar_t const*, ...) 0
/usr/lib/x86_64-linux-gnu/codelite/WebTools.so clTernServer::OnTernWorkerThreadDone(clTernWorkerThread::Reply const&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::TryHereOnly(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEventLocally(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEvent(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxApp::DoIdle() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_context_dispatch 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_loop_run 0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 gtk_main 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxGUIEventLoop::DoRun() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEventLoopBase::Run() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::MainLoop() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEntry(int&, wchar_t**) 0
main 0
/lib/x86_64-linux-gnu/libc.so.6 __libc_start_main 0
_start 0
Code: Select all
02/05/2016 - 12:16:56
CodeLiteApp::OnFatalException() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/lib/x86_64-linux-gnu/libpthread.so.0 0
/lib/x86_64-linux-gnu/libc.so.6 wcslen 0
/lib/x86_64-linux-gnu/libc.so.6 vfwprintf 0
/lib/x86_64-linux-gnu/libc.so.6 __vswprintf_chk 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxVsnprintf(wchar_t*, unsigned long, wxString const&, __va_list_tag*) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxString::DoFormatWchar(wchar_t const*, ...) 0
/usr/lib/x86_64-linux-gnu/codelite/WebTools.so clTernServer::OnTernWorkerThreadDone(clTernWorkerThread::Reply const&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::TryHereOnly(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEventLocally(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEvent(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxApp::DoIdle() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_context_dispatch 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_loop_run 0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 gtk_main 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxGUIEventLoop::DoRun() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEventLoopBase::Run() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::MainLoop() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEntry(int&, wchar_t**) 0
main 0
/lib/x86_64-linux-gnu/libc.so.6 __libc_start_main 0
_start 0
Code: Select all
02/05/2016 - 13:58:23
CodeLiteApp::OnFatalException() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/lib/x86_64-linux-gnu/libpthread.so.0 0
/lib/x86_64-linux-gnu/libc.so.6 wcslen 0
/lib/x86_64-linux-gnu/libc.so.6 vfwprintf 0
/lib/x86_64-linux-gnu/libc.so.6 __vswprintf_chk 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxVsnprintf(wchar_t*, unsigned long, wxString const&, __va_list_tag*) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxString::DoFormatWchar(wchar_t const*, ...) 0
/usr/lib/x86_64-linux-gnu/codelite/WebTools.so clTernServer::OnTernWorkerThreadDone(clTernWorkerThread::Reply const&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::TryHereOnly(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEventLocally(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEvent(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxApp::DoIdle() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_context_dispatch 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_loop_run 0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 gtk_main 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxGUIEventLoop::DoRun() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEventLoopBase::Run() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::MainLoop() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEntry(int&, wchar_t**) 0
main 0
/lib/x86_64-linux-gnu/libc.so.6 __libc_start_main 0
_start 0
Code: Select all
02/05/2016 - 15:01:11
CodeLiteApp::OnFatalException() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/lib/x86_64-linux-gnu/libpthread.so.0 0
/lib/x86_64-linux-gnu/libc.so.6 wcslen 0
/lib/x86_64-linux-gnu/libc.so.6 vfwprintf 0
/lib/x86_64-linux-gnu/libc.so.6 __vswprintf_chk 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxVsnprintf(wchar_t*, unsigned long, wxString const&, __va_list_tag*) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxString::DoFormatWchar(wchar_t const*, ...) 0
/usr/lib/x86_64-linux-gnu/codelite/WebTools.so clTernServer::OnTernWorkerThreadDone(clTernWorkerThread::Reply const&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::TryHereOnly(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEventLocally(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessEvent(wxEvent&) 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEvtHandler::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::ProcessPendingEvents() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxApp::DoIdle() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_context_dispatch 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 0
/lib/x86_64-linux-gnu/libglib-2.0.so.0 g_main_loop_run 0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 gtk_main 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_gtk2u_core-3.1.so.0 wxGUIEventLoop::DoRun() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEventLoopBase::Run() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxAppConsoleBase::MainLoop() 0
/usr/lib/x86_64-linux-gnu/codelite/libwx_baseu-3.1.so.0 wxEntry(int&, wchar_t**) 0
main 0
/lib/x86_64-linux-gnu/libc.so.6 __libc_start_main 0
_start 0