Skip to content

stderr crash #1354

Description

Hey :)

[Inline Frame] Editor_debug.exe!_fputs_internal(const char * const string, _iobuf * const stream, __crt_cached_ptd_host &) Line 20 C++
Editor_debug.exe!fputs(const char * string, _iobuf * stream) Line 41 C++
Editor_debug.exe!_mi_prim_out_stderr(const char * msg) Line 664 C++
Editor_debug.exe!mi_out_stderr(const char * msg, void * arg) Line 342 C++
Editor_debug.exe!mi_out_buf_flush(void(*)(const char *, void *) out, bool no_more_buf, void * arg) Line 384 C++
Editor_debug.exe!mi_add_stderr_output() Line 426 C++
Editor_debug.exe!_mi_options_post_init() Line 207 C++
Editor_debug.exe!_mi_auto_process_init() Line 1066 C++
Editor_debug.exe!mi_win_main(void * module, unsigned long reason, void * reserved) Line 764 C++
Editor_debug.exe!mi_tls_attach(void * module, unsigned long reason, void * reserved) Line 834 C++

Looks like after 3.4.4 update im getting this crash. sterr looks like uninitialized at this point.

  Name Value Type
ptd {_ptd=0x0000000000000000 _current_global_state_index=0x00007ff6d6e6fd50 _current_global_state_index_valid=...} __crt_cached_ptd_host
  ▶ _ptd 0x0000000000000000 __acrt_ptd *
  _current_global_state_index 0x00007ff6d6e6fd50 unsigned __int64
  _current_global_state_index_valid false bool
  ▶ _locale_pointers {locinfo=0x00007ff6dc218a70 {Editor_debug.exe!__crt_locale_data __acrt_initial_locale_data} {_public=...} ...} __crt_locale_pointers
  _locale_status updated_on_construction (0x01 '\x1') __crt_cached_ptd_host::locale_status
  ▶ _current_errno {_value=0x00007ff6 _valid=false } __crt_cached_ptd_host::cached
  ▶ _current_doserrno {_value=0x0000005d _valid=false } __crt_cached_ptd_host::cached
stream Editor_debug.exe!0x00007ff6dc218840 {_Placeholder=0x0000000000000000 } _iobuf * const
string 0x00007ff6dc409ff0 "mimalloc: process init: 0x5D7B5C1000\n" const char * const

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions