Help!

Discuss Synfig related news
User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Tue Dec 24, 2013 4:35 pm

Zelgadis wrote:Does it crash at certain file/at certain operation?

I'm not actually sure; I guess I'm a bit unattentive with my processes while working, so I didn't recognize the pattern. But it seems to happen spontaneously, randomly. If I vaguely remember anything, I "think" it seems to happen when I'm working with layers (either just clicking them, or adding some, or checking/unchecking visibility, etc.).
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!

Advertisement

User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Tue Dec 24, 2013 6:11 pm

Zelgadis, any way I can find out what's causing the problems? The crashes don't even give me error messages. The software just "shuts down".
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!

KonstantinDmitriev
Site Admin
Posts: 1024
Joined: Thu Jan 10, 2008 2:16 am
Location: Russia
Contact:

Re: Help!

Postby KonstantinDmitriev » Wed Dec 25, 2013 1:34 am

So, I assume it is crashes for you more ofthen, than 0.64.0 (previous stable), right?
I mean, Synfig isn't a bugfree, so it's ok to see it crashing from time to time. ^__^ I guess in your situation the crashes happen often and randomly.
Also, assume that it crashes on various files.

My first suggestion is to try compile Synfig from source.
Just use following commands:

Code: Select all

git clone https://github.com/synfig/synfig.git
cd synfig
git checkout origin/0.64.1
bash autobuild/synfigstudio-linux-build.sh


After the process is finished you can run compiled version using this command:

Code: Select all

$HOME/synfig/bin/synfigstudio


Let me know if that makes any difference for you.

User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Wed Dec 25, 2013 3:20 pm

Running that last line there gave me this error:

Code: Select all

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libdirectfb-dev : Depends: libjpeg-dev
 libmng-dev : Depends: libjpeg-dev
 libtiff4-dev : Depends: libjpeg-dev


I'll try to install them. XD Let's see how it goes...
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!

User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Wed Dec 25, 2013 4:09 pm

I keep cycling on dependencies here. Can't seem to install Synfig from the GIT....

Code: Select all

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libjpeg-turbo8-dev : Conflicts: libjpeg62-dev but 6b1-3ubuntu1.13.10.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!

KonstantinDmitriev
Site Admin
Posts: 1024
Joined: Thu Jan 10, 2008 2:16 am
Location: Russia
Contact:

Re: Help!

Postby KonstantinDmitriev » Thu Dec 26, 2013 1:12 pm

Hi! I have fixed the script for Ubuntu 13.10. Please download it from here - https://raw.github.com/synfig/synfig/ma ... x-build.sh
Save it into "autobuild/synfigstudio-linux-build.sh" in "synfig" directory (replace the file).

Then run the last command again:

Code: Select all

bash autobuild/synfigstudio-linux-build.sh


I hope this help.

User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Thu Dec 26, 2013 2:52 pm

It works! Haha! Thanks! :D

I'll work with it, and see if it causes any more crashes.
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!

User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Thu Dec 26, 2013 4:22 pm

Okay, it crashed again. :/ Here's what I got from the terminal:

Code: Select all

synfig(18118) [12:49:32  IST] warning: layer_pastecanvas.cpp:466 bounding box shrank while rendering?
synfig(18118) [12:49:32  IST] warning: layer_pastecanvas.cpp:466 bounding box shrank while rendering?
...
synfig(18118) [12:49:52  IST] warning: layer_pastecanvas.cpp:466 bounding box shrank while rendering?
synfig(18118) [12:49:52  IST] warning: layer_pastecanvas.cpp:466 bounding box shrank while rendering?
Segmentation fault (core dumped)
ganesh@ganesh-PC:~/synfig$

Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!

Yoyobuae
Posts: 188
Joined: Fri Dec 28, 2007 11:56 pm

Re: Help!

Postby Yoyobuae » Thu Dec 26, 2013 5:24 pm

Can you look for the core file that was generated? I think it should be on the same dir as synfigstudio executable:

Code: Select all

$HOME/synfig/bin/core


Might want to compress it before uploading it though (they tend to be big but shrink a lot when compressed).

User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Thu Dec 26, 2013 6:28 pm

Hmm... I can't find the core file... http://i.imgur.com/pRr4DLa.png

Is it because I started working on the project again after the crash? Does the core file disappear after that?
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!

Yoyobuae
Posts: 188
Joined: Fri Dec 28, 2007 11:56 pm

Re: Help!

Postby Yoyobuae » Thu Dec 26, 2013 7:04 pm

It shouldn't disappear. Maybe it is on different directory, did you launch synfig from a different dir? It might be over there instead.

Other thing you can do is check:

Code: Select all

cat /proc/sys/kernel/core_pattern

If the output of that command points to some specific dir then the core file might be there.

If you can't find the core file then maybe it was not generated. On that case you can use this command before launching synfig:

Code: Select all

ulimit -c unlimited

To force the core file to be generated. You would have to reproduce the crash again though.

In case you're wondering, the core file is a snapshot of the program's memory just before it crashed. It is very helpful to debug the cause of the crash.

User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Thu Dec 26, 2013 7:44 pm

I was using the same Synfig folder which Zelgadis asked me to use, but there was no core file... In any case, I'll try running Synfig with the second command and see once it crashes. Until then, I'll leave this information here: Running the first Cat command gave me this output --

Code: Select all

ganesh@ganesh-PC:~$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport %p %s %c


Is that of any significance?
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!

User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Thu Dec 26, 2013 9:01 pm

Got it! Here you go. Is this it? https://copy.com/9eFCnRiJEHmt
When it crashed (thanks to the command you gave me), I found this in the Synfig folder, not the bin. XD Basically $HOME/synfig
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!

KonstantinDmitriev
Site Admin
Posts: 1024
Joined: Thu Jan 10, 2008 2:16 am
Location: Russia
Contact:

Re: Help!

Postby KonstantinDmitriev » Fri Dec 27, 2013 1:33 am

tushantin:
1) Please don't paste long outputs here. Use services like http://pastebin.com/ for that.
2) Please provide a statistics - how often the crashes happen for you? Once a hour? Twice a hour?

User avatar
tushantin
Posts: 412
Joined: Sat May 02, 2009 3:38 am
Contact:

Re: Help!

Postby tushantin » Fri Dec 27, 2013 10:18 am

Okay... sorry.

The time-scale is usually random. Sometimes in two hours, sometimes within 15 mins.
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!


Return to “Synfig news discussion”

Who is online

Users browsing this forum: No registered users and 3 guests