• 1 Post
  • 13 Comments
Joined 1 year ago
cake
Cake day: July 13th, 2023

help-circle







  • Mem stomps are the worst. At least nowadays we have address sanitizer to find em. We recently had one where the same 4 byte pattern was being written randomly in different places in memory, would happen all over the place. Always the same 4 byte pattern, just different places. Eventually, it would write to a spot that was being used and cause a crash. Different callstacks almost every time, but the same memory footprint wherever the crash happened. An array size, a memory address, a string mangled, etc. Eventually we got our ASan build working after about a month of trying to track it down, digging through callstacks and core dumps. We found that it was a dangling pointer in our AI system, when an AI was removed, there was a situation where the pointer wouldn’t always be cleaned up, then later when another AI was removed, a boolean and an enum were written to the address of the dangling pointer, always the same format/value. which had haunted us for so long.





  • Based on Twitter definitions of state affiliated, govt funded, and public funded, NPR aligns the least with state affiliated and most with publicly funded, right?

    How state-affiliated media accounts are defined

    State-affiliated media is defined as outlets where the state exercises control over editorial content through financial resources, direct or indirect political pressures, and/or control over production and distribution. Accounts belonging to state-affiliated media entities, their editors-in-chief, and/or their prominent staff may be labeled. We will also add labels to Tweets that share links to state-affiliated media websites.

    How government-funded media accounts are defined

    Government-funded media is defined as outlets where the government provides some or all of the outlet’s funding and may have varying degrees of government involvement over editorial content. We may use external sources similar to this one in order to determine when this label is applied.

    How publicly-funded media accounts are defined

    Publicly-funded media refers to media organizations that receive funding from license fees, individual contributions, public financing, and commercial financing.