NVIZ Segmentation Fault
Philip Warner
pjw at rhyme.com.au
Fri Feb 25 04:48:49 EST 2000
At 10:17 25/02/00 +0000, Markus Neteler wrote:
>Hi there,
>
>I am still searching for someone with programming knowledge to
>fix this :-)
>
>What I found here:
>
>The GNU C Library
>http://gnu.senet.com.au/glibc/libc_2.html
>
> Macro: int ENOTTY
> Inappropriate I/O control operation, such as trying to set terminal
> modes on an ordinary file.
>
>Maybe this is useful to somebody. Could it be a wrong
>sprintf, fprintf call somewhere in
>src.contrib/GMSL/NVIZ2.2/src/
>?
>
>Note: On some Linux boxes it works (luckily on my system).
>
Thanks for the reply.
I am happy to try and track it down if there is no 'NVIZ-person' available.
But I have a problem: under Linux 2.2.7/i686 box/SuSE 6.1 it works fine,
and on my PPC/SuSE 6.3beta box it dies. Unfortunately, the PPC debugger
seems not to work.
If the people who who get the error on an Intel machine can tell me the
Linux version etc that they are running, then I will try to reproduce it.
Looking forward to hearing from people...
Philip Warner.
>> > 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.
----------------------------------------------------------------
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