NVIZ Segmentation Fault

Philip Warner pjw at rhyme.com.au
Mon Feb 21 20:25:08 EST 2000


At 17:06 21/02/00 -0800, Eric G . Miller wrote:
>On Tue, Feb 22, 2000 at 10:51:11AM +1100, Philip Warner wrote:
>> 
>> I vaguely recall reading somewhere that NVIS had certain video hardware
>> requirements, but can no longer find anything to that effect. If this is
>> the case, then the PPC probably does not meet those requirements, and the
>> problem is solved.
>
>Don't think it's PPC specific since my machine is i686/Linux.

This is good to know!


>> Any helpful suggestions would be greatly appreciated - even if they are
>> only suggestions as to how I can find out more...
>> 
>Basically, I think the NVIZ code has some problems.  Sure it compiles,
>but I get many warnings about incompatible pointer types (clue 1). 

Ditto. Lots of software produces these errors, and I assumed that they
would be OK. I also vaguely recall an 'unwritable parameter' - I probably
should go back and find it...

> My
>last strace on NVIZ seemed to indicate it fails shortly after loading
>the tk.tcl interface.  It appears to send an inappropriate IO request:
>
>access("/usr/lib/tk8.0/tk.tcl", F_OK)   = 0
>stat("/usr/lib/tk8.0/tk.tcl", {st_mode=S_IFREG|0644, st_size=5697, ...})
>= 0
>open("/usr/lib/tk8.0/tk.tcl", O_RDONLY) = 7
>fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
>ioctl(7, TCGETS, 0xbfffd8c8)            = -1 ENOTTY (Inappropriate ioctl
>for device)
>read(7, "# tk.tcl --\n#\n# Initialization s"..., 4096) = 4096
>read(7, "vent add <<Clear>> <Clear>\n    }"..., 4096) = 1601
>close(7)                                = 0
>--- SIGSEGV (Segmentation fault) ---
>+++ killed by SIGSEGV +++

This is also good to see - an strace on my machine looks pretty close to
identical. I guess I need to recompile and look for any suspect messages.


>I wonder if ENOTTY has any relation to UNIX 98 PTYs? Just speculatin'...

Hopefully there is an NVIZ person out there who may recognize where this is
happening.



Thanks for your help,

Philip Warner.

----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: +61-03-5367 7422            |                 _________  \
Fax: +61-03-5367 7430            |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/



More information about the grass-user mailing list