CaWE segmentation fault

Get help with installing and running the Cafu Engine here. This forum is also for general questions and discussion of all aspects regarding the Cafu Engine.
Post Reply
thambs
Posts: 2
Joined: 2011-01-09, 19:17

CaWE segmentation fault

Post by thambs » 2011-01-09, 19:23

my OS is ubuntu 10.04 LTS, 64bit. I download Cafu-src-r210, copile it, but CaWE do not work:

Code: Select all

~/Cafu-src-r210/build/linux2/g++/debug/CaWE ./CaWE 
../src/common/image.cpp(1560): assert "Ok()" failed in GetWidth(): invalid image
../src/common/image.cpp(1567): assert "Ok()" failed in GetHeight(): invalid image
../src/common/image.cpp(1937): assert "Ok()" failed in HasMask(): invalid image
../src/common/image.cpp(1560): assert "Ok()" failed in GetWidth(): invalid image
../src/common/image.cpp(1567): assert "Ok()" failed in GetHeight(): invalid image
../src/common/image.cpp(1819): assert "Ok()" failed in GetAlpha(): invalid image
../src/common/image.cpp(1819): assert "Ok()" failed in GetAlpha(): invalid image
../src/common/image.cpp(1801): assert "Ok()" failed in SetAlpha(): invalid image
zsh: segmentation fault  ./CaWE
how can i get workable CaWE?
User avatar
Carsten
Site Admin
Posts: 2169
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: CaWE segmentation fault

Post by Carsten » 2011-01-09, 20:03

Hi Thambs,
welcome to the Cafu forums! :welcome:
thambs wrote:how can i get workable CaWE?
Please try and run CaWE not from ~/Cafu-src-r210/build/linux2/g++/debug/CaWE, but from ~/Cafu-src-r210:

Code: Select all

~/Cafu-src-r210> build/linux2/g++/debug/CaWE/CaWE
Then it should work (please let us know), but of course we should not experience a segfault only because the working directory was not as expected... assuming it works properly when started from the right working directory, could you please file a related bug report (help/how-to)?
Best regards,
Carsten
thambs
Posts: 2
Joined: 2011-01-09, 19:17

Re: CaWE segmentation fault

Post by thambs » 2011-01-10, 22:13

i see. when it was started in Cafu-src-r210 it works. i sent bugreport http://trac.cafu.de/ticket/60
User avatar
Carsten
Site Admin
Posts: 2169
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: CaWE segmentation fault

Post by Carsten » 2011-01-11, 22:17

thambs wrote:when it was started in Cafu-src-r210 it works. i sent bugreport http://trac.cafu.de/ticket/60
ok, :thx:
Best regards,
Carsten
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests