Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25463] 2.56: SEGFAULT when exporting default scene to COLLADA

Date:
2011-01-03 00:41
Priority:
3
State:
Closed
Submitted by:
Leonard Ritter (paniq)
Assigned to:
Jeroen Bakker (jbakker)
Category:
Import/Export
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
2.56: SEGFAULT when exporting default scene to COLLADA
Detailed description
I originally noticed this within my build system, but it turns out the error is easily reproducible with the factory cube scene:

1. Export the factory scene to a COLLADA (.dae) file
2. Notice crash

Experienced on Ubuntu Linux with the official Blender 2.56 32-bit build.

Here's the backtrace:

(gdb) bt
#0 0x091cdd8e in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#1 0x08d20924 in std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile>, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> > >::_M_copy(std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> > const*, std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> >*) ()
#2 0x08d20d6b in std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile>, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> > >::operator---Type <return> to continue, or q <return> to quit---
=(std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile>, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> > > const&) ()
#3 0x097bcc48 in std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, COLLADASW::Profile, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> > >::operator=(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, COLLADASW::Profile, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, COLLADASW::Profile> > > const&) ()
#4 0x097bcc6c in COLLADASW::BaseExtraTechnique::operator=(COLLADASW::BaseExtraTechnique const&) ()
#5 0x097bcd9a in COLLADASW::Texture::operator=(COLLADASW::Texture const&) ()
#6 0x097bce7e in COLLADASW::ColorOrTexture::operator=(COLLADASW::ColorOrTexture const&) ()
---Type <return> to continue, or q <return> to quit---
#7 0x097b90cf in COLLADASW::EffectProfile::setEmission(COLLADASW::ColorOrTexture const&, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#8 0x08d1cdf1 in EffectsExporter::operator()(Material*, Object*) ()
#9 0x08d1f9a7 in EffectsExporter::exportEffects(Scene*) ()
#10 0x08cfdfba in DocumentExporter::exportCurrentScene(Scene*, char const*) ()
#11 0x08cfbabb in collada_export ()
#12 0x087b7fc4 in ?? ()
#13 0x087b4420 in ?? ()
#14 0x087b487e in wm_event_do_handlers ()
#15 0x087ad8c6 in WM_main ()
#16 0x087ac085 in main ()

Hope that's sufficient.

Followup

Message
  • Date: 2011-01-03 12:12
  • Sender: Ton Roosendaal
  • Jeroen: do you have time investigate this before 2.56a?
  • Date: 2011-01-03 14:14
  • Sender: Jeroen Bakker
  • @Ton: first time I can look into this is Wednesday.

    @Leonard Ritter: Just to be certain, the factory cube scene is the default cube scene (start clean Blender, and export that scene to collada?)
  • Date: 2011-01-03 14:46
  • Sender: Leonard Ritter
  • @Jeroen: yes. I also checked 2.56 on Windows XP, export seems to work fine there - unfortunately.

    In case you get troubles reproducing this: I got the crash on Ubuntu 10.10 on a Core 2 Duo machine. Reproducible every time.
  • Date: 2011-01-03 14:52
  • Sender: Jeroen Bakker
  • Does crash on windows 32 bit.
    Have produced the same crash on linux 32 bit.
    Will try later today to make sure the correct collada version is compiled in the release.
  • Date: 2011-01-03 14:53
  • Sender: Jeroen Bakker
  • Sorry, it does not crash on windows 32 :)
  • Date: 2011-01-04 13:25
  • Sender: Nathan Letwory
  • Based on Mailinglist discussion, this was due to wrong opencollada revision used for the 32bit build. This will be remedied with the very soon to be released 2.56a. Marking as fixed nonetheless.
  • Date: 2011-01-04 13:34
  • Sender: Leonard Ritter
  • Yay. Looking forward to the next release. How soon is "very soon"?
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-01-04 13:25jesterking
close_dateNone2011-01-04 13:25jesterking
StatusInvestigate2011-01-04 13:25jesterking
assigned_tonone2011-01-03 12:12ton
StatusNew2011-01-03 12:12ton