#12699: Various crashes in BHttpRequest's crypto
--------------------------------+----------------------------
Reporter: ttcoder | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Kits/Network Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
--------------------------------+----------------------------
Comment (by ttcoder):
Seems this is actually reproducible for me in fact, by going through a few
hoops (didn't yet try to simplify the process and compile directly on this
machine).
The Debugger still does not signal any double-free or the such though, it
just mentions an abnormal memory allocation in the
BUrlContext/Certificate's BList.
The syslog is interesting:
{{{
KERN: malloc() of 2684354560 bytes asked
KERN: bfs: bfs_create_symlink:1020: File or Directory already exists
KERN: bfs: bfs_open_dir:1647: Not a directory
KERN: malloc() of 2684354560 bytes asked <----- note: that's hex value
0xa0000000 it seems
KERN: bfs: bfs_create_symlink:1020: File or Directory already exists
KERN: bfs: bfs_open_dir:1647: Not a directory
KERN: malloc() of 2684354560 bytes asked
KERN: bfs: bfs_create_symlink:1020: File or Directory already exists
KERN: bfs: bfs_open_dir:1647: Not a directory
KERN: malloc() of 2684354560 bytes asked
KERN: bfs: bfs_create_symlink:1020: File or Directory already exists
KERN: slab memory manager: created area 0xf1001000 (11527)
(...)
KERN: low resource memory: normal -> note
KERN: low resource memory: note -> critical
KERN: 0xdf8ff870->VMAnonymousCache::_Commit(1342185472): Failed to reserve
1342074880 bytes of RAM
KERN: low resource memory: critical -> note
KERN: 3101: DEBUGGER: failed to create area for allocation of 327681 pages
KERN: debug_server: Thread 3101 entered the debugger: Debugger call:
`failed to create area for allocation of 327681 pages'
KERN: low resource memory: note -> warning
KERN: stack trace, current PC 0x6090e114 commpage_syscall + 0x4:
KERN: (0x7121abd8) 0x70ca25 panic__FPCce + 0x45
KERN: (0x7121b008) 0x70d363 guarded_heap_allocate_with_area__FUlUl +
0x93
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/12699#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.