Skip to content

Instantly share code, notes, and snippets.

@catamorphism
catamorphism / gist:fc07f7eda8ae5dd9ec5da7448b57ce1c
Last active April 4, 2024 22:53
Crashes in ICU tools when running under asan
# Steps to reproduce
Using Ubuntu 23.10 and clang 16.0.6.
```
$ git clone https://github.com/unicode-org/icu.git
$ cd icu
$ mkdir build
$ cd build
$ CPPFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address ../icu4c/source/runConfigureICU --enable-debug --disable-release Linux/clang --disable-renaming --enable-tracing
```
ASAN_OPTIONS=detect_leaks=0
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH rr record ../bin/genrb -s ../../icu4c/source/data/locales -d ./out/build/icudt75l/ -i ./out/build/icudt75l --usePoolBundle ./out/build/icudt75l/ -k af.txt
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH rr record ../bin/genrb -s ../../icu4c/source/data/locales -d ./out/build/icudt75l/ -i ./out/build/icudt75l --usePoolBundle ./out/build/icudt75l/ -k af_NA.txt
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH rr record ../bin/genrb -s ../../icu4c/source/data/locales -d ./out/build/icudt75l/ -i ./out/build/icudt75l --usePoolBundle ./out/build/icudt75l/ -k af_ZA.txt
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH rr record ../bin/genrb -s ../../icu4c/source/data/locales -d ./out/build/icudt75l/ -i ./out/build/icudt75l --usePoolBundle ./out/build/icudt75l/ -k agq.txt
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH rr record ../bi
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
<channel rdf:about="http://pinboard.in">
<title>Pinboard (items tagged geekfeminism)</title>
<link>https://pinboard.in/t:geekfeminism/</link>
<description></description>
<items>
<rdf:Seq> <rdf:li rdf:resource="https://medium.com/about-work/f986fbd5e51f"/>
<rdf:li rdf:resource="http://www.autostraddle.com/lets-talk-about-sexism-in-the-tech-industry-194800/"/>
<rdf:li rdf:resource="http://amazonchique.tumblr.com/"/>
by tef ( http://twitter.com/tef_ebooks ) and Tim ( http://twitter.com/fatneckbeardguy )
I hear the BART a comin'
It's rollin' round the bend
And I haven't seen the sunshine
since I don't know when
I'm stuck in San Francisco
and time keeps dragging on
But that train keeps a rollin'
On down to Pleasantone
by tef ( http://twitter.com/tef_ebooks ) and Tim ( http://twitter.com/fatneckbeardguy )
I hear the BART a comin'
It's rollin' round the bend
And I haven't seen the sunshine
since I don't know when
I'm stuck in San Francisco
and time keeps dragging on
But that train keeps a rollin'
On down to Pleasantone
I don't know where to start with a single good article, but look at:
http://geekfeminism.wikia.com/wiki/Geek_Feminism_Wiki
http://geekfeminism.org/ (check the tags for specifically math-related ones)
http://ashedryden.com/ -- she has a "101-level reader" post at http://ashedryden.com/blog/the-101level-reader-books-to-help-you-better-understand-your-biases-and-the-lived-experiences
http://kronda.com/tech-needs-more-empathy
December 10 through January 4: Defining the data structure, implementing essential functionalities such as comparability/ordering, cloning/copying, a useful to_str() method. The extended length of this time period is intended to allow me to become more familiar with the data structure and constraints of the language as well as account for downtime surrounding the holidays. If possible, I will try to make enough progress to advance to the next stage early--this schedule is a conservative estimate.
January 5 through January 18: Defining insertions and refactoring (splitting) of the B-tree.
January 19 through February 1: Defining deletions and refactoring (merging) of the B-tree.
February 2 through February 8: Benchmarking and establishing the efficiency of the new B-tree.
February 9 through February 22: More benchmarking, and now comparing the capabilities of the B-tree against the older treemap library, taking notes on what works better or worse in each case.
February 23 through March 1: Implementing changes
It is our objective to provide a work environment free from elements that would deter employees from performing their best work. All concerns may be expressed through our open door policy. Management at [REDACTED] maintains this open door policy to discuss any issues you may have. Feel free to express yourself about work related or personal matters. We welcome your input.
If you feel you have been discriminated against in any way you are encouraged to express concern through this open door policy.
Our units of temporal measurement, from seconds on up to months,
are so complicated, asymmetrical and disjunctive so as to make
coherent mental reckoning in time all but impossible. Indeed, had
some tyrannical god contrived to enslave our minds to time, to
make it all but impossible for us to escape subjection to sodden
routines and unpleasant surprises, he could hardly have done
better than handing down our present system. It is like a set of
trapezoidal building blocks, with no vertical or horizontal
surfaces, like a language in which the simplest thought demands
ornate constructions, useless particles and lengthy
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDetq4i6KkJSOMvB7LeAqXMcOAwZyzkyqD7HJVHZsZ+k8K6SiUGqAZ+47boDmr2qL+dbHKkSCCpcVamatsbYSu1IB0D2zPjmc5OOdkjs2Ctgq4gW1yg8E0oH6yE5WNZuUmV5DQPuwCeso/BVPDaZA1aK+jKWeCTgNuataEBd1cPIS3wyscRwyeFmIsDkMSIJxfLYKGNTVQAbVnZlE2fAb4cgDF9ABwHWgZKnwoI0vww532wYPiVR0glYuUI0mnapvRxKJ1kYvGj6lzkfe//FoGvesXwOfqIdPInldrMiYTlvQWfuwYVAjw8C0cp7f+51NwubSeE0zot81jz9tvGiMft tchevalier@host-5-114.mv.mozilla.com