POV-Ray : Newsgroups : povray.beta-test : Mac OS X Report Server Time
7 Jul 2024 07:12:15 EDT (-0400)
  Mac OS X Report (Message 1 to 2 of 2)  
From: triple r
Subject: Mac OS X Report
Date: 9 Apr 2009 04:30:00
Message: <web.49ddb194f5a1599e63a1b7c30@news.povray.org>
I'll spare you the details of my trials with SDL (compiles but doesn't work -
spits out lots of NS errors and hangs), and focus on the more important issues.
 I'm just trying out the beta for the first time, but it's non-functional on Mac
OS 10.5.6.  If I compile without optimization and without x or sdl, I can get
the biscuit scene to render, but compiling with optimization gives the
following error, before anything happens at all:

povray(91000,0xa0879720) malloc: *** error for object 0xa00602d8: Non-aligned
pointer being freed
*** set a breakpoint in malloc_error_break to debug

Breakpoint 1, 0x96edc4a9 in malloc_error_break ()
(gdb) where
#0  0x96edc4a9 in malloc_error_break ()
#1  0x96ed7497 in szone_error ()
#2  0x96e01463 in szone_free ()
#3  0x96e012cd in free ()
#4  0x905d8496 in std::ios_base::~ios_base ()
#5  0x0000e56e in ~basic_ifstream [inlined] () at fstream:268
#6  0x0000e56e in vfePlatform::UnixOptionsProcessor::process_povray_conf
(this=0x500770) at basic_ios.h:1038
#7  0x0000f23f in vfePlatform::UnixOptionsProcessor::UnixOptionsProcessor
(this=0x500770, session=0x0) at unix/unixoptions.cpp:191
#8  0x00026059 in shared_ptr<vfePlatform::UnixOptionsProcessor> [inlined] () at
shared_ptr.hpp:131
#9  0x00026059 in vfePlatform::vfeUnixSession::vfeUnixSession (this=0x801e00,
id=0) at unix/vfeplatform.cpp:131
#10 0x00004987 in main (argc=1, argv=0xbffff1f0) at unix/unixconsole.cpp:479


I'm happy to give more details, but it's kinda unsupported in the first place.
I can't use valgrind, and I'm not sure if anyone cares anyway.  Any
suggestions?

 - Ricky


Post a reply to this message

From: Gauchi
Subject: Re: Mac OS X Report
Date: 5 May 2009 13:25:00
Message: <web.4a0075f4cd54e4d1e25cce3c0@news.povray.org>
> If I compile without optimization and without x or sdl, I can get
> the biscuit scene to render,

removing the -malign-double option from the CXXFLAGS suffices to get it to
render the biscuit scene


Post a reply to this message

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