Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1960 closed bug (fixed)

Terminal crash on resize

Reported by: thorn Owned by: axeld
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

serial log:

vm_soft_fault: va 0x6e656877 not covered by area in address space
vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x6e656877, ip 0x79dfa7, write 0, user 1, thread 0x85
vm_page_fault: sending team "Terminal" 0x55 SIGSEGV, ip 0x79dfa7 ("libroot.so_seg0ro" +0x2afa7)
stack trace:
  0x0079e8a9 (libroot.so_seg0ro + 0x2b8a9)
  0x0079f4d4 (libroot.so_seg0ro + 0x2c4d4)
  0x002e8e34 (libbe.so_seg0ro + 0xb3e34)
  0x002e9399 (libbe.so_seg0ro + 0xb4399)
  0x002ea1a6 (libbe.so_seg0ro + 0xb51a6)
  0x00382ce6 (libbe.so_seg0ro + 0x14dce6)
  0x00383118 (libbe.so_seg0ro + 0x14e118)
  0x00382e26 (libbe.so_seg0ro + 0x14de26)
  0x003831aa (libbe.so_seg0ro + 0x14e1aa)
  0x00382e26 (libbe.so_seg0ro + 0x14de26)
  0x003831aa (libbe.so_seg0ro + 0x14e1aa)
  0x00382e26 (libbe.so_seg0ro + 0x14de26)
  0x003831aa (libbe.so_seg0ro + 0x14e1aa)
  0x00382e26 (libbe.so_seg0ro + 0x14de26)
  0x0038b863 (libbe.so_seg0ro + 0x156863)
  0x00386b0e (libbe.so_seg0ro + 0x151b0e)
  0x0038b4a4 (libbe.so_seg0ro + 0x1564a4)
  0x002e4c6b (libbe.so_seg0ro + 0xafc6b)
  0x0079452c (libroot.so_seg0ro + 0x2152c)
  0x700c1fec (w>Terminal 1_133_stack + 0x3ffec)
vm_soft_fault: va 0x0 not covered by area in address space
vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x0, ip 0x800935c8, write 0, user 0, thread 0x85
debug_server: Thread 133 entered the debugger: Segment violation
stack trace, current PC 0x79dfa7  malloc__Q28BPrivate10threadHeapUl + 0x4e3:
  (0x700c177c)  0x79e8a9  malloc + 0x145
  (0x700c17ac)  0x79f4d4  realloc + 0x114
  (0x700c17dc)  0x2e8e34  _ResizeData__8BMessagell + 0xd0
  (0x700c180c)  0x2e9399  AddData__8BMessagePCcUlPCvlbl + 0xed
  (0x700c184c)  0x2ea1a6  AddPoint__8BMessagePCcG6BPoint + 0x36
  (0x700c188c)  0x382ce6  _MoveTo__5BViewll + 0xa2
  (0x700c192c)  0x383118  _ParentResizedBy__5BViewll + 0x1a8
  (0x700c199c)  0x382e26  _ResizeBy__5BViewll + 0x76
  (0x700c1a2c)  0x3831aa  _ParentResizedBy__5BViewll + 0x23a
  (0x700c1a8c)  0x382e26  _ResizeBy__5BViewll + 0x76
  (0x700c1b1c)  0x3831aa  _ParentResizedBy__5BViewll + 0x23a
  (0x700c1b7c)  0x382e26  _ResizeBy__5BViewll + 0x76
  (0x700c1c0c)  0x3831aa  _ParentResizedBy__5BViewll + 0x23a
  (0x700c1c6c)  0x382e26  _ResizeBy__5BViewll + 0x76
  (0x700c1cfc)  0x38b863  _AdoptResize__7BWindow + 0xc3
  (0x700c1d4c)  0x386b0e  DispatchMessage__7BWindowP8BMessageP8BHandler + 0x412
  (0x700c1f1c)  0x38b4a4  task_looper__7BWindow + 0x270
  (0x700c1f7c)  0x2e4c6b  _task0___7BLooperPv + 0x3f
  (0x700c1fac)  0x79452c  _get_next_team_info + 0x5c (closest symbol)

gdb

#0  0xffff0104 in ?? ()
#1  0x00799dd0 in BPrivate::hoardYield () from /boot/beos/system/lib/libroot.so
#2  0x00799d7f in BPrivate::hoardLock () from /boot/beos/system/lib/libroot.so
#3  0x0079db5a in BPrivate::threadHeap::malloc ()
   from /boot/beos/system/lib/libroot.so
#4  0x0079e8a9 in malloc () from /boot/beos/system/lib/libroot.so
#5  0x002e4cde in BLooper::ReadRawFromPort ()
   from /boot/beos/system/lib/libbe.so
#6  0x002e4d4e in BLooper::ReadMessageFromPort ()
   from /boot/beos/system/lib/libbe.so
#7  0x002e43ef in BLooper::MessageFromPort ()
   from /boot/beos/system/lib/libbe.so
#8  0x002e4edb in BLooper::task_looper () from /boot/beos/system/lib/libbe.so
#9  0x002d9401 in BApplication::Run () from /boot/beos/system/lib/libbe.so
#10 0x0021450b in main ()

Change History (2)

comment:1 by bonefish, 11 years ago

Resolution: fixed
Status: newclosed

Should be fixed in hrev26192.

comment:2 by bonefish, 11 years ago

Closed this one accidentally, but I guess it is fixed after my recent work on the Terminal anyway. Please reopen, if you encounter it again.

Note: See TracTickets for help on using tickets.