Opened 17 years ago
Closed 16 years ago
#1896 closed bug (fixed)
libroot: free bug (was: /bin/bc crash)
Reported by: | thorn | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/libroot.so | Version: | R1/pre-alpha1 |
Keywords: | Cc: | thorn | |
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
Change History (3)
comment:1 by , 17 years ago
Cc: | added |
---|
comment:2 by , 17 years ago
Component: | Applications → System/libroot.so |
---|---|
Summary: | /bin/bc crash → libroot: free bug (was: /bin/bc crash) |
easily replicable serial log:
vm_soft_fault: va 0xd01800e7 not covered by area in address space vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0xd01800e7, ip 0x23e2f2, write 0, user 1, thread 0x1d50 vm_page_fault: sending team "bc" 0x1d50 SIGSEGV, ip 0x23e2f2 ("libroot.so_seg0ro" +0x2a2f2) stack trace: 0x0023fb08 (libroot.so_seg0ro + 0x2bb08) 0x0020455e (bc_seg0ro + 0x455e) 0x00202e85 (bc_seg0ro + 0x2e85) 0x00202953 (bc_seg0ro + 0x2953) 0x001007ca (runtime_loader_seg0ro + 0x7ca) 0x7ffe6fec (bc_main_stack + 0xffffec) 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 0x80092ae8, write 0, user 0, thread 0x1d50 debug_server: Thread 7504 entered the debugger: Segment violation stack trace, current PC 0x23e2f2 free__Q28BPrivate11processHeapPv + 0x66: (0x7ffe69ac) 0x23fb08 free + 0xa0 (0x7ffe69dc) 0x20455e yyparse + 0x148e (0x7ffe6eec) 0x202e85 main + 0x1e1 (0x7ffe6f7c) 0x202953 _start + 0x5b (0x7ffe6fac) 0x1007ca (runtime_loader_seg0ro + 0x7ca)
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in hrev30871. Make doesn't care to regenerate bc.c and scan.c, so we do the same.
Note:
See TracTickets
for help on using tickets.
0x0023e176 in BPrivate::processHead::free ()
(gdb) bt #0 0x0023e176 in BPrivate:processHeap::free ()
#1 0x0023f984 in free () from /boot/beos/system/lib/libroot.so #2 0x0020455e in yyparse () #3 0x00202e85 in main () (gdb)