POV-Ray : Newsgroups : povray.beta-test : double free or corruption Server Time
22 Dec 2024 14:23:22 EST (-0500)
  double free or corruption (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
From: ThH
Subject: double free or corruption
Date: 23 Feb 2016 04:33:01
Message: <56cc274d$1@news.povray.org>
Hallo to all and a big "Thank you" to the developers :))

Hope this the right place to report this...

Rendering some of the examples I found this:

thh@quadro:~$ cd '/home/thh/POV_Master/share/povray-3.7/scenes/advanced'
thh@quadro:~/POV_Master/share/povray-3.7/scenes/advanced$ povray 
abyss.pov +p -w320 -h120
Persistence of Vision(tm) Ray Tracer Version 
3.7.1-alpha.8463913.unofficial (g++
  4.9.2 @ x86_64-unknown-linux-gnu)
This is an unofficial version compiled by:
  ThH <no.spam@address>
  The POV-Ray Team is not responsible for supporting this version.

<snip>

==== [Parsing...] ==========================================================
*** Error in `povray': double free or corruption (out): 
0x00007fe1e40efc30 ***
Abgebrochen

Is it just me, my system or... is there really something that needs to 
be changed?

I would be happy to provide additional informations if necessary.

Thorsten aka ThH
No... I'm not a native speaker.


Post a reply to this message

From: Thomas de Groot
Subject: Re: double free or corruption
Date: 23 Feb 2016 07:26:10
Message: <56cc4fe2$1@news.povray.org>
On 23-2-2016 10:33, ThH wrote:

> Is it just me, my system or... is there really something that needs to
> be changed?
>
> I would be happy to provide additional informations if necessary.
>

Well, on my system, the render just crashed POV-Ray (v3.71).

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: double free or corruption
Date: 23 Feb 2016 07:45:11
Message: <56cc5457$1@news.povray.org>
On 23-2-2016 13:26, Thomas de Groot wrote:
> Well, on my system, the render just crashed POV-Ray (v3.71).
>
...and it seems the problem of that is located in the 'submarine' part 
of the scene code.

-- 
Thomas


Post a reply to this message

From: ThH
Subject: Re: double free or corruption
Date: 23 Feb 2016 08:29:32
Message: <56cc5ebc$1@news.povray.org>
Am 23.02.2016 um 13:45 schrieb Thomas de Groot:
> On 23-2-2016 13:26, Thomas de Groot wrote:
>> Well, on my system, the render just crashed POV-Ray (v3.71).
>>
> ...and it seems the problem of that is located in the 'submarine' part
> of the scene code.

Thank you for looking into it Thomas.

So it seems it's not just me ;)


Post a reply to this message

From: ThH
Subject: Re: double free or corruption
Date: 23 Feb 2016 09:06:17
Message: <56cc6759$1@news.povray.org>
Am 23.02.2016 um 14:30 schrieb ThH:

> So it seems it's not just me ;)

This is what I found following the hint Thomas gave :)

Checking the sub part by part...


After adding the following snippet, I get the error decribed above:

//--------------------------------------------
// Bottom
//--------------------------------------------
#declare HalfSubBottom=union{
          difference{
                 object{Part1} // bottom front
                 plane{y,0 inverse}
                 plane{z,0 inverse}
                 plane{x,0 inverse}
                 scale <SX,SYbot,SZfront>
         }
         difference{
                 object{Part3} // bottom rear
                 plane{y,0 inverse}
                 plane{z,0}
                 plane{x,0 inverse}
                 scale <SX,SYbot,SZrear>
         }
}

The result here:

*** Error in `povray': double free or corruption (out): 
0x00007f8f200efc30 ***
Abgebrochen

Hope this helps tracking down the error :)


Post a reply to this message

From: ThH
Subject: Re: double free or corruption
Date: 23 Feb 2016 09:20:15
Message: <56cc6a9f@news.povray.org>
Am 23.02.2016 um 15:07 schrieb ThH:

> //--------------------------------------------
> // Bottom
> //--------------------------------------------
> #declare HalfSubBottom=union{
>           difference{
>                  object{Part1} // bottom front
>                  plane{y,0 inverse}
>                  plane{z,0 inverse}
>                  plane{x,0 inverse}
>                  scale <SX,SYbot,SZfront>
>          }
>          difference{
>                  object{Part3} // bottom rear
>                  plane{y,0 inverse}
>                  plane{z,0}
>                  plane{x,0 inverse}
>                  scale <SX,SYbot,SZrear>
>          }
> }

Additional information: Comment out the first difference and the error 
is gone ;)

Again... Hope this helps :)


Post a reply to this message

From: clipka
Subject: Re: double free or corruption
Date: 23 Feb 2016 10:49:49
Message: <56cc7f9d@news.povray.org>
Am 23.02.2016 um 10:33 schrieb ThH:

> *** Error in `povray': double free or corruption (out):
> 0x00007fe1e40efc30 ***
> Abgebrochen
> 
> Is it just me, my system or... is there really something that needs to
> be changed?

I can confirm that as a genuine bug.

Please test whether 3.7.1-alpha.8492620 fixes the issue for you.


Post a reply to this message

From: ThH
Subject: Re: double free or corruption
Date: 23 Feb 2016 11:26:31
Message: <56cc8837$1@news.povray.org>
Am 23.02.2016 um 16:49 schrieb clipka:

> I can confirm that as a genuine bug.
>
> Please test whether 3.7.1-alpha.8492620 fixes the issue for you.

Thanks for confirming this as a bug clipka :)

Unfortunately I have to leave home in a few minutes...

I will try it in a few hours and report back here :)


Post a reply to this message

From: Le Forgeron
Subject: Re: double free or corruption
Date: 23 Feb 2016 12:55:17
Message: <56cc9d05$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 23/02/2016 16:49, clipka a écrit :
> Am 23.02.2016 um 10:33 schrieb ThH:
> 
>> *** Error in `povray': double free or corruption (out): 
>> 0x00007fe1e40efc30 *** Abgebrochen
>> 
>> Is it just me, my system or... is there really something that
>> needs to be changed?
> 
> I can confirm that as a genuine bug.
> 
> Please test whether 3.7.1-alpha.8492620 fixes the issue for you.
> 

I tried it with top of master branch (git id:
9762bc5aeb6a63aca87f1523ec7e760030b46341 ), aka
3.7.1-alpha.8492620.unofficial

and no problem on linux 64 bits, whatever the compiler (intel, gnu, clan
g)

cmpovray abyss.pov +p -w320 -h120

Sadly, I cannot test so easily the previous revision anymore... I have
automated the compilation and installation of both official branches
(as well as mine :P )

On the smiling side: no problem either with the stable branch.
Git id: 942ca94037b331d46f2f68b0ab3e842784e95ece
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJwEAQEIAAYFAlbMnQQACgkQhKAm8mTpkW1AJQP9EVnIsMYJtQkXp3RJ1zR0WWpT
yZwqViudJ2CdhPTun8wafG1Pd/optKgnQ9/8WbTrOci5iuChbJnqRTYxYqnmGp9+
yqy93vADhbhAz4jy88SHseWIIX4zY2j2nUg0c41fI5Zdg0D5VPoidD/Ys13948kV
7U5Q3S4F1TjK10KhWDw=
=3Ia2
-----END PGP SIGNATURE-----


Post a reply to this message

From: ThH
Subject: Re: double free or corruption
Date: 23 Feb 2016 17:23:53
Message: <56ccdbf9$1@news.povray.org>
Am 23.02.2016 um 16:49 schrieb clipka:

> I can confirm that as a genuine bug.
>
> Please test whether 3.7.1-alpha.8492620 fixes the issue for you.

Now it works. No error. Fine :)

Good work. Thanks.

Thorsten aka ThH


Post a reply to this message

Goto Latest 10 Messages Next 6 Messages >>>

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