POV-Ray : Newsgroups : povray.beta-test : Povray 3.5.beta.RC5 segfaults when started with rsh Server Time
1 Nov 2024 09:20:44 EDT (-0400)
  Povray 3.5.beta.RC5 segfaults when started with rsh (Message 1 to 1 of 1)  
From: Fredrik Jansson FYSI
Subject: Povray 3.5.beta.RC5 segfaults when started with rsh
Date: 5 Jun 2002 10:13:27
Message: <3CFE1C7C.95645065@abo.fi>
I want to use rsh to start povray on a remote machine, an intel Pentium
III, 1GHz, 512M ram, running linux 2.4.3aau4.
I am using povray 3.5.beta.RC5.

When I log in using rlogin and then start povray from the shell prompt
it works nicely, but when i start it directly using rsh:
rsh clusn2 ./povray +Ipovray35/scenes/advanced/skyvase.pov
it segfaults.

The problem seems to involve using SVGAlib for displaying,
but adding the flag -D does not help.

Fredrik


when I run:
rsh clusn2 strace ./povray +Ipovray35/scenes/advanced/skyvase.pov
I get:

(...)
write(2, "This copy expires in 3 day(s).\n", 31This copy expires in 3
day(s).
) = 31
write(2, "\n", 1
)                       = 1
ioctl(0, TCGETS, 0xbffffb90)            = -1 EINVAL (Invalid argument)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++




using gdb:

rsh clusn2 gdb ./povray

(...)

(gdb) set args +Ipovray35/scenes/advanced/skyvase.pov
(gdb) run
Starting program: /export/scratch/fjansson/./povray
+Ipovray35/scenes/advanced/skyvase.pov
This is a TIME LIMITED BETA TEST version.
Distribution in any form is EXPRESSLY PROHIBITED!
This copy expires in 3 day(s).

Program received signal SIGSEGV, Segmentation fault.
0x081f249d in strstr (phaystack=0x0, pneedle=0x82c53b5 "tty")
    at ../sysdeps/generic/strstr.c:58
        in ../sysdeps/generic/strstr.c
(gdb) 58        ../sysdeps/generic/strstr.c: No such file or directory.

(gdb) info stack
#0  0x081f249d in strstr (phaystack=0x0, pneedle=0x82c53b5 "tty")
    at ../sysdeps/generic/strstr.c:58
#1  0x080f222e in SVGAMode () at unix.cpp:1179
#2  0x080f20cd in UNIX_init_povray (argc=0xbffffda0, argv=0xbffffda4)
    at unix.cpp:908
#3  0x080c405c in povray_render (argc=3, argv=0xbffffe34) at
povray.cpp:429
#4  0x080c3efb in main (argc=3, argv=0xbffffe34) at povray.cpp:286
#5  0x081d2972 in __libc_start_main (main=0x80c3ddc <main>, argc=3, 
    ubp_av=0xbffffe34, init=0x80480b4 <_init>, fini=0x8228360 <_fini>, 
    rtld_fini=0, stack_end=0xbffffe2c) at
../sysdeps/generic/libc-start.c:129


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.