Date: Wed, 08 Sep 2021 04:04:26 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258212] net-im/telegram-desktop: stop reason = signal SIGSEGV Message-ID: <bug-258212-7788-Jg0AUeMDd2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-258212-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-258212-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258212 --- Comment #3 from Henry Hu <henry.hu.sh@gmail.com> --- I'm able to reproduce this with a simple program: #include <iconv.h> #include <pthread.h> #include <locale.h> void* iconv_thread(void* arg) { iconv_open("UTF-8", "UTF-8"); return NULL; } void* locale_thread(void* arg) { setlocale(LC_ALL, "en_US.UTF-8"); return NULL; } int main() { pthread_t t1, t2; pthread_create(&t1, NULL, iconv_thread, NULL); pthread_create(&t2, NULL, locale_thread, NULL); pthread_join(t1, NULL); pthread_join(t2, NULL); } Seems to be an issue in concurrent calls to iconv_open() and setlocale(). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258212-7788-Jg0AUeMDd2>