« Return to Thread: waitbar() crashing when used from within emacs

Re: waitbar() crashing when used from within emacs

by Thomas Weber-8 :: Rate this Message:

Reply to Author | View in Thread

[cc'ing Quentin, maybe he has an idea]

Am Donnerstag, den 12.06.2008, 12:44 +0200 schrieb Thomas Weber:

> Hi,
>
> starting an octave-inferior process within Emacs and then using the
> waitbar function from miscellaneous crashes octave:
>
> octave> waitbar(0)
> panic: Segmentation fault -- stopping myself...
> attempting to save variables to `octave-core'...
> save to `octave-core' complete
>
> Process Inferior Octave segmentation fault
>
>
> The crash happens in line 150 where buf_ptr is a null pointer. The
> problematic part is however in line 147 already, where tgetstr() returns
> 0. Excerpt from tgetstr()'s man page:
>
> "The tgetstr routine returns the string entry for id, or zero if it is
> not available."
>
> I don't know if it's possible to change waitbar() to work from within
> Emacs.
>
> Thomas



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

 « Return to Thread: waitbar() crashing when used from within emacs

LightInTheBox - Buy quality products at wholesale price!