all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* DrRacket
@ 2015-03-14  9:09 Federico Beffa
  2015-03-14  9:25 ` DrRacket Federico Beffa
  2015-03-14 15:00 ` DrRacket Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: Federico Beffa @ 2015-03-14  9:09 UTC (permalink / raw)
  To: Guix-devel

Hi,

I've noticed that on my system DrRacket does not work properly.
Comparing with the version provided by Debian I notice the following
differences:

* When the program starts the Debian version shows a message windows
with the loading process. The window doesn't appear with the guix
version.

* When I want to exit the program, the guix version hangs and I need
to kill it. In the Debian version, when I exit the program, I'm shown
a dialog asking for confirmation. I guess the guix version is waiting
for an answer which the user has no way to answer.

Regards,
Fede

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

* Re: DrRacket
  2015-03-14  9:09 DrRacket Federico Beffa
@ 2015-03-14  9:25 ` Federico Beffa
  2015-03-14 15:00 ` DrRacket Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Federico Beffa @ 2015-03-14  9:25 UTC (permalink / raw)
  To: Guix-devel

On Sat, Mar 14, 2015 at 10:09 AM, Federico Beffa <beffa@ieee.org> wrote:
> Hi,
>
> I've noticed that on my system DrRacket does not work properly.
> Comparing with the version provided by Debian I notice the following
> differences:
>
> * When the program starts the Debian version shows a message windows
> with the loading process. The window doesn't appear with the guix
> version.
>
> * When I want to exit the program, the guix version hangs and I need
> to kill it. In the Debian version, when I exit the program, I'm shown
> a dialog asking for confirmation. I guess the guix version is waiting
> for an answer which the user has no way to answer.

I've found that in the preferences I can disable the exit
confirmation. If I do that it works fine and other dialogs (apart from
the starting load progress) do work.

Fede

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

* Re: DrRacket
  2015-03-14  9:09 DrRacket Federico Beffa
  2015-03-14  9:25 ` DrRacket Federico Beffa
@ 2015-03-14 15:00 ` Ludovic Courtès
  2015-03-14 17:16   ` DrRacket Federico Beffa
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2015-03-14 15:00 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

Federico Beffa <beffa@ieee.org> skribis:

> * When the program starts the Debian version shows a message windows
> with the loading process. The window doesn't appear with the guix
> version.

Could it be that the window’s PNG isn’t found or something like that?

> * When I want to exit the program, the guix version hangs and I need
> to kill it. In the Debian version, when I exit the program, I'm shown
> a dialog asking for confirmation. I guess the guix version is waiting
> for an answer which the user has no way to answer.

Strange.  A GTK+ issue?

Ludo’.

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

* Re: DrRacket
  2015-03-14 15:00 ` DrRacket Ludovic Courtès
@ 2015-03-14 17:16   ` Federico Beffa
  2015-03-14 19:27     ` DrRacket Luis Felipe López Acevedo
  2015-03-15 14:47     ` DrRacket Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: Federico Beffa @ 2015-03-14 17:16 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

On Sat, Mar 14, 2015 at 4:00 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> Federico Beffa <beffa@ieee.org> skribis:
>
>> * When the program starts the Debian version shows a message windows
>> with the loading process. The window doesn't appear with the guix
>> version.
>
> Could it be that the window’s PNG isn’t found or something like that?

I think that the .png is found. strace shows a very large number of
"Segmentation fault" errors. The first ones of a long list scattered
across the log are:

stat("/gnu/store/l9xwfvywyf9j8b4z91ygsjk0bg1sm5kq-racket-6.1.1/share/racket/pkgs/drracket/drracket",
{st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb7164f000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
mprotect(0x7fbb6eca0000, 16384, PROT_READ|PROT_WRITE) = 0
rt_sigreturn(0x7fbb6eca0000)            = 140443010531368
stat("/gnu/store/l9xwfvywyf9j8b4z91ygsjk0bg1sm5kq-racket-6.1.1/share/racket/pkgs/drracket/drracket/drracket.rkt",
{st_mode=S_IFREG|0444, st_size=6975, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
mprotect(0x7fbb6ec68000, 16384, PROT_READ|PROT_WRITE) = 0
rt_sigreturn(0x7fbb6ec68000)            = 140443038236761
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
mprotect(0x7fbb6eca4000, 16384, PROT_READ|PROT_WRITE) = 0
rt_sigreturn(0x7fbb6eca4000)            = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
mprotect(0x7fbb6ec64000, 16384, PROT_READ|PROT_WRITE) = 0
rt_sigreturn(0x7fbb6ec64000)            = 140443038236761
mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb7164e000
mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb7164a000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
mprotect(0x7fbb6ec74000, 16384, PROT_READ|PROT_WRITE) = 0
rt_sigreturn(0x7fbb6ec74000)            = 140442994172616
mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb71649000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

The first path is a directory and does exist. The second refers to an
existing file.

>
>> * When I want to exit the program, the guix version hangs and I need
>> to kill it. In the Debian version, when I exit the program, I'm shown
>> a dialog asking for confirmation. I guess the guix version is waiting
>> for an answer which the user has no way to answer.
>
> Strange.  A GTK+ issue?

Could be, but I've not found obvious indications in the output of strace.

Does it work as expected for you?

Regards,
Fede

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

* Re: DrRacket
  2015-03-14 17:16   ` DrRacket Federico Beffa
