Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

segmentation fault #643

Closed
phineas0fog opened this issue Aug 7, 2018 · 8 comments
Closed

segmentation fault #643

phineas0fog opened this issue Aug 7, 2018 · 8 comments

Comments

@phineas0fog
Copy link

Hello :)
Since I've updated buttercup, I get a segfault when I try to launch it :/ This is a VERY big problem cause because of this problem, I can't access to my servers (because of the pass etc. And yes, no other solution). I use strace to see if I can correct the problem myself, but I don't think.

buttercup try to access to the file /etc/gnutls/default-priorities that don't exist on my system. Yes, gnutls is installed and up-to-date.

Strace output extract

getrandom("\x9f", 1, GRND_NONBLOCK)     = 1
stat("/etc/gnutls/default-priorities", 0x7ffe64945b30) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0xb87650} ---
+++ killed by SIGSEGV (core dumped) +++
[1]    8480 segmentation fault (core dumped)  strace buttercup

My system

  • Archlinux (antergos) with 4.17.12 kernel
  • gnutls: version 3.5.19-1
  • lib-gnutls: version 3.5.18-1 (apparently up-to-date)

Thanks a lot ❤️

@sallar
Copy link
Member

sallar commented Aug 8, 2018

Hi @phineas0fog thanks for letting us know. I will look into this, since I havent used Archlinux before and we haven't this error in other systems, I have to research a bit.

Thanks
Sallar

@phineas0fog
Copy link
Author

Hello,
I just test with an old version of buttercup (on archlinux too, I haven't updated anything in a few days) and the strace command don't show any things related to the missing file from my previous post.

I hope this can help ;)

@perry-mitchell
Copy link
Member

Arch is unfortunately not part of our testing suite, so getting anything done here will be difficult without contributed effort. We'd appreciate any help you might provide @phineas0fog - debugging this on your machine would most likely be really helpful. If there's some dependency missing on arch (due to the fact that arch runs more lean than other linux distros) perhaps we can find out what it is and document that for other arch users.

@perry-mitchell
Copy link
Member

@phineas0fog before we continue, please try the solution posted here to see if that helps.

@Zjemm
Copy link

Zjemm commented Aug 13, 2018

same issue here on arch
is there anything i can check to help out?

@perry-mitchell
Copy link
Member

@Zjemm You could try out that solution I linked in the previous post, or you could perhaps open a dev environment and try to debug it there. Any information would help..

@Zjemm
Copy link

Zjemm commented Aug 17, 2018

glibc 2.28-4 is released, and now it starts normal with that new version :)

the only thing i noticed is::
[14:46:13:0502] [info] Checking for update
[14:46:13:0504] [error] Error: Error: ENOENT: no such file or directory, open '/opt/buttercup-desktop/resources/app-update.yml'

and when i drag a group-item, the app hangs completely

@perry-mitchell
Copy link
Member

Hi @Zjemm - Great news! I'll close this and will make a note on our readme.

With regards to the ENOENT error, we have a bug for that: #641.

If you could create a new issue for the group-dragging issue, that'd be really helpful!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants