gendaylit: segmentation fault

Hi All,

This is the first time i've tried using gendaylit on my Mac with Radiance 3.9 at home and i keep getting a segmentation fault error.
I've tried recompiling several times and can't seem to get around it. Thanks for any suggestions.

For example, issuing the following command:
gendaylit 4 13 7 -a 40.3 -o 79.9 -m 75 -W 401 41

returns:
# gendaylit 4 13 7 -a 40.3 -o 79.9 -m 75 -W 401 41
Segmentation fault

···

____________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses

Hi Galen,

Try grabbing the latest HEAD from www.radiance-online.org and compile the modified version of gendaylit included there. It doesn't seem to have this problem. I get:

% gendaylit 4 13 7 -a 40.3 -o 79.9 -m 75 -W 401 41
# gendaylit 4 13 7 -a 40.3 -o 79.9 -m 75 -W 401 41
# Ground ambient level: 4.8

void light solar
0
3 2.605e+06 2.605e+06 2.605e+06

solar source sun
0
4 0.973844 0.003467 0.227192 0.533000

void brightfunc skyfunc
2 skybright perezlum.cal
0
10 1.781e+01 3.513e+00 -1.131043 -0.338979 13.047373 -3.410216 0.426223 0.973844 0.003467 0.227192

Best,
-Greg

···

From: Galen Burrell <[email protected]>
Date: February 20, 2010 9:16:04 PM PST

Hi All,

This is the first time i've tried using gendaylit on my Mac with Radiance 3.9 at home and i keep getting a segmentation fault error.
I've tried recompiling several times and can't seem to get around it. Thanks for any suggestions.

For example, issuing the following command:
gendaylit 4 13 7 -a 40.3 -o 79.9 -m 75 -W 401 41

returns:
# gendaylit 4 13 7 -a 40.3 -o 79.9 -m 75 -W 401 41
Segmentation fault

Hi Galen.

Which version of OS X are you using. I updated to Snow Leopard on a
32-bit system and since then most of the applications I compiled
myself end in a segfault. I think the new Xcode is not set up properly
for a 32-bit system or the usual (auto)config rules do not work
correctly for this configuration.

Exception: I downloaded the Radiance HEAD snapshot last weekend and it
compiled and worked fine, including gendaylit. Greg's Makefiles seem
to work just fine.

Regards,
Thomas

···

On Sun, Feb 21, 2010 at 5:16 AM, Galen Burrell <[email protected]> wrote:

Hi All,

This is the first time i've tried using gendaylit on my Mac with Radiance 3.9 at home and i keep getting a segmentation fault error.
I've tried recompiling several times and can't seem to get around it. Thanks for any suggestions.

For example, issuing the following command:
gendaylit 4 13 7 -a 40.3 -o 79.9 -m 75 -W 401 41

returns:
# gendaylit 4 13 7 -a 40.3 -o 79.9 -m 75 -W 401 41
Segmentation fault