* [ISSUE] love: alignment problem (+ reference to possible patch)
@ 2021-05-31 17:58 ralvgh
2021-06-01 1:15 ` ericonr
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ralvgh @ 2021-05-31 17:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]
New issue by ralvgh on void-packages repository
https://github.com/void-linux/void-packages/issues/31234
Description:
### System
* xuname: Void 5.11.22_1 i686 GenuineIntel uptodate rFF
* package: love-11.3_1
### Expected behavior
According to "Making a Game" on (love2d-wiki/Getting Started)[https://love2d.org/wiki/Getting_Started]
a window opens with text "Hello World".
### Actual behavior
An error message is displayed instead saying
Error
wrap_Math.lua:35: Cannot push love object to Lua: unexpected alignment (pointer is 0x02263fe8 but alignment should be 16)
Traceback
[C]: in function '_getRandomGenerator'
wrap_Math.lua:35: in main chunk
[C]: at 0xb7b63480
[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
### Steps to reproduce the behavior
$ mkdir getting.started && cd getting.started
$ cat > main.lua
function love.draw()
love.graphics.print("Hello World", 400, 300)
end
zip -9 -r getting.started.love .
/usr/bin/love getting.started.love
### Possible patch
Using a [patch written by pgimeno](https://www.love2d.org/forums/viewtopic.php?p=234660#p234660)
on [love-11.3-linux-i686.tar.gz](https://github.com/love2d/love/releases/download/11.3/love-11.3-linux-i686.tar.gz)
the problem vanishes for me.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: love: alignment problem (+ reference to possible patch)
2021-05-31 17:58 [ISSUE] love: alignment problem (+ reference to possible patch) ralvgh
@ 2021-06-01 1:15 ` ericonr
2022-02-24 18:42 ` tallero
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2021-06-01 1:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 221 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/31234#issuecomment-851739878
Comment:
@ralvgh could you make a PR importing the patch? It sounds reasonable to me...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: love: alignment problem (+ reference to possible patch)
2021-05-31 17:58 [ISSUE] love: alignment problem (+ reference to possible patch) ralvgh
2021-06-01 1:15 ` ericonr
@ 2022-02-24 18:42 ` tallero
2022-05-26 2:13 ` github-actions
2022-06-10 2:13 ` [ISSUE] [CLOSED] " github-actions
3 siblings, 0 replies; 5+ messages in thread
From: tallero @ 2022-02-24 18:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
New comment by tallero on void-packages repository
https://github.com/void-linux/void-packages/issues/31234#issuecomment-1050150540
Comment:
patch doesn't work for me
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: love: alignment problem (+ reference to possible patch)
2021-05-31 17:58 [ISSUE] love: alignment problem (+ reference to possible patch) ralvgh
2021-06-01 1:15 ` ericonr
2022-02-24 18:42 ` tallero
@ 2022-05-26 2:13 ` github-actions
2022-06-10 2:13 ` [ISSUE] [CLOSED] " github-actions
3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2022-05-26 2:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/issues/31234#issuecomment-1138069452
Comment:
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] love: alignment problem (+ reference to possible patch)
2021-05-31 17:58 [ISSUE] love: alignment problem (+ reference to possible patch) ralvgh
` (2 preceding siblings ...)
2022-05-26 2:13 ` github-actions
@ 2022-06-10 2:13 ` github-actions
3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2022-06-10 2:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1393 bytes --]
Closed issue by ralvgh on void-packages repository
https://github.com/void-linux/void-packages/issues/31234
Description:
### System
* xuname: Void 5.11.22_1 i686 GenuineIntel uptodate rFF
* package: love-11.3_1
### Expected behavior
According to "Making a Game" on [love2d-wiki/Getting Started](https://love2d.org/wiki/Getting_Started) a window opens with text "Hello World".
### Actual behavior
An error message is displayed instead saying
Error
wrap_Math.lua:35: Cannot push love object to Lua: unexpected alignment (pointer is 0x02263fe8 but alignment should be 16)
Traceback
[C]: in function '_getRandomGenerator'
wrap_Math.lua:35: in main chunk
[C]: at 0xb7b63480
[C]: in function 'require'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
### Steps to reproduce the behavior
$ mkdir getting.started && cd getting.started
$ cat > main.lua
function love.draw()
love.graphics.print("Hello World", 400, 300)
end
zip -9 -r getting.started.love .
/usr/bin/love getting.started.love
### Possible patch
Using a [patch written by pgimeno](https://www.love2d.org/forums/viewtopic.php?p=234660#p234660) on [love-11.3-linux-i686.tar.gz](https://github.com/love2d/love/releases/download/11.3/love-11.3-linux-i686.tar.gz) the problem vanishes for me.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-06-10 2:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 17:58 [ISSUE] love: alignment problem (+ reference to possible patch) ralvgh
2021-06-01 1:15 ` ericonr
2022-02-24 18:42 ` tallero
2022-05-26 2:13 ` github-actions
2022-06-10 2:13 ` [ISSUE] [CLOSED] " github-actions
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).