-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension crashing on start after updating to latest version #916
Comments
0.26.0 would be the first time we released (and built the binaries) on GitHub Actions. My guess is the build machines provisioned for GH Actions are probably much newer. Comparing the 2 binaries, it seems like the newer one requires GLIBC_2.34 for certain symbols that before were found on 2.2.5. diff--- /dev/fd/63 2023-07-11 08:30:30.551127674 -0400
+++ /dev/fd/62 2023-07-11 08:30:30.552127692 -0400
@@ -1,5 +1,5 @@
+0000000000000000 (GLIBC_2.2.5) __cxa_finalize
0000000000000000 (GLIBC_2.2.5) _environ
-(GLIBC_2.12) pthread_setname_np
(GLIBC_2.14) memcpy
(GLIBC_2.15) posix_spawn
(GLIBC_2.17) clock_gettime
@@ -13,9 +13,6 @@
(GLIBC_2.2.5) close
(GLIBC_2.2.5) closedir
(GLIBC_2.2.5) connect
-(GLIBC_2.2.5) dlclose
-(GLIBC_2.2.5) dlopen
-(GLIBC_2.2.5) dlsym
(GLIBC_2.2.5) dup
(GLIBC_2.2.5) dup2
(GLIBC_2.2.5) __environ
@@ -70,7 +67,6 @@
(GLIBC_2.2.5) kill
(GLIBC_2.2.5) lchown
(GLIBC_2.2.5) __libc_current_sigrtmax
-(GLIBC_2.2.5) __libc_start_main
(GLIBC_2.2.5) lseek
(GLIBC_2.2.5) lseek64
(GLIBC_2.2.5) __lxstat64
@@ -91,16 +87,9 @@
(GLIBC_2.2.5) poll
(GLIBC_2.2.5) pread64
(GLIBC_2.2.5) pthread_attr_destroy
-(GLIBC_2.2.5) pthread_attr_getguardsize
-(GLIBC_2.2.5) pthread_attr_getstack
(GLIBC_2.2.5) pthread_attr_init
(GLIBC_2.2.5) pthread_attr_setdetachstate
-(GLIBC_2.2.5) pthread_attr_setstacksize
(GLIBC_2.2.5) pthread_condattr_init
-(GLIBC_2.2.5) pthread_create
-(GLIBC_2.2.5) pthread_getattr_np
-(GLIBC_2.2.5) pthread_join
-(GLIBC_2.2.5) pthread_kill
(GLIBC_2.2.5) pthread_mutex_init
(GLIBC_2.2.5) pthread_mutex_lock
(GLIBC_2.2.5) pthread_mutex_unlock
@@ -163,7 +152,19 @@
(GLIBC_2.3.2) pthread_cond_init
(GLIBC_2.3.2) pthread_cond_timedwait
(GLIBC_2.3.2) pthread_cond_wait
-(GLIBC_2.3.3) pthread_condattr_setclock
+(GLIBC_2.32) pthread_getattr_np
+(GLIBC_2.34) dlclose
+(GLIBC_2.34) dlopen
+(GLIBC_2.34) dlsym
+(GLIBC_2.34) __libc_start_main
+(GLIBC_2.34) pthread_attr_getguardsize
+(GLIBC_2.34) pthread_attr_getstack
+(GLIBC_2.34) pthread_attr_setstacksize
+(GLIBC_2.34) pthread_condattr_setclock
+(GLIBC_2.34) pthread_create
+(GLIBC_2.34) pthread_join
+(GLIBC_2.34) pthread_kill
+(GLIBC_2.34) pthread_setname_np
(GLIBC_2.3.4) sched_getaffinity
(GLIBC_2.3.4) __xpg_strerror_r
(GLIBC_2.3) fgetxattr Update: Looks like https://developers.redhat.com/articles/2021/12/17/why-glibc-234-removed-libpthread explains this. "A downside of these changes is that we had to add many new GLIBC_2.34 symbol versions for existing functions." Looks like GH Actions has Ubuntu What is your Linux distribution and version ? We should get a better idea of what versions would be losing support given this change. |
- Fixed redhat-developer#916 - Recent Linux distros include GLIBC 2.34, which broke compatibility with older versionss, so use Ubuntu 22.04 to have better support Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
- Fixed redhat-developer#916 - Recent Linux distros include GLIBC 2.34, which broke compatibility with older versionss, so use Ubuntu 20.04 to have better support Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
I just tried using a --- /dev/fd/63 2023-07-11 11:41:16.670294670 -0400
+++ /dev/fd/62 2023-07-11 11:41:16.671294696 -0400
@@ -1,3 +1,4 @@
+0000000000000000 (GLIBC_2.2.5) __cxa_finalize
0000000000000000 (GLIBC_2.2.5) _environ
(GLIBC_2.12) pthread_setname_np
(GLIBC_2.14) memcpy So I think this change could work! It looks like all the symbols maintained their earlier requirements. Update: If you could try https://github.com/rgrunber/vscode-xml/releases/download/untagged-9ddcd1605a024802730f/vscode-xml-linux-x64-0.26.0-284.vsix and let me know if that fixes the issue that would be great. I created it by simply re-running the build with the following change : rgrunber@e6b6232 |
@rgrunber Thanks for looking into the issue!
I'm on Ubuntu 20.04.6 LTS
I can't open this link, it returns 404 page not found |
I guess it would make sense that drafts are hidden 🤦 . I've published it in my fork. Could you try https://github.com/rgrunber/vscode-xml/releases/download/0.26.0/vscode-xml-linux-x64-0.26.0-284.vsix ? |
@rgrunber Thanks, I confirmed your version works on my pc :) |
- Fixed redhat-developer#916 - Recent Linux distros include GLIBC 2.34, which broke compatibility with older versions, so use Ubuntu 20.04 to have better support Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
- Fixed #916 - Recent Linux distros include GLIBC 2.34, which broke compatibility with older versions, so use Ubuntu 20.04 to have better support Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
0.26.1 was recently published to the marketplaces. It should contain the needed fix. |
The extension stopped working after updating to the latest version today.
Seems something related with libc?
The text was updated successfully, but these errors were encountered: