Syllable Forum Index Syllable
Syllable Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

what(): Could not add resource section

 
Post new topic   Reply to topic    Syllable Forum Index -> Bugs - Fixed
View previous topic :: View next topic  
Author Message
cipri
Guest





PostPosted: Mon Oct 13, 2008 4:02 am    Post subject: what(): Could not add resource section Reply with quote

I installed today the last dev. build (12.10.0Cool
then I installed the dev.Delight 8,
then I installed the dev.files (12.10.0Cool
then I installed sIDE

compiling a "console project" worked, but when I tried to compile a "api project" I got the message:
make:***["App"] Segmentation fault (core dumped)

The "App" was created, when I started it, I got the message:
os::erno_exception
what(): could not add resource section
Back to top
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2204
Location: Friesland

PostPosted: Mon Oct 13, 2008 7:56 am    Post subject: Reply with quote

You found those releases quickly. Smile I just woke up after making them. Thanks for testing them. Can someone investigate this?
Back to top
View user's profile Send private message Visit poster's website
Morph
The Knights of Syllable


Joined: 18 Oct 2007
Posts: 316
Location: Australia

PostPosted: Mon Oct 13, 2008 8:08 am    Post subject: Reply with quote

Sure sounds like the known [url=http://forum.syllable.org/viewtopic.php?t=1144]rescopy segfault[/url]. Maybe the development tools need to be rebuilt for 0.6.6?
Back to top
View user's profile Send private message Visit poster's website
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2204
Location: Friesland

PostPosted: Mon Oct 13, 2008 8:36 am    Post subject: Reply with quote

Yeah, but I can't afford to do that. I just spent three full days on the new collection packs. And we can't maintain two sets of packages for all the people still on older releases. We don't even know what the criteria would be.

We can't very well let our binary compatibility story go down the drain, either, and break people's applications.
Back to top
View user's profile Send private message Visit poster's website
Vanders
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 849

PostPosted: Mon Oct 13, 2008 9:28 am    Post subject: Reply with quote

If this is the same problem as the recopy segfault then this is a show-stopper for 0.6.6
Back to top
View user's profile Send private message Send e-mail
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2204
Location: Friesland

PostPosted: Mon Oct 13, 2008 9:34 am    Post subject: Reply with quote

Yep.

Could someone confirm that the new software packs work on 0.6.5 (with sIDE)?
Back to top
View user's profile Send private message Visit poster's website
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2204
Location: Friesland

PostPosted: Mon Oct 13, 2008 4:08 pm    Post subject: Reply with quote

I installed all the new packs on 0.6.5 and they work fine.
Back to top
View user's profile Send private message Visit poster's website
Morph
The Knights of Syllable


Joined: 18 Oct 2007
Posts: 316
Location: Australia

PostPosted: Sun Nov 30, 2008 5:54 am    Post subject: Reply with quote

I committed a modification to os::Resources which bypasses the crash.

The crash was occurring inside libstdc++ when adding a internal libsyllable struct (the whole struct, not a pointer) to a std::vector. I didn't work out what the real cause of the problem was; it seems to be something to do with the interface and interaction between libsyllable, libstdc++ and glibc. It's possible that the problem will disappear when we (eventually) upgrade to a newer version of gcc or glibc. The problem might also be with the build process; perhaps some recent combination of configure options are somehow to blame. But I don't know much about the build process so I couldn't investigate this very well.

There are two or three other places in libsyllable where std::vectors are used with libsyllable classes or structs. It's possible that problems might arise with these as well. If anyone notices any other suspicious segfaults like the rescopy one, please post here with the details!

I'll move this to fixed, for now; if any more problems arise we can move it back.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Syllable Forum Index -> Bugs - Fixed All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group