Project

General

Profile

Actions

Bug #765

closed

infinite recursion caused by libc and pthread wrappers

Added by Stefan Seefeld about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/18/2014
Due date:
% Done:

100%

Estimated time:

Description

preloading both liblttng-ust-pthread-wrapper and liblttng-ust-libc-wrapper causes an infinite recursion when liburcu is compiled with --disable-compiler-tls:

calloc() calls __tls_access_malloc_nesting(), which calls pthread_mutex_lock(), which calls dlsym dlerror_run(), which calls calloc()...
(See attached stacktrace for details.)


Files

stacktrace (4.59 KB) stacktrace Stefan Seefeld, 03/18/2014 10:07 AM
Actions #1

Updated by Mathieu Desnoyers about 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF