[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#613221: This is related to __thread

Hi, I am experiencing this on Ubuntu 10.10.

I am using GNUstep from trunk and cairo 1.10.2 and pixman 0.20.2 built from source.

It's caused by the thread-local fast_path_cache variable in pixman.c. If you make that non-thread-local (a normal static variable) the problem will go away.

The root problem here is interaction between thread local storage and dlopen, because the gnustep-back bundle, which dynamically links to libpixman, is dlopened by gnustep-gui. However, I'm not sure how to properly fix it other than building pixman without TLS.


Reply to: