octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave crash on console closing (Win32)


From: David Bateman
Subject: Re: Octave crash on console closing (Win32)
Date: Tue, 02 Jan 2007 15:36:53 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Michael Goffioul wrote:
> Hi,
>
> Under Windows, when closing the command window with octave running,
> octave
> crashes in octave_jump_to_enclosing_context(), at the longjmp call. As
> this part
> of the code is quite complex and I don't understand everything, could
> anyone tell
> me what's expected to happen?
>
> The backtrace is roughly the following:
> - w32_sigint_handler() is called with sig==CTRL_CLOSE_EVENT
> - user_abort()
> - octave_jump_to_enclosing_context()
> - longjmp() => segmentation fault
>
> I would expect that octave quits itself nicely, but I don't know how
> this would happen.
>
> Michael.
>
>
>
I've seen the same behavior with mingw but never bothered tracking it
down.. I worked on that portion of the code in 2005 to get the ctrl-c
behavior working correctly. However, the most competent person in that
section of the code is probably Paul Kienzle as he proposed the solution
for the original signal handler for mingw.

D.

-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

[Prev in Thread] Current Thread [Next in Thread]