Danack
Danack
If anyone knows how to detect C locales that use anything other than point as a decimal separator, that would be nice to know.
Probably something like: http://www.cplusplus.com/reference/clocale/lconv/ ``` struct lconv *lc = localeconv(); printf("Local Currency Symbol : %s\n", lc->currency_symbol); printf("International Currency Symbol: %s\n", lc->int_curr_symbol); ``` And check these are all as expected: ```...
Do you mean that you'd prefer to have a different version of ImageMagick compiled? Do you know one that is 'good'? aka I had no idea what you precisely mean...
Do you have any other extensions loaded that are touching threads? I think I looked at some similar bugs before, and the result was adding this to the readme: https://github.com/Imagick/imagick#openmp...
> PHP 7.2 and 7.3 build with same IM version are OK... > Rather a change in 7.4 ? The impression I got from looking at similar bug reports was...
From 8 years ago: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652960 a very similar backtrace: ``` Backtrace is #0 do_wait (val=12, addr=0x100f154) at ../../../src/libgomp/config/linux/wait.h:53 #1 gomp_barrier_wait_end (bar=0x100f150, state=12) at ../../../src/libgomp/config/linux/bar.c:49 #2 0x00007ffff1a8964e in gomp_thread_start (xdata=) at...
Thanks for the docker file. I've added a version that to the repo's docker compose to make this easier for anyone to debug. Checking out that branch and then doing...
Opened upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91256 fyi, although yesterday the segfault was happening almost consistently, today with the weather being warmer, it seems to be happening less consistently.
My spidey sense is tingling on the word TLS: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52738 Also, in PHP_MSHUTDOWN_FUNCTION changing: ``` MagickWandTerminus(); ``` to ``` MagickWandTerminus(); usleep(2000000); ``` apparently makes the problem 'go away'.
This seems to be a thing: https://stackoverflow.com/questions/5200418/destroying-threads-in-openmp-c