Crash on launching with a local html file
This is hrev49738.
Double-clicking an html file results in a crash:
thread 4268: WebPositive (main)
state: Exception (Segment violation)
Frame IP Function Name
-----------------------------------------------
0x7328c6c0 0x197617a BString::_MakeWritable(long, bool) + 0x1c
Disassembly:
BString::_MakeWritable(long, bool):
0x0197615e: 55 push %ebp
0x0197615f: 89e5 mov %esp, %ebp
0x01976161: 57 push %edi
0x01976162: 56 push %esi
0x01976163: 53 push %ebx
0x01976164: 83ec0c sub $0xc, %esp
0x01976167: e8dbe1ecff call 0x1844347
0x0197616c: 81c3749f0a00 add $0xa9f74, %ebx
0x01976172: 8b7508 mov 0x8(%ebp), %esi
0x01976175: 8b5510 mov 0x10(%ebp), %edx
0x01976178: 8b06 mov (%esi), %eax
0x0197617a: 8b40f8 mov -0x8(%eax), %eax <--
Frame memory:
[0x7328c6a0] .....\....(s.... 18 00 00 00 a4 5c bc 03 c8 c6 28 73 e0 00 a2 01
[0x7328c6b0] ..L.......(s.j.. e0 17 4c 18 00 00 00 00 e8 c6 28 73 90 6a 97 01
0x7328c6f0 0x1976a8b BString::_DoAppend(char const*, long) + 0x39
0x7328c720 0x1976dd5 BString::operator<<(char) + 0x23
0x7328c750 0x2167901 BUrl::UrlString() const + 0x53
0x7328c7a8 0x382e80e WebCore::BUrlProtocolHandler::RequestCompleted(BUrlRequest*, bool) + 0x1be
0x7328c850 0x216b8d4 BUrlProtocolAsynchronousListener::MessageReceived(BMessage*) + 0x250
0x7328c870 0x184ee07 BLooper::DispatchMessage(BMessage*, BHandler*) + 0x51
0x7328ca90 0x1847828 BApplication::DispatchMessage(BMessage*, BHandler*) + 0x2a
0x7328cae0 0x184f176 BLooper::task_looper() + 0x1c4
0x7328cb00 0x18445cb BApplication::Run() + 0x59
0x7328cb40 0x1e8a76b main + 0x40
0x7328cb68 0x1e7ec36 _start + 0x4b
0x7328cb98 0xc3bbb0 runtime_loader + 0x130
00000000 0x6177e250 commpage_thread_exit + 0
backtrace