Bug 137846 - error on mission start
Summary: error on mission start
Status: RESOLVED FIXED
Alias: None
Product: boson
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: The Boson Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-25 01:36 UTC by Chris
Modified: 2006-11-25 14:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
boson-error-logs (its a tar.bz2 file) (11.97 KB, application/octet-stream)
2006-11-25 01:44 UTC, Chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2006-11-25 01:36:59 UTC
Version:           0.13 (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.1 
OS:                Linux

hello
i've tryed to compile boson on my 64bit mashine...
first: i see that boson want load 32bit libs... why? (i compile all of the game... or only a part?)

my bugreport:
if i want start a mission (single or multiplayer)
boson stops at unit 9 with this error:

boson: ERROR: [static QString BoBMFLoad::convertModel(const QString&, const QString&)] bobmfconverter did not write file.
boson: ERROR: input file: /usr/share/apps/boson/themes/species/human/units/fix_samsite/unit.3ds
boson: ERROR: expected output file: boson/modelcache/model-e9339fe440e7ce572e17737d1e21226d.bmf
boson: ERROR: args:  /usr/bin/bobmfconverter -texnametolower -useboth -resetmaterials -texoptimize -texpath /home/idle/.kde/share/apps/boson/themes/textures/ -texname unittex-e9339fe440e7ce572e17737d1e21226d.jpg -t /usr/share/apps//boson/themes/textures/ -o /home/idle/.kde/share/apps/boson/modelcache/model-e9339fe440e7ce572e17737d1e21226d.bmf -c /usr/share/apps/boson/themes/species/human/units/fix_samsite/index.unit /usr/share/apps/boson/themes/species/human/units/fix_samsite/unit.3ds -comment Automatically converted from file '/usr/share/apps/boson/themes/species/human/units/fix_samsite/unit.3ds'
boson: ERROR: [BosonModel* BosonModelFactory::createUnitModel(const UnitProperties*, const QString&)] model loading failed
BosonModel: [BosonModel::~BosonModel()] 
BosonModel: [BosonModel::~BosonModel()] delete 0 lods
BosonModel: [BosonModel::~BosonModel()] delete 0 materials
BosonModel: [BosonModel::~BosonModel()] done
LoadGame: ERROR: [bool SpeciesData::loadUnitModel(const UnitProperties*, const QColor&)] NULL model created
LoadGame: ERROR: [bool BosonStartingLoadPlayerGUIData::loadUnitDatas()] loading unit with ID 6 failed
LoadGame: ERROR: [bool BosonStarting::executeTasks(const QPtrList<BosonStartingTask>&)] could not complete task Load player data of player 1 (of 2)
LoadGame: ERROR: [void BosonStarting::slotStart()] STARTING: game starting failed
boson: [void BosonMainWidget::slotStartingFailed()] 


what can i do to solve this problem?
Comment 1 Chris 2006-11-25 01:39:55 UTC
if i execute the command i become a segfault:
 /usr/bin/bobmfconverter -texnametolower -useboth -resetmaterials -texoptimize -texpath /home/idle/.kde/share/apps/boson/themes/textures/ -texname unittex-e9339fe440e7ce572e17737d1e21226d.jpg -t /usr/share/apps//boson/themes/textures/ -o /home/idle/.kde/share/apps/boson/modelcache/model-e9339fe440e7ce572e17737d1e21226d.bmf -c /usr/share/apps/boson/themes/species/human/units/fix_samsite/index.unit /usr/share/apps/boson/themes/species/human/units/fix_samsite/unit.3ds -comment Automatically converted from file '/usr/share/apps/boson/themes/species/human/units/fix_samsite/unit.3ds'
0.000002 Creating KInstance object...
0.000257 Processing cmdline...
0.000378 Checking config...
0.001336 Loading model...
0.001423 [virtual bool Loader3DS::load()] 
0.004003 [virtual bool Loader3DS::load()] loaded from /usr/share/apps/boson/themes/species/human/units/fix_samsite/unit.3ds
0.004292 [virtual Loader3DS::~Loader3DS()] 
0.004388 [virtual Loader3DS::~Loader3DS()] done
0.007190 [bool loadConfigFile(Model*)] Automatically set number of kept frames to 1
0.007402 Completing model loading...
0.007699 [bool Texture::load()] loading texture CONCRT1.JPG
0.009838 [bool Texture::load()] '/usr/share/apps//boson/themes/textures/concrt1.jpg' doesn't have transparency
0.010026 [bool Texture::load()] loading texture METAL2.JPG
0.016502 [bool Texture::load()] '/usr/share/apps//boson/themes/textures/metal2.jpg' doesn't have transparency
0.016634 [bool Texture::load()] loading texture DOORS2.JPG
0.017161 [bool Texture::load()] '/usr/share/apps//boson/themes/textures/doors2.jpg' doesn't have transparency
0.017289 [bool Texture::load()] loading texture METAL1.JPG
0.017733 [bool Texture::load()] '/usr/share/apps//boson/themes/textures/metal1.jpg' doesn't have transparency
0.017915 LOD 0 had 9 meshes, containing 390 vertices in 204 faces
0.018339 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting DefaultMaterials
0.018439 [virtual bool DefaultMaterials::process()] Giving default material to mesh teamcolor (tc)
0.018552 [virtual bool DefaultMaterials::process()] Giving default material to mesh teamcolor0 (tc)
0.018657 [virtual bool DefaultMaterials::process()] Giving default material to mesh teamcolor6 (tc)
0.019167 [bool executeProcessors(Model*, const QPtrList<Processor>&)] DefaultMaterials succeeded
0.019274 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting UnusedDataRemover
0.019535 [bool executeProcessors(Model*, const QPtrList<Processor>&)] UnusedDataRemover succeeded
0.019633 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting DuplicateFrameRemover
0.019731 [virtual bool FrameOptimizer::process()] Keeping only 1 first frames (of 99)
0.019959 [bool executeProcessors(Model*, const QPtrList<Processor>&)] DuplicateFrameRemover succeeded
0.020057 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting Transformer
0.020153 [bool Transformer::resizeModel()] Resizing model...
0.020305 [bool Transformer::applyTransformations(LOD*, Mesh*)] Transforming mesh...
0.020398 [bool Transformer::applyTransformations(LOD*, Mesh*)] Transforming mesh...
0.020488 [bool Transformer::applyTransformations(LOD*, Mesh*)] Transforming mesh...
0.020577 [bool Transformer::applyTransformations(LOD*, Mesh*)] Transforming mesh...
0.020667 [bool Transformer::applyTransformations(LOD*, Mesh*)] Transforming mesh...
0.020821 [bool Transformer::applyTransformations(LOD*, Mesh*)] Transforming mesh...
0.020916 [bool Transformer::applyTransformations(LOD*, Mesh*)] Transforming mesh...
0.021008 [bool Transformer::applyTransformations(LOD*, Mesh*)] Transforming mesh...
0.021099 [bool Transformer::applyTransformations(LOD*, Mesh*)] Transforming mesh...
0.021200 [bool executeProcessors(Model*, const QPtrList<Processor>&)] Transformer succeeded
0.021297 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting TextureOptimizer
0.021613 [void TextureOptimizer::calculateTotalUsedArea(Texture*)] Tex/face area ratio for texture 'concrt1.jpg' is 10.424/3.755(2.77603:1) in 2 meshes
0.021876     Texture's min/max used texels: (0.000499487; 0.000499487)-(0.999501; 0.999501)
0.022102 [void TextureOptimizer::calculateTotalUsedArea(Texture*)] Tex/face area ratio for texture 'metal2.jpg' is 2.41039/0.26143(9.22002:1) in 1 meshes
0.022315     Texture's min/max used texels: (0.000499547; 0.8305)-(2; 1.8295)
0.022471 [void TextureOptimizer::calculateTotalUsedArea(Texture*)] Tex/face area ratio for texture 'doors2.jpg' is 11.976/0.9(13.3067:1) in 2 meshes
0.022685     Texture's min/max used texels: (0.000499487; 0.000499517)-(0.999501; 0.999501)
0.022887 [void TextureOptimizer::calculateTotalUsedArea(Texture*)] Tex/face area ratio for texture 'default.jpg' is 0/0.415628(0:1) in 8 meshes
0.023066     Texture's min/max used texels: (0; 0)-(0; 0)
0.023227 [void TextureOptimizer::calculateTotalUsedArea(Texture*)] Tex/face area ratio for texture 'metal1.jpg' is 4.37643/0.800752(5.4654:1) in 1 meshes
0.023438     Texture's min/max used texels: (0.0504496; 0.186)-(0.94955; 1.074)
0.023588   There are 5 textures, total used tex/face areas: 29.1868/6.13281;  average ratio: 4.75913:1
0.023740     Texture 'concrt1.jpg' would get 9.19733% of combined texture (about 155x155 pixels of 512x512)  (score: 3.23333; total: 35.1551;  reso: 2.77603; avg: 4.75913)
0.024028     Texture 'metal2.jpg' would get 29.544% of combined texture (about 278x278 pixels of 512x512)  (score: 10.3862; total: 35.1551;  reso: 9.22002; avg: 4.75913)
0.024359     Texture 'doors2.jpg' would get 44.9422% of combined texture (about 343x343 pixels of 512x512)  (score: 15.7995; total: 35.1551;  reso: 13.3067; avg: 4.75913)
0.024646     Texture 'default.jpg' would get 0% of combined texture (about 0x0 pixels of 512x512)  (score: 0; total: 35.1551;  reso: 0; avg: 4.75913)
0.024998     Texture 'metal1.jpg' would get 16.3164% of combined texture (about 206x206 pixels of 512x512)  (score: 5.73605; total: 35.1551;  reso: 5.4654; avg: 4.75913)
0.025279 [Texture* TextureOptimizer::combineAllTextures()] Loading textures...
0.025366 [bool Texture::load()] loading texture default.jpg
0.026113 [bool Texture::load()] '/usr/share/apps//boson/themes/textures/default.jpg' doesn't have transparency
0.031374 [Texture* TextureOptimizer::combineAllTextures()] Creating combined texture...
0.032655     Texture 'doors2.jpg' has w/h ratio 1
0.032849     Texture 'metal2.jpg' has w/h ratio 0.500375
0.032947     Texture 'metal1.jpg' has w/h ratio 1.0125
0.033044     Texture 'concrt1.jpg' has w/h ratio 1
0.033141     Texture 'default.jpg' has w/h ratio nan
0.033264     [Texture* TextureOptimizer::combineAllTextures()] Combined image is divided into 2x3 blocks, 256x170 each (5 images)
0.033452     Copying texture 'doors2.jpg', used area: (0.000499487; 0.000499517)-(0.999501; 0.999501)  base tex size: 256x170
0.033649     Texture 'doors2.jpg' will have 256x170 pixels at (0; 0)
0.040873         Texel rect is (0; 0.667969)-(0.5; 1)  dst: (0; 0); size: 256x170;  dstsize: 512
0.041207     Copying texture 'metal2.jpg', used area: (0.000499547; 0.8305)-(2; 1.8295)  base tex size: 128x170
0.046044     Texture 'metal2.jpg' will have 256x170 pixels at (256; 0)
0.049686         Texel rect is (0.5; 0.667969)-(1; 1)  dst: (256; 0); size: 256x170;  dstsize: 512
0.050005     Copying texture 'metal1.jpg', used area: (0.0504496; 0.186)-(0.94955; 1.074)  base tex size: 285x191
0.050198     Texture 'metal1.jpg' will have 256x170 pixels at (0; 170)
0.065003         Texel rect is (0; 0.335938)-(0.5; 0.667969)  dst: (0; 170); size: 256x170;  dstsize: 512
0.065347     Copying texture 'concrt1.jpg', used area: (0.000499487; 0.000499487)-(0.999501; 0.999501)  base tex size: 256x170
0.065537     Texture 'concrt1.jpg' will have 256x170 pixels at (256; 170)
0.072729         Texel rect is (0.5; 0.335938)-(1; 0.667969)  dst: (256; 170); size: 256x170;  dstsize: 512
0.073818     Copying texture 'default.jpg', used area: (0; 0)-(0; 0)  base tex size: -9223372036854775808x-9223372036854775808
0.074011     Texture 'default.jpg' will have 256x170 pixels at (0; 340)
0.074318         Texel rect is (0; 0.00390625)-(0.5; 0.335938)  dst: (0; 340); size: 256x170;  dstsize: 512
0.074563 [Texture* TextureOptimizer::combineAllTextures()] Saving combined texture...
0.093364 [bool executeProcessors(Model*, const QPtrList<Processor>&)] TextureOptimizer succeeded
0.093521 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting NodeOptimizer
0.093667 [virtual bool NodeOptimizer::process()] Broke 9 meshes into 14
0.094364 [bool executeProcessors(Model*, const QPtrList<Processor>&)] NodeOptimizer succeeded
0.094470 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting NormalCalculator
0.096458 [bool executeProcessors(Model*, const QPtrList<Processor>&)] NormalCalculator succeeded
0.096560 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting MaterialOptimizer
0.096669 [virtual bool MaterialOptimizer::process()] Merged 5 materials into 1
0.096804 [bool executeProcessors(Model*, const QPtrList<Processor>&)] MaterialOptimizer succeeded
0.096901 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting MeshOptimizer
0.097020 [Mesh* MeshOptimizer::mergeMeshes(QValueList<Mesh*>*)] Merged 432 vertices and 144 faces from 6 meshes
0.097176 [Mesh* MeshOptimizer::mergeMeshes(QValueList<Mesh*>*)] Merged 420 vertices and 140 faces from 8 meshes
0.097328 [virtual bool MeshOptimizer::process()] Merged 14 meshes into 2
0.097454 [bool executeProcessors(Model*, const QPtrList<Processor>&)] MeshOptimizer succeeded
0.097551 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting VertexOptimizer
0.097670     VO::processMesh(): Vertices added to list, sorting list...
0.098023     VO::processMesh(): List sorted, checking for dups...
0.098136 [bool VertexOptimizer::processMesh(Mesh*)] Vertices removed: 0 of 432
0.098274     VO::processMesh(): Vertices added to list, sorting list...
0.098465     VO::processMesh(): List sorted, checking for dups...
0.098570 [bool VertexOptimizer::processMesh(Mesh*)] Vertices removed: 0 of 420
0.098698 [bool executeProcessors(Model*, const QPtrList<Processor>&)] VertexOptimizer succeeded
0.098809 Creating lods...
0.100384 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting LOD Creator (LOD 1)
0.109579 [bool executeProcessors(Model*, const QPtrList<Processor>&)] LOD Creator (LOD 1) succeeded
0.109745 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting LOD Creator (LOD 2)
0.113094 [bool executeProcessors(Model*, const QPtrList<Processor>&)] LOD Creator (LOD 2) succeeded
0.113223 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting LOD Creator (LOD 3)
0.117285 [bool executeProcessors(Model*, const QPtrList<Processor>&)] LOD Creator (LOD 3) succeeded
0.117438 [bool executeProcessors(Model*, const QPtrList<Processor>&)] starting LOD Creator (LOD 4)
Segmentation fault
Comment 2 Chris 2006-11-25 01:44:56 UTC
Created attachment 18697 [details]
boson-error-logs (its a tar.bz2 file)

i've attached the boson logs... i hope it help
Comment 3 Andreas Beckermann 2006-11-25 14:55:04 UTC
Hi
I'm afraid boson 0.13 won't work on 64 bit machines, due to a few bugs.

The problem is however already fixed in svn.
Current trunk should work with 64 bits machines - however it already has some experimental changes, too.
For a "0.13 + 64 bit fixes" you can checkout the "BOSON_0_13_BRANCH" branch. See the bottom of http://boson.eu.org/download.php on boson svn; to checkout the branch replace "trunk" by "branches/BOSON_0_13_BRANCH" in the URLs.

CU
Andi