all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Dino segfaults
@ 2023-12-05 17:48 Caleb Herbert
  2023-12-05 18:29 ` Georgios Athanasiou
  0 siblings, 1 reply; 15+ messages in thread
From: Caleb Herbert @ 2023-12-05 17:48 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

Hi Guix,

Dino segfaults.  I tried doing "guix install dino" again; it didn't
help.

caleb@miller ~❄️ dino
Segmentation fault
caleb@miller ~❄️ dino --version
Segmentation fault
caleb@miller ~❄️ 

-- 
Caleb Herbert
https://bluehome.net/csh/
OpenPGP fingerprint: 631C C434 A56B 5CBD FF21  2346 9764 3795 FA3E 4BCE
What's a fingerprint? https://emailselfdefense.fsf.org/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-05 17:48 Dino segfaults Caleb Herbert
@ 2023-12-05 18:29 ` Georgios Athanasiou
  2023-12-05 18:57   ` Wojtek Kosior via
  0 siblings, 1 reply; 15+ messages in thread
From: Georgios Athanasiou @ 2023-12-05 18:29 UTC (permalink / raw)
  To: Caleb Herbert, help-guix

Hi Caleb,

On 12/5/23 19:48, Caleb Herbert wrote:
> Hi Guix,
>
> Dino segfaults.  I tried doing "guix install dino" again; it didn't
> help.
>
> caleb@miller ~❄️ dino
> Segmentation fault
> caleb@miller ~❄️ dino --version
> Segmentation fault
> caleb@miller ~❄️

I don't know if this is any help, but I just tried it in a Guix shell 
and it seems to start OK on my machine (Dell desktop, Intel graphics, 
X11, standard GUIX OS kernel). So, it's probably your machine / setup. 
I'm not the packager or even a user, though, I just gave it a try. 
Hopefully someone else will be more helpful.

Best Regards,

G.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-05 18:29 ` Georgios Athanasiou
@ 2023-12-05 18:57   ` Wojtek Kosior via
       [not found]     ` <87ttovo60m.fsf@bluehome.net>
  0 siblings, 1 reply; 15+ messages in thread
From: Wojtek Kosior via @ 2023-12-05 18:57 UTC (permalink / raw)
  To: Georgios Athanasiou; +Cc: Caleb Herbert, help-guix

[-- Attachment #1: Type: text/plain, Size: 1626 bytes --]

Hi Caleb

while I am also neither user nor packager of Dino, I have a suggestion
— you'll perhaps learn more when you try running Dino in a virgin
environment inside a container?  You could try this command

guix shell --container --no-cwd --network \
    --share=/tmp --expose="$HOME"/.Xauthority \
    dino bash \
    -- bash -c "DISPLAY=:0 dino"

Also, you did a `guix pull` sometime recently to get up-to-date
packages, right?

Best
Wojtek

-- (sig_start)
website: https://koszko.org/koszko.html
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
follow me on Fediverse: https://friendica.me/profile/koszko/profile

♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)


On Tue, 5 Dec 2023 20:29:32 +0200 Georgios Athanasiou <yorgath@gmail.com> wrote:

> Hi Caleb,
> 
> On 12/5/23 19:48, Caleb Herbert wrote:
> > Hi Guix,
> >
> > Dino segfaults.  I tried doing "guix install dino" again; it didn't
> > help.
> >
> > caleb@miller ~❄️ dino
> > Segmentation fault
> > caleb@miller ~❄️ dino --version
> > Segmentation fault
> > caleb@miller ~❄️  
> 
> I don't know if this is any help, but I just tried it in a Guix shell 
> and it seems to start OK on my machine (Dell desktop, Intel graphics, 
> X11, standard GUIX OS kernel). So, it's probably your machine / setup. 
> I'm not the packager or even a user, though, I just gave it a try. 
> Hopefully someone else will be more helpful.
> 
> Best Regards,
> 
> G.
> 
> 

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
       [not found]       ` <20231206143431.4b40443e.koszko@koszko.org>
@ 2023-12-07 17:17         ` Caleb Herbert
  2023-12-07 17:50           ` Wojtek Kosior via
  0 siblings, 1 reply; 15+ messages in thread
From: Caleb Herbert @ 2023-12-07 17:17 UTC (permalink / raw)
  To: Wojtek Kosior, help-guix

[-- Attachment #1: Type: text/plain, Size: 989 bytes --]

Wojtek Kosior <koszko@koszko.org> writes:

> Actually, I came up with 2 more improvements, the final command is
>
> guix shell --container --no-cwd --network \
>     --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
>     dino bash \
>     -- bash -c "DISPLAY='$DISPLAY' dino"

caleb@miller ~❄️ guix shell --container --no-cwd --network \
> --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
> dino bash \
> -- bash -c "DISPLAY='$DISPLAY' dino"
Authorization required, but no authorization protocol specified


(process:1): Gtk-WARNING **: 17:16:40.534: cannot open display: :1


> Also, unless there is some reason no to, I suggest we keep the Guix
> mailing list in the Cc field

Oh, sorry.  I pressed r instead of R when replying in Emacs.  We should
be back on the mailing list now.

-- 
Caleb Herbert
https://bluehome.net/csh/
OpenPGP fingerprint: 631C C434 A56B 5CBD FF21  2346 9764 3795 FA3E 4BCE
What's a fingerprint? https://emailselfdefense.fsf.org/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-07 17:17         ` Caleb Herbert
@ 2023-12-07 17:50           ` Wojtek Kosior via
  2023-12-08 15:54             ` Caleb Herbert
  0 siblings, 1 reply; 15+ messages in thread