@ 2015-03-14 19:27     ` Luis Felipe López Acevedo
  2015-03-14 20:29       ` DrRacket Federico Beffa
  2015-03-15 14:47     ` DrRacket Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: Luis Felipe López Acevedo @ 2015-03-14 19:27 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

On 2015-03-14 12:16, Federico Beffa wrote:
> On Sat, Mar 14, 2015 at 4:00 PM, Ludovic Courtès <ludo@gnu.org> wrote:
>> Federico Beffa <beffa@ieee.org> skribis:
>> 
>>> * When the program starts the Debian version shows a message windows
>>> with the loading process. The window doesn't appear with the guix
>>> version.
>> 
>> Could it be that the window’s PNG isn’t found or something like that?
> 
> I think that the .png is found. strace shows a very large number of
> "Segmentation fault" errors. The first ones of a long list scattered
> across the log are:
> 
> stat("/gnu/store/l9xwfvywyf9j8b4z91ygsjk0bg1sm5kq-racket-6.1.1/share/racket/pkgs/drracket/drracket",
> {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb7164f000
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> mprotect(0x7fbb6eca0000, 16384, PROT_READ|PROT_WRITE) = 0
> rt_sigreturn(0x7fbb6eca0000)            = 140443010531368
> stat("/gnu/store/l9xwfvywyf9j8b4z91ygsjk0bg1sm5kq-racket-6.1.1/share/racket/pkgs/drracket/drracket/drracket.rkt",
> {st_mode=S_IFREG|0444, st_size=6975, ...}) = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> mprotect(0x7fbb6ec68000, 16384, PROT_READ|PROT_WRITE) = 0
> rt_sigreturn(0x7fbb6ec68000)            = 140443038236761
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> mprotect(0x7fbb6eca4000, 16384, PROT_READ|PROT_WRITE) = 0
> rt_sigreturn(0x7fbb6eca4000)            = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> mprotect(0x7fbb6ec64000, 16384, PROT_READ|PROT_WRITE) = 0
> rt_sigreturn(0x7fbb6ec64000)            = 140443038236761
> mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb7164e000
> mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb7164a000
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> mprotect(0x7fbb6ec74000, 16384, PROT_READ|PROT_WRITE) = 0
> rt_sigreturn(0x7fbb6ec74000)            = 140442994172616
> mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb71649000
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> 
> The first path is a directory and does exist. The second refers to an
> existing file.
> 
>> 
>>> * When I want to exit the program, the guix version hangs and I need
>>> to kill it. In the Debian version, when I exit the program, I'm shown
>>> a dialog asking for confirmation. I guess the guix version is waiting
>>> for an answer which the user has no way to answer.
>> 
>> Strange.  A GTK+ issue?
> 
> Could be, but I've not found obvious indications in the output of 
> strace.
> 
> Does it work as expected for you?
> 
> Regards,
> Fede

I just installed racket using Guix on Debian 8 and DrRacket works 
without the problems you mention. The splash screen appears when I start 
the program and the confirmation dialog when closing.


-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/

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

* Re: DrRacket
  2015-03-14 19:27     ` DrRacket Luis Felipe López Acevedo
@ 2015-03-14 20:29       ` Federico Beffa
  0 siblings, 0 replies; 7+ messages in thread
From: Federico Beffa @ 2015-03-14 20:29 UTC (permalink / raw)
  To: Luis Felipe López Acevedo; +Cc: Guix-devel

That's interesting. I'm on Debian 7.

Thanks for letting me know!
Regards,
Fede

On Sat, Mar 14, 2015 at 8:27 PM, Luis Felipe López Acevedo
<felipe.lopez@openmailbox.org> wrote:
> On 2015-03-14 12:16, Federico Beffa wrote:
>>
>> On Sat, Mar 14, 2015 at 4:00 PM, Ludovic Courtès <ludo@gnu.org> wrote:
>>>
>>> Federico Beffa <beffa@ieee.org> skribis:
>>>
>>>> * When the program starts the Debian version shows a message windows
>>>> with the loading process. The window doesn't appear with the guix
>>>> version.
>>>
>>>
>>> Could it be that the window’s PNG isn’t found or something like that?
>>
>>
>> I think that the .png is found. strace shows a very large number of
>> "Segmentation fault" errors. The first ones of a long list scattered
>> across the log are:
>>
>>
>> stat("/gnu/store/l9xwfvywyf9j8b4z91ygsjk0bg1sm5kq-racket-6.1.1/share/racket/pkgs/drracket/drracket",
>> {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb7164f000
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>> mprotect(0x7fbb6eca0000, 16384, PROT_READ|PROT_WRITE) = 0
>> rt_sigreturn(0x7fbb6eca0000)            = 140443010531368
>>
>> stat("/gnu/store/l9xwfvywyf9j8b4z91ygsjk0bg1sm5kq-racket-6.1.1/share/racket/pkgs/drracket/drracket/drracket.rkt",
>> {st_mode=S_IFREG|0444, st_size=6975, ...}) = 0
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>> mprotect(0x7fbb6ec68000, 16384, PROT_READ|PROT_WRITE) = 0
>> rt_sigreturn(0x7fbb6ec68000)            = 140443038236761
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>> mprotect(0x7fbb6eca4000, 16384, PROT_READ|PROT_WRITE) = 0
>> rt_sigreturn(0x7fbb6eca4000)            = 0
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>> mprotect(0x7fbb6ec64000, 16384, PROT_READ|PROT_WRITE) = 0
>> rt_sigreturn(0x7fbb6ec64000)            = 140443038236761
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb7164e000
>> mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC,
>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb7164a000
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>> mprotect(0x7fbb6ec74000, 16384, PROT_READ|PROT_WRITE) = 0
>> rt_sigreturn(0x7fbb6ec74000)            = 140442994172616
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
>> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbb71649000
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>>
>> The first path is a directory and does exist. The second refers to an
>> existing file.
>>
>>>
>>>> * When I want to exit the program, the guix version hangs and I need
>>>> to kill it. In the Debian version, when I exit the program, I'm shown
>>>> a dialog asking for confirmation. I guess the guix version is waiting
>>>> for an answer which the user has no way to answer.
>>>
>>>
>>> Strange.  A GTK+ issue?
>>
>>
>> Could be, but I've not found obvious indications in the output of strace.
>>
>> Does it work as expected for you?
>>
>> Regards,
>> Fede
>
>
> I just installed racket using Guix on Debian 8 and DrRacket works without
> the problems you mention. The splash screen appears when I start the program
> and the confirmation dialog when closing.
>
>
> --
> Luis Felipe López Acevedo
> http://sirgazil.bitbucket.org/

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

* Re: DrRacket
  2015-03-14 17:16   ` DrRacket Federico Beffa
  2015-03-14 19:27     ` DrRacket Luis Felipe López Acevedo
@ 2015-03-15 14:47     ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2015-03-15 14:47 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

I guess the SIGSEGVs are handled by Racket’s GC and are really harmless.

Ludo’.

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

end of thread, other threads:[~2015-03-15 14:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-14  9:09 DrRacket Federico Beffa
2015-03-14  9:25 ` DrRacket Federico Beffa
2015-03-14 15:00 ` DrRacket Ludovic Courtès
2015-03-14 17:16   ` DrRacket Federico Beffa
2015-03-14 19:27     ` DrRacket Luis Felipe López Acevedo
2015-03-14 20:29       ` DrRacket Federico Beffa
2015-03-15 14:47     ` DrRacket Ludovic Courtès

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.