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

addr2line '': No such file #868

Closed
Rahmerh opened this issue Aug 29, 2022 · 8 comments
Closed

addr2line '': No such file #868

Rahmerh opened this issue Aug 29, 2022 · 8 comments

Comments

@Rahmerh
Copy link

Rahmerh commented Aug 29, 2022

I recently starting getting the following errors when trying to start wee-slack:

======= WeeChat backtrace ======= 
         │13:51:25     | (written by WeeChat 3.6, compiled on Jul 10 2022 14:32:15)
         │13:51:25     | 001  ??:0 [function ??]
         │13:51:25     | 002  ??:0 [function ??]
         │13:51:25     | addr2line: '0x660c4': No such file
         │13:51:25     | addr2line: '0x14ea14': No such file
         │13:51:25     | addr2line: /usr/lib/system/libsystem_platform.dylib: cannot get addresses from archive
         │13:51:25     | addr2line: '0x18234': No such file
         │13:51:25     | addr2line: '0x1847c': No such file
         │13:51:25     | addr2line: '0x1a2ad0': No such file
         │13:51:25     | addr2line: '0x3800c': No such file
         │13:51:25     | addr2line: '0x37e4c': No such file
         │13:51:25     | addr2line: '0x3661c': No such file
         │13:51:25     | addr2line: '0x362f8': No such file
         │13:51:25     | addr2line: '0x35e6c': No such file
         │13:51:25     | addr2line: '0x35da0': No such file
         │13:51:25     | addr2line: '0x35d4c': No such file
         │13:51:25     | addr2line: '0x2eb60': No such file
         │13:51:25     | addr2line: '0x1a33a0': No such file
         │13:51:25     | addr2line: '0x2e514': No such file
         │13:51:25     | addr2line: '0x2e430': No such file
         │13:51:25     | addr2line: '0x6b6c': No such file
         │13:51:25     | addr2line: '0x23b8': No such file
         │13:51:25     | addr2line: '0x15354': No such file
         │13:51:25     | addr2line: '0x1254c': No such file
         │13:51:25     | addr2line: '0x29a1c': No such file
         │13:51:25     | addr2line: '0x2975c': No such file
         │13:51:25     | addr2line: '0x206b0': No such file

I don't think I have changed anything on my side, I've installed the latest of binutils. I also removed my ~/.weechat folder and reinstalled everything. Still happens on a fresh install.

I have weechat 3.6 installed with wee-slack latest

@trygveaa
Copy link
Member

Hm, so the error about addr2line is an error while trying to display info about the original error. From the output here, it's impossible to know what the original error was. Could you try installing addr2line so we get more info about the original error?

@trygveaa
Copy link
Member

Or maybe it's not that addr2line is missing, but that it fails to look up info about the error. If so, could you try following https://weechat.org/files/doc/stable/weechat_user.en.html#report_crashes

@Rahmerh
Copy link
Author

Rahmerh commented Aug 29, 2022

It was missing before, but after re-install of binutils it found it, but then started throwing those errors.

I'll follow that guide and let you know

@Rahmerh
Copy link
Author

Rahmerh commented Aug 29, 2022

I'm sorry but I feel like I'm way out of my league here. I can't seem to build this locally with debug options. I guess close this issue and I'll just move on

@Rahmerh
Copy link
Author

Rahmerh commented Aug 29, 2022

When I try to build using cmake I get 'Php not found'. Any ideas?

@trygveaa
Copy link
Member

You can drop building the PHP plugin with the -DENABLE_PHP=OFF option to cmake.

You can also try logging all the calls wee-slack makes to weechat to see what the last calls it makes before crashing are, which might give some clue. I've made a branch which logs the calls to /tmp/weeslack-debug/weechat-calls.log here: https://github.com/wee-slack/wee-slack/blob/log-weechat-calls/wee_slack.py

Note that it will log the Slack token in some of the lines, so don't post the whole log file uncensored here, but post the last lines and check that they don't include any secrets.

@Rahmerh
Copy link
Author

Rahmerh commented Sep 1, 2022

So I still have no clue what happened, but I recently updated my packages (Which included python 3.10) and now it works again.

I hope it'll be fine now, I'll let you know when anything changes...

@Rahmerh Rahmerh closed this as completed Sep 1, 2022
@Rahmerh
Copy link
Author

Rahmerh commented Sep 1, 2022

And sidenote, the /slack register command now also works, which it didn't before..

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

No branches or pull requests

2 participants