search for: malloc_check

Displaying 6 results from an estimated 6 matches for "malloc_check".

Did you mean: malloc_check_
2019 Mar 18
0
Re: [PATCH nbdkit] wrapper: Set MALLOC_CHECK=1 and MALLOC_PERTURB_ (randomly).
On 3/18/19 11:59 AM, Richard W.M. Jones wrote: > This is a cheap way to find some use-after-free and uninitialized read > problems when using glibc. > > This in fact reveals a race during filter shutdown (which this > commit does not fix): > > Thread 2 (Thread 0x7f1caaa5ffc0 (LWP 7223)): > #0 0x00007f1cab0a05f8 in pthread_rwlock_wrlock () from /lib64/libpthread.so.0
2019 Mar 18
2
[PATCH nbdkit] wrapper: Set MALLOC_CHECK=1 and MALLOC_PERTURB_ (randomly).
...nd (); + /* This is a cheap way to find some use-after-free and uninitialized + * read problems when using glibc, and doesn't affect normal + * operation or other libc. We don't overwrite existing values so + * this can be disabled or overridden at runtime. + */ + setenv ("MALLOC_CHECK_", "1", 0); + time (&t); + tu = t; + tu %= 255; + tu++; + snprintf (ts, sizeof ts, "%u", tu); + setenv ("MALLOC_PERTURB_", ts, 0); + /* Run the final command. */ execvp (cmd[0], (char **) cmd); perror (cmd[0]); -- 2.20.1
2019 Apr 02
0
Plan for nbdkit 1.12
...eate MBR logical partitions. Previously it only supported 4 MBR primary partitions and if you wanted more than that you had to use GPT. The partition filter also supports MBR logical partitions. The python plugin creates plugins which are compatible with Python >= 3.7. Tests are now run under MALLOC_CHECK=1 and MALLOC_PERTURB_=<random>. This causes some tests to crash (silently) because of a shutdown race which needs to be fixed. Test shell scripts now have a generic ‘requires’ function to skip tests if features are not present. C99 type ‘bool’ is now used in most places where appropriate....
2004 Feb 02
3
instability
Hi I'm getting some instability on my samba 3.0.1 installation. Here's the backtrace I found in my log: Feb 2 19:10:41 grisen smbd[26068]: [2004/02/02 19:10:41, 0] smbd/service.c:make_connection(857) Feb 2 19:10:41 grisen smbd[26068]: audata1 (192.168.1.121) couldn't find service utskrifter Feb 2 19:10:41 grisen smbd[26068]: [2004/02/02 19:10:41, 0]
2010 Dec 16
13
[Bug 32453] New: SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.
...0x00000000004428f1 in Dispatch () at dispatch.c:432 #12 0x0000000000425b5e in main (argc=9, argv=<value optimized out>, envp=<value optimized out>) at main.c:291 If I use the vesa driver the system comes up fine. Reproducing by launching emacs inside of a gnome session. If I use MALLOC_CHECK_=3 /etc/init.d/xdm restart I can sometimes get Xorg w/ nouveau to work for a few days before crashing. But, that isn't a real solution. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the...
2023 Oct 10
5
[PATCH libnbd 0/4] Miscellaneous Rust cleanups
Add an overview libnbd-rust(3) man page pointing to the real documentation. This is like OCaml & Golang. When reviewing the real rustdocs I noticed they basically converted the man pages into plain text, resulting in lots of problems such as internal links not working, no `code` annotations, etc. So I wrote a simple POD to rustdoc translator. It is by no means perfect, but it fixes many of