From: Wojtek Kosior via @ 2023-12-07 17:50 UTC (permalink / raw)
  To: Caleb Herbert; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2207 bytes --]

> > Actually, I came up with 2 more improvements, the final command is
> >
> > guix shell --container --no-cwd --network \
> >     --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
> >     dino bash \
> >     -- bash -c "DISPLAY='$DISPLAY' dino"  
> 
> caleb@miller ~❄️ guix shell --container --no-cwd --network \
> > --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
> > dino bash \
> > -- bash -c "DISPLAY='$DISPLAY' dino"  
> Authorization required, but no authorization protocol specified
> 
> 
> (process:1): Gtk-WARNING **: 17:16:40.534: cannot open display: :1

Ahh, I forgot we also need to pass the XAUTHORITY variable to the
container.  How about this?

guix shell --container --no-cwd --network \
    --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
    dino bash \
    -- bash -c "DISPLAY='$DISPLAY' XAUTHORITY='$XAUTHORITY' dino"

Best
Wojtek

-- (sig_start)
website: https://koszko.org/koszko.html
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
follow me on Fediverse: https://friendica.me/profile/koszko/profile

♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)


On Thu, 07 Dec 2023 11:17:52 -0600 Caleb Herbert <csh@bluehome.net> wrote:

> Wojtek Kosior <koszko@koszko.org> writes:
> 
> > Actually, I came up with 2 more improvements, the final command is
> >
> > guix shell --container --no-cwd --network \
> >     --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
> >     dino bash \
> >     -- bash -c "DISPLAY='$DISPLAY' dino"  
> 
> caleb@miller ~❄️ guix shell --container --no-cwd --network \
> > --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
> > dino bash \
> > -- bash -c "DISPLAY='$DISPLAY' dino"  
> Authorization required, but no authorization protocol specified
> 
> 
> (process:1): Gtk-WARNING **: 17:16:40.534: cannot open display: :1
> 
> 
> > Also, unless there is some reason no to, I suggest we keep the Guix
> > mailing list in the Cc field  
> 
> Oh, sorry.  I pressed r instead of R when replying in Emacs.  We should
> be back on the mailing list now.
> 

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-07 17:50           ` Wojtek Kosior via
@ 2023-12-08 15:54             ` Caleb Herbert
  2023-12-08 16:59               ` Georgios Athanasiou
  0 siblings, 1 reply; 15+ messages in thread
From: Caleb Herbert @ 2023-12-08 15:54 UTC (permalink / raw)
  To: Wojtek Kosior; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

Wojtek Kosior <koszko@koszko.org> writes:
> Ahh, I forgot we also need to pass the XAUTHORITY variable to the
> container.  How about this?
>
> guix shell --container --no-cwd --network \
>     --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
>     dino bash \
>     -- bash -c "DISPLAY='$DISPLAY' XAUTHORITY='$XAUTHORITY' dino"

It launches!  But of course, it has no knowledge of my configuration,
and asks to set up an account.

-- 
Caleb Herbert
https://bluehome.net/csh/
OpenPGP fingerprint: 631C C434 A56B 5CBD FF21  2346 9764 3795 FA3E 4BCE
What's a fingerprint? https://emailselfdefense.fsf.org/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-08 15:54             ` Caleb Herbert
@ 2023-12-08 16:59               ` Georgios Athanasiou
  2023-12-09 20:34                 ` Caleb Herbert
  0 siblings, 1 reply; 15+ messages in thread
From: Georgios Athanasiou @ 2023-12-08 16:59 UTC (permalink / raw)
  To: Caleb Herbert; +Cc: help-guix

Hi Caleb,

You're making progress.  Outside the container, does `dino --help' work? 
You can make the program print diagnostic messages. Option 
`--gst-debug-level=LEVEL' (where LEVEL=0..9) can print *a lot* of 
diagnostics for GStreamer.  Have you tried it? It may help you find the 
point at which the program segfaults.

Best Regards,

G.

On 12/8/23 17:54, Caleb Herbert wrote:
> Wojtek Kosior <koszko@koszko.org> writes:
>> Ahh, I forgot we also need to pass the XAUTHORITY variable to the
>> container.  How about this?
>>
>> guix shell --container --no-cwd --network \
>>      --share=/tmp/.X11-unix --expose="$XAUTHORITY" \
>>      dino bash \
>>      -- bash -c "DISPLAY='$DISPLAY' XAUTHORITY='$XAUTHORITY' dino"
> It launches!  But of course, it has no knowledge of my configuration,
> and asks to set up an account.
>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-08 16:59               ` Georgios Athanasiou
@ 2023-12-09 20:34                 ` Caleb Herbert
  2023-12-09 21:25                   ` Igor Gajsin
  2023-12-10 11:21                   ` Georgios Athanasiou
  0 siblings, 2 replies; 15+ messages in thread
From: Caleb Herbert @ 2023-12-09 20:34 UTC (permalink / raw)
  To: Georgios Athanasiou; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

Georgios Athanasiou <yorgath@gmail.com> writes:

> You're making progress.  Outside the container, does `dino --help'
> work?

No.

~ 🕯️🕯️   dino --help
Segmentation fault

> You can make the program print diagnostic messages. Option 
> `--gst-debug-level=LEVEL' (where LEVEL=0..9) can print *a lot* of 
> diagnostics for GStreamer.  Have you tried it? It may help you find the 
> point at which the program segfaults.

~ 🕯️🕯️   dino --gst-debug-level=9
Segmentation fault

-- 
Caleb Herbert
https://bluehome.net/csh/
OpenPGP fingerprint: 631C C434 A56B 5CBD FF21  2346 9764 3795 FA3E 4BCE
What's a fingerprint? https://emailselfdefense.fsf.org/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-09 20:34                 ` Caleb Herbert
@ 2023-12-09 21:25                   ` Igor Gajsin
  2023-12-10 11:21                   ` Georgios Athanasiou
  1 sibling, 0 replies; 15+ messages in thread
From: Igor Gajsin @ 2023-12-09 21:25 UTC (permalink / raw)
  To: help-guix

Just for the record: I'm a dino user and it works well for me. The
version is 0.4.3. I'm not sure which info I can provide to compare our
configurations.

Caleb Herbert <csh@bluehome.net> writes:

> [[PGP Signed Part:Undecided]]
> Georgios Athanasiou <yorgath@gmail.com> writes:
>
>> You're making progress.  Outside the container, does `dino --help'
>> work?
>
> No.
>
> ~ 🕯️🕯️   dino --help
> Segmentation fault
>
>> You can make the program print diagnostic messages. Option
>> `--gst-debug-level=LEVEL' (where LEVEL=0..9) can print *a lot* of
>> diagnostics for GStreamer.  Have you tried it? It may help you find the
>> point at which the program segfaults.
>
> ~ 🕯️🕯️   dino --gst-debug-level=9
> Segmentation fault


--
With best regards,
Igor Gajsin


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-09 20:34                 ` Caleb Herbert
  2023-12-09 21:25                   ` Igor Gajsin
@ 2023-12-10 11:21                   ` Georgios Athanasiou
  2023-12-10 17:28                     ` Caleb Herbert
  1 sibling, 1 reply; 15+ messages in thread
From: Georgios Athanasiou @ 2023-12-10 11:21 UTC (permalink / raw)
  To: Caleb Herbert; +Cc: help-guix

Hi Caleb,

An application segfaulting at such an early stage got me curious. Now I 
see it's a Vala application, so it does quite some initialization before 
parsing the command line arguments.  Anyway, following the link at 
`which dino' shows that `dino' is a shell script.  It sets some 
variables then calls `.dino-real', which is the actual binary.  Does 
executing `.dino-real --version' segfault too?

Best Regards,

G.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-10 11:21                   ` Georgios Athanasiou
@ 2023-12-10 17:28                     ` Caleb Herbert
  2023-12-10 19:04                       ` Igor Gajsin
  2023-12-10 19:20                       ` Georgios Athanasiou
  0 siblings, 2 replies; 15+ messages in thread
From: Caleb Herbert @ 2023-12-10 17:28 UTC (permalink / raw)
  To: Georgios Athanasiou; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

Georgios Athanasiou <yorgath@gmail.com> writes:

> Does executing `.dino-real --version' segfault too?

caleb@miller ~❄️ /gnu/store/lhq3hx5b5nr7s2l8113kxv4pyn0pl1fs-dino-0.4.3/bin/.dino-real --version
Segmentation fault

-- 
Caleb Herbert
https://bluehome.net/csh/
OpenPGP fingerprint: 631C C434 A56B 5CBD FF21  2346 9764 3795 FA3E 4BCE
What's a fingerprint? https://emailselfdefense.fsf.org/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-10 17:28                     ` Caleb Herbert
@ 2023-12-10 19:04                       ` Igor Gajsin
  2023-12-11 17:21                         ` Caleb Herbert
  2023-12-10 19:20                       ` Georgios Athanasiou
  1 sibling, 1 reply; 15+ messages in thread
From: Igor Gajsin @ 2023-12-10 19:04 UTC (permalink / raw)
  To: help-guix

What about to run it as `strace .dino-real --version`? I expect it
complains on something before a segfault.

Caleb Herbert <csh@bluehome.net> writes:

> [[PGP Signed Part:Undecided]]
> Georgios Athanasiou <yorgath@gmail.com> writes:
>
>> Does executing `.dino-real --version' segfault too?
>
> caleb@miller ~❄️ /gnu/store/lhq3hx5b5nr7s2l8113kxv4pyn0pl1fs-dino-0.4.3/bin/.dino-real --version
> Segmentation fault


--
With best regards,
Igor Gajsin


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-10 17:28                     ` Caleb Herbert
  2023-12-10 19:04                       ` Igor Gajsin
@ 2023-12-10 19:20                       ` Georgios Athanasiou
  1 sibling, 0 replies; 15+ messages in thread
From: Georgios Athanasiou @ 2023-12-10 19:20 UTC (permalink / raw)
  To: Caleb Herbert; +Cc: help-guix

Hi Caleb,

You can run Valgrind on it, maybe it'll show where the crash happens:

     guix shell dino valgrind

     valgrind .dino-real --version

Best Regards,

G.




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-10 19:04                       ` Igor Gajsin
@ 2023-12-11 17:21                         ` Caleb Herbert
  2023-12-11 21:51                           ` Wojtek Kosior via
  0 siblings, 1 reply; 15+ messages in thread
From: Caleb Herbert @ 2023-12-11 17:21 UTC (permalink / raw)
  To: Igor Gajsin, help-guix

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

Igor Gajsin <igor@gajsin.name> writes:

> What about to run it as `strace .dino-real --version`? I expect it
> complains on something before a segfault.

It outputs a lot of stuff.  .dino-real --version outputs a version
number.  I wonder if "dino" will work?

It works!

I did a system upgrade yesterday.  Dino seems to be running now.

-- 
Caleb Herbert
https://bluehome.net/csh/
OpenPGP fingerprint: 631C C434 A56B 5CBD FF21  2346 9764 3795 FA3E 4BCE
What's a fingerprint? https://emailselfdefense.fsf.org/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Dino segfaults
  2023-12-11 17:21                         ` Caleb Herbert
@ 2023-12-11 21:51                           ` Wojtek Kosior via
  0 siblings, 0 replies; 15+ messages in thread
From: Wojtek Kosior via @ 2023-12-11 21:51 UTC (permalink / raw)
  To: Caleb Herbert; +Cc: Igor Gajsin, help-guix

[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]

> It works!
> 
> I did a system upgrade yesterday.  Dino seems to be running now.

Interesting — I wonder whether it is thanks to the update or to logging
out and in again.

Anyway, good for you :)

Happy chatting

Wojtek


-- (sig_start)
website: https://koszko.org/koszko.html
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
follow me on Fediverse: https://friendica.me/profile/koszko/profile

♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)


On Mon, 11 Dec 2023 11:21:39 -0600 Caleb Herbert <csh@bluehome.net> wrote:

> Igor Gajsin <igor@gajsin.name> writes:
> 
> > What about to run it as `strace .dino-real --version`? I expect it
> > complains on something before a segfault.  
> 
> It outputs a lot of stuff.  .dino-real --version outputs a version
> number.  I wonder if "dino" will work?
> 
> It works!
> 
> I did a system upgrade yesterday.  Dino seems to be running now.
> 

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-12-11 21:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-05 17:48 Dino segfaults Caleb Herbert
2023-12-05 18:29 ` Georgios Athanasiou
2023-12-05 18:57   ` Wojtek Kosior via
     [not found]     ` <87ttovo60m.fsf@bluehome.net>
     [not found]       ` <20231206143431.4b40443e.koszko@koszko.org>
2023-12-07 17:17         ` Caleb Herbert
2023-12-07 17:50           ` Wojtek Kosior via
2023-12-08 15:54             ` Caleb Herbert
2023-12-08 16:59               ` Georgios Athanasiou
2023-12-09 20:34                 ` Caleb Herbert
2023-12-09 21:25                   ` Igor Gajsin
2023-12-10 11:21                   ` Georgios Athanasiou
2023-12-10 17:28                     ` Caleb Herbert
2023-12-10 19:04                       ` Igor Gajsin
2023-12-11 17:21                         ` Caleb Herbert
2023-12-11 21:51                           ` Wojtek Kosior via
2023-12-10 19:20                       ` Georgios Athanasiou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.