Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1510789 - lua-mpack segfaults on i686
Summary: lua-mpack segfaults on i686
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: lua-mpack
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1510762 1510899
TreeView+ depends on / blocked
 
Reported: 2017-11-08 09:08 UTC by Andreas Schneider
Modified: 2018-02-20 15:37 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Andreas Schneider 2017-11-08 09:08:36 UTC
Description of problem:

lua segfaults on i686 generating header files for neovim

cd /builddir/build/BUILD/neovim-0.2.1/build/src/nvim && /usr/bin/lua /builddir/build/BUILD/neovim-0.2.1/src/nvim/generators/gen_api_ui_events.lua /builddir/build/BUILD/neovim-0.2.1/src/nvim /builddir/build/BUILD/neovim-0.2.1/src/nvim/api/ui_events.in.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/ui_events.generated.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/ui_events_call.generated.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/ui_events_remote.generated.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/ui_events_bridge.generated.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/api/private/ui_events_metadata.generated.h
make[2]: Leaving directory '/builddir/build/BUILD/neovim-0.2.1/build'
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/build.make:1173: src/nvim/auto/ui_events.generated.h] Segmentation fault (core dumped)


On armv7hl it reports:

cd /builddir/build/BUILD/neovim-0.2.1/build/src/nvim && /usr/bin/lua /builddir/build/BUILD/neovim-0.2.1/src/nvim/generators/gen_api_ui_events.lua /builddir/build/BUILD/neovim-0.2.1/src/nvim /builddir/build/BUILD/neovim-0.2.1/src/nvim/api/ui_events.in.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/ui_events.generated.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/ui_events_call.generated.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/ui_events_remote.generated.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/ui_events_bridge.generated.h /builddir/build/BUILD/neovim-0.2.1/build/src/nvim/auto/api/private/ui_events_metadata.generated.h
make[2]: Leaving directory '/builddir/build/BUILD/neovim-0.2.1/build'
make[2]: *** Deleting file 'src/nvim/auto/ui_events.generated.h'
/usr/bin/lua: /builddir/build/BUILD/neovim-0.2.1/src/nvim/generators/gen_api_ui_events.lua:163: can't serialize object
stack traceback:
	[C]: in function 'mpack.pack'
	/builddir/build/BUILD/neovim-0.2.1/src/nvim/generators/gen_api_ui_events.lua:163: in main chunk
	[C]: in ?



See https://koji.fedoraproject.org/koji/taskinfo?taskID=22989901

Comment 1 Andreas Schneider 2017-11-08 09:13:12 UTC
Same on f27!

https://koji.fedoraproject.org/koji/taskinfo?taskID=22990199

Comment 2 Andreas Schneider 2017-11-08 11:58:03 UTC
Ok, it seems to be an issue with lua-mpack on i686. I've added a very simple test to verify that it is working but it segfaults:

https://koji.fedoraproject.org/koji/taskinfo?taskID=22992189

Comment 3 Fedora End Of Life 2018-02-20 15:37:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.


Note You need to log in before you can comment on or make changes to this bug.