Bugs item #2805833, was opened at 2009-06-13 10:44
Message generated for change (Comment added) made by genete
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=2805833&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Usability
Group: SVN version
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Genete (genete)
Assigned to: Nobody/Anonymous (nobody)
Summary: Size of mistmatch error shown

Initial Comment:
SVN revision 2378 produces following errors when start synfigstudio:

synfig(27854) [10:35:56] error: Size of Canvas mismatch (app:1080, lib:1032)
synfig(27854) [10:35:56] error: Size of Layer mismatch (app:464, lib:416)
synfig(27854) [10:35:56] error: Size of Canvas mismatch (app:1080, lib:1032)
synfig(27854) [10:35:56] error: Size of Layer mismatch (app:464, lib:416)

revision 2376 doesn't produce those errors.
I have set this but to high priority because I think that it can produce others 
bugs when the data accessing mixes size of objects, co corruption is easily 
reached.
-G

----------------------------------------------------------------------

Comment By: Genete (genete)
Date: 2009-06-15 15:58

Message:
Yeah! you're the best, man! I've removed the load of those modules and now
runs fine!
Thanks!
Closing this tracker and sorry for make you loose the time. 

----------------------------------------------------------------------

Comment By: dooglus (dooglus)
Date: 2009-06-15 15:01

Message:
The problem is that you're loading the magickpp and livavcodec modules from
/usr/local/lib - these are old versions, from before the sizes of the
classes were changed:

open("/usr/local/lib/synfig/modules/libmod_magickpp.la", O_RDONLY) = 8
open("/usr/local/lib/synfig/modules/libmod_magickpp.so", O_RDONLY) = 8
open("/usr/local/lib/synfig/modules/libmod_libavcodec.la", O_RDONLY) = 8
open("/usr/local/lib/synfig/modules/libmod_libavcodec.so", O_RDONLY) = 8

When studio starts, it'll print something like:
synfig(19947) [14:59:49] info: Loading modules from
/home/chris/.synfig/synfig_modules.cfg
to the terminal you run it from.  Edit that file and remove the two lines
for magickpp and libavcodec and you'll be fine:

The two lines say:
mod_libavcodec
mod_magickpp


----------------------------------------------------------------------

Comment By: dooglus (dooglus)
Date: 2009-06-15 11:03

Message:
It looks like you didn't rebuild everything.

The error messages are saying that the sizes of the Canvas and Layer
classes are different between synfig core and synfig studio.

Try a full rebuild - I think the problem will go away.

----------------------------------------------------------------------

Comment By: Genete (genete)
Date: 2009-06-14 11:17

Message:
Attached you can see the details of my system.
I've done:
$sudo rm /usr/local/bin/synfigstudio
$sudo rm /usr/local/bin/synfig
$sudo rm /usr/local/lib/libsynfig.so*
$sudo rm /usr/local/lib/libsynfigapp.so*
$sudo rm -r /usr/local/include/ETL
$sudo rm -r /usr/local/include/synfig*
(the last one not needed because already done by the previous)

then I removed the etl, synfig-core, synfig-studio folders and re run the
three scripts (in order) again.
after running synfigstudio I have the same error result.

----------------------------------------------------------------------

Comment By: Paul Wise (pabs3)
Date: 2009-06-13 18:13

Message:
Hmm, this is really weird.

Which architecture is this on?

Can you remove these files/folders and try again?

/usr/local/bin/synfigstudio
/usr/local/lib/synfig
/usr/local/lib/libsynfig.so*
/usr/local/lib/libsynfigapp.so*
/usr/local/include/ETL
/usr/local/include/synfig*
/usr/local/include/synfigapp*

----------------------------------------------------------------------

Comment By: Genete (genete)
Date: 2009-06-13 17:41

Message:
Confirmed.
I've removed etl, synfig-core and synfig-studio folders. I've run my
scripts to build them all (in order) and after build it suscesfully I
obtain the same message in the console.

etl script:
-------------------------
svn co https://synfig.svn.sourceforge.net/svnroot/synfig/ETL/trunk/ etl
cd etl
autoreconf --install --force
./configure
sudo make install
cd ..
-----------------------
synfig-core script:

-----------------------
svn co
https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-core/trunk/
synfig-core
sed -i 's/^AC_CONFIG_SUBDIRS/# AC_CONFIG_SUBDIRS/'
synfig-core/configure.ac
cd synfig-core
libtoolize --ltdl --copy --force
autoreconf --install --force
./configure
make -j8
sudo make install -j8
cd ..
-----------------------

synfig-studio script:

-----------------------
svn co
https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-studio/trunk/
synfig-studio
cd synfig-studio
autoreconf --install --force
./configure
make -j8
sudo make install -j8
cd ..
-----------------------

----------------------------------------------------------------------

Comment By: Genete (genete)
Date: 2009-06-13 16:55

Message:
car...@pcnuevo:~$ which synfigstudio
/usr/local/bin/synfigstudio

the result of:
lsof -p `pgrep synfigstudio`
in a terminal when synfigstudio is running in other, is pasted as a file.
-G

----------------------------------------------------------------------

Comment By: Konstantin Dmitriev (zelgadis_ksee)
Date: 2009-06-13 15:35

Message:
I have no such issue.
Fedora 10, synfigstudio svn2378, built on Fedora 7 x86_64. 

----------------------------------------------------------------------

Comment By: Paul Wise (pabs3)
Date: 2009-06-13 14:03

Message:
I don't have this problem. It sounds like the version of synfigstudio you
are running comes from a different place than the one you built, check if
you have any packages installed.

This issue happens because we don't do proper library ABI versioning (and
never have). I implemented some dependency hacks for Debian so that the
synfig/synfigstudio 

Run this to see which libraries and which synfigstudio you are running:

which synfigstudio
synfigstudio &
lsof -p `pgrep synfigstudio`


----------------------------------------------------------------------

Comment By: Genete (genete)
Date: 2009-06-13 11:24

Message:
I've deleted the three folders etl, synfig-core and synfig-studio before I
re-build the 2376 version, then I checked out 2378 (because 2377 doesn't
build here) without delete the folders and ran the etl, core and studio
scripts that strictly follow the build istructions.
I obtained the same errors again. 
Short answer, yes, I ran studio build script.
-G 

----------------------------------------------------------------------

Comment By: Paul Wise (pabs3)
Date: 2009-06-13 11:11

Message:
Did you recompile synfigstudio with the new build of synfig?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=2805833&group_id=144022

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to