Blender exporter crashes Blender

Project:YafaRay
Component:Blender Exporter
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

The last beta crashes Blender (installed from the repository) under Arch Linux 64-bits. This is the error when launched from the console:

"

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Abortado (`core' generado)

"

Install instructions says not to use Blender from the repos, but up untill now repository Blender installs were doing fine with Yafaray.

Comments

#1

Status:active» won't fix

Hello,

The problem is that there are many ways of building Blender and/or YafaRay and, because of Blender's python interface, there could be several incompatibilities between them.

In my opinion, the best option is to download Blender release from www.blender.org and YafaRay from this site in the download area. This is the way we test YafaRay and I think it's the easiest way of making it work.

The reason why it worked before and not now could be many. Arch Linux is a "bleeding edge" distro, not focused on stability. Therefore they use the latest versions they can find and sometimes that causes breakages.

#2

Hi David.

Blender official build did work. I guess for now I will have to use it like that, though it would be nice to use it with my system install so it auto-updates.

I was using the official build for Yafaray from Git (so I didn't build it myself). I will see if I can't get info about how Blender is built and maybe ask the community to build it in a way it works with Yafaray.

Thank you!.

#3

I've been making improvements to the building scripts over the last months, hoping that it will make things a bit easier for distro maintainers. They are already in the latest Git master along with some building guides.

After next version is released, I will try to contact some maintainers to try to help them getting YafaRay built for the major distros. For the time being, please do use the "standard" builds for both.

Thanks!

#4

Status:won't fix» closed