[haiku-bugs] [Haiku] #18095: [WebPositive] crashes with RealCharAt: invalid index supplied

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 24 Nov 2022 10:57:12 -0000

#18095: [WebPositive] crashes with RealCharAt: invalid index supplied
--------------------------------------+-----------------------------
 Reporter:  diver                     |       Owner:  pulkomandy
     Type:  bug                       |      Status:  new
 Priority:  normal                    |   Milestone:  Unscheduled
Component:  Applications/WebPositive  |     Version:  R1/Development
 Keywords:                            |  Blocked By:
 Blocking:                            |    Platform:  All
--------------------------------------+-----------------------------
 Web+ crashed 5 seconds after I launched it. It was trying to load
 https://html5test.com/ from a previous session while I pasted github link
 into the same tab's address bar (not sure if related)

 {{{
 Debug information for team /boot/system/apps/WebPositive (1007):
 CPU(s): 1x Intel 11th Gen Core™ i7-1165G7
 Memory: 2.00 GiB total, 956.99 MiB used
 Haiku revision: hrev56595 Nov 13 2022 10:03:20 (x86_64)

 Active Threads:
         thread 1007: WebPositive (main)
         thread 1010: WebCore: IconDatabase
         thread 1012: w>Downloads
         thread 1014: w>Settings
         thread 1019: sort_thread
         thread 1022: w>WebPositive: Save
         thread 1034: LocalStorage
         thread 1039: BUrlProtocol.HTTP
         thread 1040: BUrlProtocol.HTTP
         thread 1041: BUrlProtocol.HTTP
         thread 1042: BUrlProtocol.HTTP
         thread 1043: team 1007 debug task
         thread 1045: BUrlProtocol.HTTP
         thread 1031: w>HTML5test - How well does you
                 state: Call (RealCharAt: invalid index supplied)

                 Frame           IP                      Function Name
                 -----------------------------------------------
                 00000000        0x1005b9a60a7   _kern_debugger + 0x7
                         Disassembly:
                                 _kern_debugger:
                                 0x000001005b9a60a0:   48c7c0e5000000  mov
 $0xe5, %rax
                                 0x000001005b9a60a7:             0f05
 syscall  <--

                 0x7fb28e9313a0  0x982e82cf9b
 BTextView::_CharClassification(int) const + 0x4b
                 0x7fb28e9313d0  0x982e82d17b
 BTextView::_NextWordBoundary(int) + 0x1b
                 0x7fb28e931420  0x982e834926
 BTextView::_PerformMouseMoved(BPoint, unsigned int) + 0x376
                 0x7fb28e931460  0x982e8349be
 BTextView::TextTrackState::SimulateMouseMovement(BTextView*) + 0x3e
                 0x7fb28e9315c0  0x982e83800f
 BTextView::MessageReceived(BMessage*) + 0x3ff
                 0x7fb28e931630  0x169d39b437e
 BrowserWindow::DispatchMessage(BMessage*, BHandler*) + 0x5e
                 0x7fb28e9316c0  0x982e84fbfb    BWindow::task_looper() +
 0x1cb
                 0x7fb28e9316e0  0x982e78d0dd    BLooper::_task0_(void*) +
 0x1d
                 0x7fb28e931700  0x1005b9a4e16   thread_entry + 0x16
                 00000000        0x7fdd86045258  commpage_thread_exit + 0
 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18095>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: