Opened 10 years ago

Closed 9 years ago

#4961 closed bug (fixed)

KERN: HEAP-1983: need to resize heap area to 42729472 (131072 requested)

Reported by: kaliber Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description


Change History (3)

comment:1 Changed 10 years ago by kaliber

If I run application kded4, it crashes. Syslog shows many heap related messages. Is this application or haiku bug? If it's application bug, please close ticket as invalid.

KERN: HEAP-1983: heap area large enough for 94704
KERN: HEAP-1983: need to resize heap area to 262144 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 393216 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 524288 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 655360 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 786432 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 917504 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 1048576 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 1179648 (131072 requested)
KERN: HEAP-211: found free chunk to hold 9184 bytes
KERN: HEAP-1983: need to resize heap area to 1310720 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 1441792 (131072 requested)

... cut many lines

KERN: HEAP-1983: need to resize heap area to 42467328 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 42598400 (131072 requested)
KERN: HEAP-1983: need to resize heap area to 42729472 (131072 requested)
KERN: vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x7eff2ff8, ip 0x199a656, write 1, user 1, thread 0x7bf
KERN: vm_page_fault: thread "kded4" (1983) in team "kded4" (1983) tried to write address 0x7eff2ff8, ip 0x199a656 ("libroot.so_seg0ro" +0x3c656)
KERN: debug_server: Thread 1983 entered the debugger: Segment violation
KERN: stack trace, current PC 0x199a656  _ZN8BPrivate10superblock12getNumBlocksEv + 0x16:
KERN: HEAP-211: found free chunk to hold 9184 bytes
KERN:   (0x7eff3010)  0x199a8c3  _ZN8BPrivate10superblock15computeFullnessEv + 0x53
KERN:   (0x7eff3040)  0x199b516  _ZN8BPrivate10superblock8getBlockEv + 0x112
KERN:   (0x7eff3070)  0x199b78e  _ZN8BPrivate9hoardHeap23findAvailableSuperblockEiRPNS_5blockEPNS_11processHeapE + 0x266
KERN:   (0x7eff30c0)  0x1999006  _ZN8BPrivate10threadHeap6mallocEm + 0x7e
KERN:   (0x7eff30f0)  0x19998ad  malloc + 0xe0
KERN:   (0x7eff3140)  0x193ad19  _Znwm + 0x29
KERN:   (0x7eff3170)  0xc66096  _ZN11QThreadData7currentEv + 0x66
KERN:   (0x7eff31b0)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN:   (0x7eff31e0)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff3200)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff3230)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff3270)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN:   (0x7eff32a0)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff32c0)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff32f0)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff3330)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN:   (0x7eff3360)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff3380)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff33b0)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff33f0)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN:   (0x7eff3420)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff3440)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff3470)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff34b0)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN: HEAP-211: found free chunk to hold 9184 bytes
KERN:   (0x7eff34e0)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff3500)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff3530)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff3570)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN:   (0x7eff35a0)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff35c0)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff35f0)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff3630)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN:   (0x7eff3660)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff3680)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff36b0)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff36f0)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN:   (0x7eff3720)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff3740)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff3770)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff37b0)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN:   (0x7eff37e0)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff3800)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff3830)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff3870)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN:   (0x7eff38a0)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff38c0)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39
KERN:   (0x7eff38f0)  0xc660c8  _ZN11QThreadData7currentEv + 0x98
KERN:   (0x7eff3930)  0xd461ec  _ZN7QObjectC2ER14QObjectPrivatePS_ + 0xdc
KERN: HEAP-211: found free chunk to hold 9184 bytes
KERN:   (0x7eff3960)  0xc63723  _ZN7QThreadC2ER14QThreadPrivateP7QObject + 0x23
KERN:   (0x7eff3980)  0xc63a79  _ZN14QAdoptedThreadC1EP11QThreadData + 0x39

comment:2 Changed 9 years ago by kaliber

Please close. It works on newer Haiku image.

comment:3 Changed 9 years ago by anevilyak

Resolution: fixed
Status: newclosed

Thanks for the note!

Note: See TracTickets for help on using tickets.