* [ISSUE] lagrange: Segmentation fault
@ 2021-09-20 7:05 haary
2021-09-20 9:59 ` paper42
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: haary @ 2021-09-20 7:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 912 bytes --]
New issue by haary on void-packages repository
https://github.com/void-linux/void-packages/issues/33032
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname:
*Void 5.13.19_1 x86_64 GenuineIntel uptodate rFF*
* package:
*affected package(s) including the version*: lagrange-1.6.5_1
### Expected behavior
Does not crash
### Actual behavior
Crashes with "Segmentaion fault"
### Steps to reproduce the behavior
* Open Lagrange
* Open some Gemini sites
* Scroll across those sites. Mark some words with the cursor
* Lagrange crashes with "Segmentation fault" after a few seconds.
This does not happen with the AppImage version of Lagrange from the author's Gitub site https://github.com/skyjake/lagrange/releases
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
@ 2021-09-20 9:59 ` paper42
2021-09-20 10:44 ` haary
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: paper42 @ 2021-09-20 9:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-922782986
Comment:
I can not reproduce this, do you have an example page where this happens? Are you able to post a backtrace?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
2021-09-20 9:59 ` paper42
@ 2021-09-20 10:44 ` haary
2021-09-20 10:49 ` paper42
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: haary @ 2021-09-20 10:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
New comment by haary on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-922815309
Comment:
It does happen at gemini://senioradmin.de/GreyMode.gmi. It involves scrolling and clicking
Backtrace:
```
Thread 1 "lagrange" received signal SIGSEGV, Segmentation fault.
0x0000555555606ec1 in ?? ()
(gdb) backtrace
#0 0x0000555555606ec1 in ?? ()
#1 0x0000555555577460 in ?? ()
#2 0x000055555559cc94 in ?? ()
#3 0x00005555555f074b in ?? ()
#4 0x00005555555ed4a0 in ?? ()
#5 0x0000555555567c05 in ?? ()
#6 0x0000555555568c57 in ?? ()
#7 0x0000555555561a30 in main ()
```
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
2021-09-20 9:59 ` paper42
2021-09-20 10:44 ` haary
@ 2021-09-20 10:49 ` paper42
2021-09-20 11:30 ` haary
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: paper42 @ 2021-09-20 10:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-922817636
Comment:
Could you install lagrange-dbg from the debug repository? This backtrace doesn't tell us much.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (2 preceding siblings ...)
2021-09-20 10:49 ` paper42
@ 2021-09-20 11:30 ` haary
2021-09-25 18:14 ` paper42
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: haary @ 2021-09-20 11:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1941 bytes --]
New comment by haary on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-922845431
Comment:
```
Thread 1 "lagrange" received signal SIGSEGV, Segmentation fault.
decodeBytes_MultibyteChar (bytes=0x498000003aa <error: Cannot access memory at address 0x498000003aa>, end=0x0,
ch_out=ch_out@entry=0x7fffffffdc8c) at ../lib/the_Foundation/src/string.c:927
927 ../lib/the_Foundation/src/string.c: Datei oder Verzeichnis nicht gefunden.
(gdb) backtrace
#0 decodeBytes_MultibyteChar (bytes=0x498000003aa <error: Cannot access memory at address 0x498000003aa>, end=0x0,
ch_out=ch_out@entry=0x7fffffffdc8c) at ../lib/the_Foundation/src/string.c:927
#1 0x0000555555577460 in findLoc_GmRun (d=0x5555590381d0, pos=...) at ../src/gmdocument.c:2063
#2 0x00005555555774d4 in findLoc_GmDocument (d=<optimized out>, pos=...) at ../src/gmdocument.c:1910
#3 0x00005555555947b9 in sourceLoc_DocumentWidget_ (d=d@entry=0x5555556becc0, pos=...) at ../src/ui/documentwidget.c:2006
#4 0x0000555555594e1e in beginMarkingSelection_DocumentWidget_ (d=d@entry=0x5555556becc0, pos=...) at ../src/ui/documentwidget.c:3355
#5 0x000055555559df15 in processEvent_DocumentWidget_ (d=0x5555556becc0, ev=<optimized out>) at ../src/ui/documentwidget.c:3751
#6 0x00005555555f074b in dispatchEvent_Widget (d=d@entry=0x5555556becc0, ev=ev@entry=0x7fffffffe080) at ../src/ui/widget.c:1002
#7 0x00005555555ed4a0 in processEvent_Window (d=0x5555556ea3f0, ev=0x7fffffffe080, ev@entry=0x7fffffffe170) at ../src/ui/window.c:885
#8 0x0000555555567c05 in processEvents_App (eventMode=eventMode@entry=waitForNewEvents_AppEventMode) at ../src/app.c:1261
#9 0x0000555555568c57 in run_App_ (d=<optimized out>) at ../src/app.c:1367
#10 run_App (argc=argc@entry=1, argv=argv@entry=0x7fffffffe3d8) at ../src/app.c:1456
#11 0x0000555555561a30 in main (argc=1, argv=0x7fffffffe3d8) at ../src/main.c:78
```
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (3 preceding siblings ...)
2021-09-20 11:30 ` haary
@ 2021-09-25 18:14 ` paper42
2021-09-25 20:48 ` ericonr
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: paper42 @ 2021-09-25 18:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 227 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-927161854
Comment:
I can still not reproduce this, could you report this (with the backtrace) upstream?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (4 preceding siblings ...)
2021-09-25 18:14 ` paper42
@ 2021-09-25 20:48 ` ericonr
2021-10-02 1:17 ` sgn
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: ericonr @ 2021-09-25 20:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 277 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-927180848
Comment:
Can you capture your screen while doing this? Knowing the exact movements could help in reproducing.
What does `xbps-pkgdb -a` say?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (5 preceding siblings ...)
2021-09-25 20:48 ` ericonr
@ 2021-10-02 1:17 ` sgn
2021-10-02 1:45 ` sgn
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-10-02 1:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-932655013
Comment:
Recipe for crash in my side:
- Nagivate to gemini://senioradmin.de/GreyMode.gmi
- Fetch an image
- Click into the image
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (6 preceding siblings ...)
2021-10-02 1:17 ` sgn
@ 2021-10-02 1:45 ` sgn
2021-10-02 23:20 ` paper42
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-10-02 1:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-932659638
Comment:
```
#0 0x000055f420f6ef11 in u8_mbtouc (n=18446726344084553426, s=0x10200000012e <error: Cannot access memory at address 0x10200000012e>, puc=0x7ffcf1bc484c,
puc@entry=0x7ffcf1bc480c) at /usr/include/unistr.h:233
#1 decodeBytes_MultibyteChar (bytes=0x10200000012e <error: Cannot access memory at ad
dress 0x10200000012e>, end=0x0, ch_out=ch_out@entry=0x7ffcf1bc484c)
at ../lib/the_Foundation/src/string.c:927
#2 0x000055f420edf540 in findLoc_GmRun (d=0x55f4239d4540, pos=...) at ../src/gmdocument.c:2063
#3 0x000055f420edf5b4 in findLoc_GmDocument (d=<optimized out>, pos=...) at ../src/gmdocument.c:1910
#4 0x000055f420efc899 in sourceLoc_DocumentWidget_ (d=d@entry=0x55f423860800, pos=...) at ../src/ui/documentwidget.c:2006
#5 0x000055f420efccde in beginMarkingSelection_DocumentWidget_ (d=d@entry=0x55f423860800, pos=...) at ../src/ui/documentwidget.c:3355
#6 0x000055f420f05ff5 in processEvent_DocumentWidget_ (d=0x55f423860800, ev=<optimized out>) at ../src/ui/documentwidget.c:3751
#7 0x000055f420f587eb in dispatchEvent_Widget (d=d@entry=0x55f423860800, ev=ev@entry=0x7ffcf1bc4c40) at ../src/ui/widget.c:1002
#8 0x000055f420f55530 in processEvent_Window (d=0x55f423122dc0, ev=0x7ffcf1bc4c40, ev@entry=0x7ffcf1bc4d30) at ../src/ui/window.c:885
#9 0x000055f420ecfca5 in processEvents_App (eventMode=eventMode@entry=waitForNewEvents_AppEventMode) at ../src/app.c:1261
#10 0x000055f420ed0cf7 in run_App_ (d=<optimized out>) at ../src/app.c:1367
#11 run_App (argc=argc@entry=1, argv=argv@entry=0x7ffcf1bc4ee8) at ../src/app.c:1456
#12 0x000055f420ec9a30 in main (argc=1, argv=0x7ffcf1bc4ee8) at ../src/main.c:78
```
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (7 preceding siblings ...)
2021-10-02 1:45 ` sgn
@ 2021-10-02 23:20 ` paper42
2021-10-03 4:58 ` skyjake
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: paper42 @ 2021-10-02 23:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-932832954
Comment:
I can not get lagrange to crash anywhere, is it still happening with 1.7 (#33276)? cc @skyjake
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (8 preceding siblings ...)
2021-10-02 23:20 ` paper42
@ 2021-10-03 4:58 ` skyjake
2021-10-03 5:07 ` skyjake
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: skyjake @ 2021-10-03 4:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
New comment by skyjake on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-932863529
Comment:
I am able to reproduce this crash. Looking into a fix...
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (9 preceding siblings ...)
2021-10-03 4:58 ` skyjake
@ 2021-10-03 5:07 ` skyjake
2021-10-03 16:36 ` [ISSUE] [CLOSED] " sgn
2021-10-03 16:37 ` sgn
12 siblings, 0 replies; 14+ messages in thread
From: skyjake @ 2021-10-03 5:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
New comment by skyjake on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-932863529
Comment:
I am able to reproduce this crash. Looking into a fix...
This seems to correct the issue: https://git.skyjake.fi/gemini/lagrange/commit/1fe2b10bc1a2def2af86390272907206f819b7ae
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [ISSUE] [CLOSED] lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (10 preceding siblings ...)
2021-10-03 5:07 ` skyjake
@ 2021-10-03 16:36 ` sgn
2021-10-03 16:37 ` sgn
12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-10-03 16:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
Closed issue by haary on void-packages repository
https://github.com/void-linux/void-packages/issues/33032
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname:
*Void 5.13.19_1 x86_64 GenuineIntel uptodate rFF*
* package:
*affected package(s) including the version*: lagrange-1.6.5_1
### Expected behavior
Does not crash
### Actual behavior
Crashes with "Segmentaion fault"
### Steps to reproduce the behavior
* Open Lagrange
* Open some Gemini sites
* Scroll across those sites. Mark some words with the cursor
* Lagrange crashes with "Segmentation fault" after a few seconds.
This does not happen with the AppImage version of Lagrange from the author's Gitub site https://github.com/skyjake/lagrange/releases
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: lagrange: Segmentation fault
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
` (11 preceding siblings ...)
2021-10-03 16:36 ` [ISSUE] [CLOSED] " sgn
@ 2021-10-03 16:37 ` sgn
12 siblings, 0 replies; 14+ messages in thread
From: sgn @ 2021-10-03 16:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/33032#issuecomment-932984641
Comment:
@skyjake The patch indeed fixes the issue.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2021-10-03 16:37 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20 7:05 [ISSUE] lagrange: Segmentation fault haary
2021-09-20 9:59 ` paper42
2021-09-20 10:44 ` haary
2021-09-20 10:49 ` paper42
2021-09-20 11:30 ` haary
2021-09-25 18:14 ` paper42
2021-09-25 20:48 ` ericonr
2021-10-02 1:17 ` sgn
2021-10-02 1:45 ` sgn
2021-10-02 23:20 ` paper42
2021-10-03 4:58 ` skyjake
2021-10-03 5:07 ` skyjake
2021-10-03 16:36 ` [ISSUE] [CLOSED] " sgn
2021-10-03 16:37 ` sgn
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).