KapiX / Koder

A code editor for Haiku based on Scintilla editing component.
MIT License
41 stars 15 forks source link

Running "Incremental Search" twice crashes Koder #113

Closed waddlesplash closed 5 years ago

waddlesplash commented 5 years ago
  1. Open Find panel, clear out search strings, if any
  2. Close find panel
  3. Click "Incremental search" menu option twice
  4. Crash!
``` Debug information for team /boot/system/apps/Koder (5570): CPU(s): 2x Intel Core™ i3-5005U Memory: 2.00 GiB total, 306.96 MiB used Haiku revision: hrev53045 Apr 6 2019 10:47:01 (BePC) Active Threads: thread 5570: Koder (main) thread 5575: w>Koder: Open thread 5583: w>Koder: Save thread 5605: team 5570 debug task thread 5594: w>/boot/home/Desktop/haiku/src/ state: Call (A MessageFilter can only be used once.) Frame IP Function Name ----------------------------------------------- 00000000 0x6146b112 commpage_syscall + 0x2 Disassembly: commpage_syscall: 0x6146b110: 89e1 mov %esp, %ecx 0x6146b112: 0f34 sysenter <-- 0x795aed28 0x146f751 debugger + 0x31 0x795aed70 0x1cfe86a BLooper::AddCommonFilter(BMessageFilter*) + 0x7a 0x795aee40 0x10a4d58 EditorWindow::MessageReceived(BMessage*) + 0xa18 0x795af020 0x1dd2eac BWindow::DispatchMessage(BMessage*, BHandler*) + 0x1bc 0x795af0a0 0x1dce697 BWindow::task_looper() + 0x1c7 0x795af0c0 0x1cfe006 BLooper::_task0_(void*) + 0x36 0x795af0e8 0x1476371 thread_entry + 0x21 00000000 0x6146b258 commpage_thread_exit + 0 Registers: eip: 0x6146b114 esp: 0x795aed0c ebp: 0x795aed28 eax: 0x000000e1 ebx: 0x0152df3c ecx: 0x795aed0c edx: 0x6146b114 esi: 0x01e70800 edi: 0x01ef7c60 cs: 0x001b ds: 0x0023 es: 0x0023 fs: 0x0063 gs: 0x0023 ss: 0x0023 st0: 0 st1: 0 st2: 0 st3: 1 st4: 14 st5: 0 st6: 14 st7: 102 mm0: {0, 0, 0, 0} mm1: {0, 0, 0, 0} mm2: {0, 0, 0, 0} mm3: {0, 0, 0, 0x8000} mm4: {0, 0, 0, 0xe000} mm5: {0, 0, 0, 0} mm6: {0, 0, 0, 0xe000} mm7: {0, 0, 0, 0xcc00} xmm0: {0, 0, 0, 0, 0, 0, 0, 0} xmm1: {0, 0, 0, 0, 0, 0, 0, 0} xmm2: {0, 0, 0, 0, 0, 0, 0, 0} xmm3: {0, 0, 0, 0, 0, 0, 0, 0} xmm4: {0, 0, 0, 0, 0, 0, 0, 0} xmm5: {0, 0, 0, 0, 0, 0, 0, 0} xmm6: {0, 0, 0, 0, 0, 0, 0, 0} xmm7: {0, 0, 0, 0, 0, 0, 0, 0} Loaded Images: ID Text Base Text End Data Base Data End Type Name -------------------------------------------------------------------------------- 4819 0x0079d000 0x007b5000 0x007b5000 0x007b6000 lib /boot/system/lib/x86/libgcc_s.so.1 4832 0x007c1000 0x007d8000 0x007d8000 0x007da000 add-on /boot/system/data/scintilla/lexers/LexJam 4829 0x007f3000 0x00806000 0x00806000 0x00808000 lib /boot/system/lib/x86/libtranslation.so 4830 0x0080d000 0x00903000 0x00903000 0x00905000 lib /boot/system/lib/x86/libtextencoding.so 4831 0x0091e000 0x00939000 0x00939000 0x0093a000 add-on /boot/system/data/scintilla/lexers/LexYAB 4824 0x00943000 0x00993000 0x00993000 0x00995000 lib /boot/system/lib/x86/libicule.so.57.1 4822 0x00c1a000 0x00e7d000 0x00e7d000 0x00e89000 lib /boot/system/lib/x86/libicui18n.so.57.1 4825 0x00fec000 0x00ff6000 0x00ff6000 0x00ff8000 lib /boot/system/lib/x86/libiculx.so.57.1 4813 0x01036000 0x010b8000 0x010b8000 0x010bc000 app /boot/system/apps/Koder 4820 0x01447000 0x0152b000 0x0152b000 0x0156c000 lib /boot/system/lib/x86/libroot.so 4816 0x015a9000 0x0173f000 0x0173f000 0x01749000 lib /boot/system/lib/x86/libscintilla.so 4818 0x01791000 0x018e4000 0x018e4000 0x018f2000 lib /boot/system/lib/x86/libstdc++.so.6.0.24 4815 0x0191f000 0x01a9f000 0x01a9f000 0x01aad000 lib /boot/system/lib/x86/libtracker.so 4817 0x01b18000 0x01b94000 0x01b94000 0x01b96000 lib /boot/system/lib/x86/libyaml-cpp.so.0.6.2 4814 0x01c09000 0x01eed000 0x01eed000 0x01f08000 lib /boot/system/lib/x86/libbe.so 4812 0x01f0a000 0x01f29000 0x01f29000 0x01f2c000 lib /boot/system/runtime_loader 4828 0x021eb000 0x02203000 0x02203000 0x02204000 lib /boot/system/lib/x86/libz.so.1.2.11 4827 0x0220a000 0x02384000 0x02384000 0x02391000 lib /boot/system/lib/x86/libicuuc.so.57.1 4826 0x023a5000 0x023d0000 0x023d0000 0x02404000 lib /boot/system/lib/x86/libicutu.so.57.1 4823 0x0258a000 0x02594000 0x02594000 0x02595000 lib /boot/system/lib/x86/libicuio.so.57.1 4821 0x0269d000 0x03f1b000 0x03f1b000 0x03f1c000 lib /boot/system/lib/x86/libicudata.so.57.1 4811 0x6146b000 0x61473000 0x00000000 0x00000000 system commpage Areas: ID Base End Size (KiB) Protection Locking Name -------------------------------------------------------------------------------- 22055 0x0010a000 0x0011a000 64 rw- full rld heap 22056 0x00121000 0x00131000 64 rw- full rld heap 22054 0x00144000 0x0014c000 32 rw- full rld heap 22011 0x0019a000 0x0019b000 4 rw-S full _rld_debug_ 22010 0x002f2000 0x00302000 64 rw- full rld heap 22027 0x0079d000 0x007b5000 96 r-x full libgcc_s.so.1_seg0ro 22028 0x007b5000 0x007b6000 4 rw- full libgcc_s.so.1_seg1rw 22105 0x007c1000 0x007d8000 92 r-x full LexJam_seg0ro 22106 0x007d8000 0x007da000 8 rw- full LexJam_seg1rw 22050 0x007f3000 0x00806000 76 r-x full libtranslation.so_seg0ro 22051 0x00806000 0x00808000 8 rw- full libtranslation.so_seg1rw 22052 0x0080d000 0x00903000 984 r-x full libtextencoding.so_seg0ro 22053 0x00903000 0x00905000 8 rw- full libtextencoding.so_seg1rw 22103 0x0091e000 0x00939000 108 r-x full LexYAB_seg0ro 22104 0x00939000 0x0093a000 4 rw- full LexYAB_seg1rw 22039 0x00943000 0x00993000 320 r-x full libicule.so.57.1_seg0ro 22040 0x00993000 0x00995000 8 rw- full libicule.so.57.1_seg1rw 22034 0x00c1a000 0x00e7d000 2444 r-x full libicui18n.so.57.1_seg0ro 22035 0x00e7d000 0x00e88000 44 rw- full libicui18n.so.57.1_seg1rw 22036 0x00e88000 0x00e89000 4 rw- full libicui18n.so.57.1_seg2rw 22041 0x00fec000 0x00ff6000 40 r-x full libiculx.so.57.1_seg0ro 22042 0x00ff6000 0x00ff8000 8 rw- full libiculx.so.57.1_seg1rw 22012 0x01036000 0x010b8000 520 r-x full Koder_seg0ro 22013 0x010b8000 0x010bc000 16 rw- full Koder_seg1rw 22029 0x01447000 0x0152b000 912 r-x full libroot.so_seg0ro 22030 0x0152b000 0x01535000 40 rw- full libroot.so_seg1rw 22031 0x01535000 0x0156c000 220 rw- full libroot.so_seg2rw 22019 0x015a9000 0x0173f000 1624 r-x full libscintilla.so_seg0ro 22020 0x0173f000 0x01747000 32 rw- full libscintilla.so_seg1rw 22021 0x01747000 0x01749000 8 rw- full libscintilla.so_seg2rw 22024 0x01791000 0x018e4000 1356 r-x full libstdc++.so.6.0.24_seg0ro 22025 0x018e4000 0x018eb000 28 rw- full libstdc++.so.6.0.24_seg1rw 22026 0x018eb000 0x018f2000 28 rw- full libstdc++.so.6.0.24_seg2rw 22016 0x0191f000 0x01a9f000 1536 r-x full libtracker.so_seg0ro 22017 0x01a9f000 0x01aac000 52 rw- full libtracker.so_seg1rw 22018 0x01aac000 0x01aad000 4 rw- full libtracker.so_seg2rw 22022 0x01b18000 0x01b94000 496 r-x full libyaml-cpp.so.0.6.2_seg0ro 22023 0x01b94000 0x01b96000 8 rw- full libyaml-cpp.so.0.6.2_seg1rw 22014 0x01c09000 0x01eed000 2960 r-x full libbe.so_seg0ro 22015 0x01eed000 0x01f08000 108 rw- full libbe.so_seg1rw 22007 0x01f0a000 0x01f29000 124 r-x full runtime_loader_seg0ro 22008 0x01f29000 0x01f2b000 8 rw- full runtime_loader_seg1rw 22009 0x01f2b000 0x01f2c000 4 rw- full runtime_loader_bss1 22048 0x021eb000 0x02203000 96 r-x full libz.so.1.2.11_seg0ro 22049 0x02203000 0x02204000 4 rw- full libz.so.1.2.11_seg1rw 22046 0x0220a000 0x02384000 1512 r-x full libicuuc.so.57.1_seg0ro 22047 0x02384000 0x02391000 52 rw- full libicuuc.so.57.1_seg1rw 22043 0x023a5000 0x023d0000 172 r-x full libicutu.so.57.1_seg0ro 22044 0x023d0000 0x023d2000 8 rw- full libicutu.so.57.1_seg1rw 22045 0x023d2000 0x02404000 200 rw- full libicutu.so.57.1_seg2rw 22037 0x0258a000 0x02594000 40 r-x full libicuio.so.57.1_seg0ro 22038 0x02594000 0x02595000 4 rw- full libicuio.so.57.1_seg1rw 22032 0x0269d000 0x03f1b000 25080 r-x full libicudata.so.57.1_seg0ro 22033 0x03f1b000 0x03f1c000 4 rw- full libicudata.so.57.1_seg1rw 22112 0x03f1c000 0x03f3e000 136 rw-S full server_memory 22114 0x0bf1c000 0x0bf48000 176 rw-S full server_memory 22057 0x1879d000 0x18a1d000 2560 rw- full heap 22118 0x6079d000 0x607bd000 128 rw-S full server_memory 22003 0x60af2000 0x60af6000 16 rw- full user area 22006 0x6146b000 0x61473000 32 r-xS full commpage 22062 0x61473000 0x61474000 4 rw-S full server_memory 22005 0x7056b000 0x7156c000 16388 rw-s full Koder_5570_stack 22064 0x7156c000 0x7158d000 132 rw-S full server_memory 22116 0x7956c000 0x795b1000 276 rw-s full w>/boot/home/Desktop/haiku/src/ 22070 0x795b7000 0x795fc000 276 rw-s full w>TrackerWindow_5575_stack 22086 0x79a32000 0x79a77000 276 rw-s full w>TrackerWindow_5583_stack Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel Semaphores: ID Count Last Holder Name ------------------------------------------------------------ 188383 0 0 BMessageQueue Lock 188893 0 0 AppLooperPort 258906 0 0 BMessageQueue Lock 259093 0 5583 TrackerWindow 259206 0 0 Catalog 259246 0 0 some BLocker 259257 0 0 Light Lock 259258 0 0 PeriodicUpdatePoses 259259 0 0 Catalog 259261 0 0 undo 259278 0 5570 LocaleRosterData 259279 0 5604 AppServerLink_sLock 259284 0 0 some BBlockCache lock 259285 0 0 some BLocker 259290 0 0 some BLocker 259291 0 0 some BLocker 259292 0 0 some BLocker 259294 0 5594 token space 259296 0 0 some BLocker 259297 0 5583 BLooperList lock 259300 0 0 Catalog 259301 0 0 Tracker shared icon cache 259303 0 0 Catalog 259310 0 0 Light Lock 259312 0 0 screen list 259318 0 5594 Koder 259323 0 0 clipboard 259327 0 0 BMessageQueue Lock 259339 0 0 width buffer 259342 0 0 BMessageQueue Lock 259343 0 5575 TrackerWindow 259346 0 0 Tracker node icon cache 259354 0 0 some BLocker 259355 0 0 some BLocker 259358 0 0 virtual directory manager 259382 0 0 BMessageQueue Lock 259402 0 0 offscreen bitmap 259404 0 0 BMessageQueue Lock 259406 0 0 offscreen bitmap 259421 0 0 BMessageQueue Lock 259422 0 0 offscreen bitmap 259439 0 0 offscreen bitmap 259443 0 0 BMessageQueue Lock 259454 0 0 tool tip manager ```