Skip to content
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

segmentation fault on startup #388

Closed
jonassmedegaard opened this issue Aug 27, 2017 · 21 comments
Closed

segmentation fault on startup #388

jonassmedegaard opened this issue Aug 27, 2017 · 21 comments

Comments

@jonassmedegaard
Copy link

After a fresh compile and install, astroid segmentation faults for me.

Possibly relevant is that I use xmonad - I notice some of the last debugging messages seem related to window management - perhaps Astroid makes assumptions on X11 environment being a rich desktop?

[...]
[16:36:10.918018] [0x00007fc633e9dac0] [debug] pm: add pane
[16:36:10.918323] [0x00007fc614f4f700] [info] db: open db read-only, waiting for lock..
[16:36:10.918384] [0x00007fc614f4f700] [debug] db: read-only got lock.
[16:36:10.918639] [0x00007fc614f4f700] [debug] db: open time: 0.348 ms.
[16:36:10.918676] [0x00007fc614f4f700] [debug] ql: refresh stats..
[16:36:10.919579] [0x00007fc633e9dac0] [debug] mw: does not have focus, will not grab modal.
[16:36:10.919668] [0x00007fc633e9dac0] [debug] mw: does not have focus, will not grab modal.
[16:36:10.919711] [0x00007fc633e9dac0] [debug] mw: does not have focus, will not grab modal.
[16:36:10.943470] [0x00007fc633e9dac0] [info] poll: emitted poll state: false
[16:36:10.943635] [0x00007fc633e9dac0] [info] poll: emitted poll state: false
[16:36:10.960324] [0x00007fc633e9dac0] [debug] mw: focus-in: 1 active: true, in_quit: false
Segmentfejl (smed kerne)

I can install debugging symbols and trace, but then need step-by-step guidance for that.

@gauteh
Copy link
Member

gauteh commented Aug 27, 2017 via email

@jonassmedegaard
Copy link
Author

jonassmedegaard commented Aug 27, 2017 via email

@gauteh
Copy link
Member

gauteh commented Aug 27, 2017 via email

@jonassmedegaard
Copy link
Author

jonassmedegaard commented Aug 27, 2017 via email

@gauteh
Copy link
Member

gauteh commented Aug 28, 2017 via email

@jonassmedegaard
Copy link
Author

jonassmedegaard commented Aug 28, 2017 via email

@gauteh
Copy link
Member

gauteh commented Aug 28, 2017 via email

@gauteh gauteh added the gmime label Aug 28, 2017
@gauteh gauteh changed the title segmentation fault on startup gmime-3 ABI break: segmentation fault on startup Aug 28, 2017
@gauteh gauteh mentioned this issue Aug 28, 2017
@gauteh
Copy link
Member

gauteh commented Aug 28, 2017

This bug seems to be caused by trying to run astroid against gmime 3, which ABI does not match gmime 2. See #389 for porting to Gmime 3.

@gauteh gauteh closed this as completed Aug 28, 2017
@jonassmedegaard
Copy link
Author

jonassmedegaard commented Aug 28, 2017 via email

@gauteh
Copy link
Member

gauteh commented Aug 28, 2017 via email

@gauteh gauteh reopened this Aug 28, 2017
@jonassmedegaard
Copy link
Author

jonassmedegaard commented Aug 28, 2017 via email

@gauteh
Copy link
Member

gauteh commented Aug 28, 2017 via email

@gauteh gauteh changed the title gmime-3 ABI break: segmentation fault on startup segmentation fault on startup Aug 28, 2017
@gauteh
Copy link
Member

gauteh commented Aug 28, 2017

That segfault does happen in a gmime call from notmuch. The bug might also lay in that gmime / notmuch function.

@jonassmedegaard
Copy link
Author

jonassmedegaard commented Aug 28, 2017 via email

@gauteh
Copy link
Member

gauteh commented Aug 28, 2017 via email

@gauteh
Copy link
Member

gauteh commented Sep 18, 2017

Do you have any more information on this seg fault? (as per some of the discussion here you might want to check out #395 for Gmime 3 support)

@gauteh gauteh added need-info and removed gmime labels Sep 18, 2017
@gauteh
Copy link
Member

gauteh commented Sep 19, 2017

Gmime 3 support has now been merged into master, hope to make a release soon. Need some more info on this issue or am going to close.

@jonassmedegaard
Copy link
Author

jonassmedegaard commented Sep 19, 2017 via email

@jonassmedegaard
Copy link
Author

jonassmedegaard commented Sep 19, 2017 via email

@gauteh
Copy link
Member

gauteh commented Sep 19, 2017 via email

@jonassmedegaard
Copy link
Author

yes

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

No branches or pull requests

2 participants