Open ghost opened 8 years ago
@mati865 do you understand what was python doing? If I have a command line to reproduce the problem I can investigate faster on my local machine.
Thanks!
I'm not an expert but these errors could be caused by miscompilation, library incompatibility or lack of free RAM.
EDIT: Hmm python2 wasn't downloaded or updated. Is Tea running latest python2 package?
Thank you.
EDIT: Hmm python2 wasn't downloaded or updated. Is Tea running latest python2 package?
Yes, Tea CI has latest Msys2 Python2 package pre-installed in docker image teaci/msys64 and teaci/msys32
I'll take some more time on this issue.
The below code reproduced a similar bug with Cygwin/Msys2 64bit on Wine, but works fine on Windows and 32bit Wine:
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <semaphore.h>
#include <pthread.h>
int
main(int argc, char *argv[])
{
sem_t *p_sem = malloc(sizeof(sem_t));
memset(p_sem, 0xcc, sizeof(sem_t)); /* trigger exception handling code in Cygwin sem_init()-->verifyable_object_isvalid() */
sem_init(p_sem, 0, 1);
return 0;
}
I created a bug on Wine Staging: https://bugs.wine-staging.com/show_bug.cgi?id=691
Reference:
Not sure if it is related to https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=0aa738220bb9dea2ad479e484560767b36701947