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

[Bug]: general protection fault in liblua5.3.so.0.0.0 #1645

Closed
babiulep opened this issue Oct 11, 2023 · 3 comments · Fixed by #1646
Closed

[Bug]: general protection fault in liblua5.3.so.0.0.0 #1645

babiulep opened this issue Oct 11, 2023 · 3 comments · Fixed by #1646
Labels
bug Bug report or bug fix PR

Comments

@babiulep
Copy link

What happened?

Succesfully compiled conky 1.19.5 with GCC 12.3.1 on Ubuntu 20.04.6 LTS.

But when running it I get the following error: see Relevant log output
Conky does not start with a lua_load in it's config, otherwise it runs fine.

This does not occur with version 1.19.4.

I've checked some of the changes between the 2 releases and 'decided' to revert commit 68ac284 (3rdparty/toluapp/src/bin/lua/package.lua) on the 1.19.5 source.

After that conky also compiles AND runs OK with lua_load in it's config...

Version

1.19.5

Which OS/distro are you seeing the problem on?

Ubuntu

Conky config

No response

Stack trace

No response

Relevant log output

traps: conky[858118] general protection fault ip:7f30a8b7446f sp:7ffe21cbc8a0 error:0 in liblua5.3.so.0.0.0[7f30a8b64000+24000]
@babiulep babiulep added bug Bug report or bug fix PR triage Issue that hasn't been verified labels Oct 11, 2023
@brndnmtthws brndnmtthws removed the triage Issue that hasn't been verified label Oct 11, 2023
brndnmtthws added a commit that referenced this issue Oct 13, 2023
This fixes #1645, and (partially) reverts 68ac28.
@brndnmtthws
Copy link
Owner

Could you test #1646? It should be a more robust fix that doesn't break build reproducibility.

@babiulep
Copy link
Author

Yes! This seems to work fine... No general protection fault and running OK!

brndnmtthws added a commit that referenced this issue Oct 13, 2023
* Preserve ordering of generated Lua code

This fixes #1645, and (partially) reverts 68ac28.
@jjgomera
Copy link

with 1.19.5 I had to change config file to lua version, with 1.19.6 i can run again lua script but cairo must be realocated using the fixing from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report or bug fix PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants