# synfig crashes when adding orientation-line

**URL:** <https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758>\
**Category:** Debugging\
**Created:** [February 2, 2016, 6:47pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758 "2016-02-02T18:47:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leris](https://forums.synfig.org/letter_avatar_proxy/v4/letter/l/c4cdca/32.png) [@Leris](https://forums.synfig.org/u/Leris)\
**Post date:** [February 2, 2016, 6:47pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/1 "2016-02-02T18:47:49Z")

</div>

Hey guys,

I got a strange bug, where synfig crashes everytime I add a line for orientation. When I click the line then to try and drag it to the correct location, synfig will crash. Tried it a couple times, but always the same.

- open new project
- click somewhere in the ruler
- an orientation line will appear
- click the line
- synfig crashes, needs to restart

This is very unfortunate, because I can’t use orientation-lines at all now. Any workaround?

---

<div class="post-metadata">

**Author:** ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)\
**Post date:** [February 3, 2016, 10:02am UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/2 "2016-02-03T10:02:20Z")

</div>

Hi,  
this bug has been already reported  
[Bug report #796 - clicking to place guide lines crashes Synfig Studio (windows 32bit)](http://www.synfig.org/issues/thebuggenie/synfig/issues/796)  
[Bug report #856 - Guide, can’t remove dragging them back onto the canvas window rulers](http://www.synfig.org/issues/thebuggenie/synfig/issues/856)  
[Bug report #805 - On Mac OS X, dragging a guide from the ruler crashes Synfig Studio 1.0-RC1.](http://www.synfig.org/issues/thebuggenie/synfig/issues/805)

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 3, 2016, 11:51am UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/3 "2016-02-03T11:51:03Z")

</div>

> [@Leris](#):
>
> Any workaround?

Yes !!! from the [metadata](http://wiki.synfig.org/Canvas_MetaData_Panel) panel you can set the Guides location .

The units there is “synfig units” (1 synfig unit == 60pixels) 0.5su = 30pixels , 2su = 120pixels.

> [@BobSynfig](#):
>
> Bug report #856 - Guide, can’t remove dragging them back onto the canvas window rulers

… oups … it was supposed to be resolved … but not…!

---

<div class="post-metadata">

**Author:** ![Darkspace\_be](https://forums.synfig.org/user_avatar/forums.synfig.org/darkspace_be/32/71_2.png) [@Darkspace\_be](https://forums.synfig.org/u/Darkspace_be)\
**Post date:** [February 3, 2016, 12:00pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/4 "2016-02-03T12:00:11Z")

</div>

Hi!  
I just draw straight horizontal and vertical 1pt outlines with the spline tool and use those as guides… 😃  
Greetz!

---

<div class="post-metadata">

**Author:** ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)\
**Post date:** [February 3, 2016, 2:34pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/5 "2016-02-03T14:34:23Z")

</div>

As far I can see, with the latest dev versions

- it is crashing under Windows (8.1 x64) for both Synfig 32 & 64bit
- all is ok under Linux (Ubuntu 14.04 64bits), with multiple guides and drag

---

<div class="post-metadata">

**Author:** ![Leris](https://forums.synfig.org/letter_avatar_proxy/v4/letter/l/c4cdca/32.png) [@Leris](https://forums.synfig.org/u/Leris)\
**Post date:** [February 3, 2016, 8:15pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/6 "2016-02-03T20:15:44Z")

</div>

Not sure if the bug reports fit 100% because they talk about instant-crash when dragging the ruler. It is similar, but for me I just clicked the ruler, not drag, so Synfig did not crash instead showed the guide line. Only when I click the guide line, crash happens. Still, I tried dragging the ruler and it also crashed. Both problems are very unforunate. I have commented bug #805

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 4, 2016, 9:02am UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/7 "2016-02-04T09:02:44Z")

</div>

> [@Leris](#):
>
> I have commented bug #805

Thanks…

I know it’s a shame … but i do’nt have that kind of OS … Is it possible someone publish traces of the bug like the one published in the first message of the 805 bug report. I’m mainly interrested in [call stack](https://en.wikipedia.org/wiki/Call_stack)

> [@Leris](#):
>
> When I click the guide line to drag it elsewhere, Synfig will crash

Does that crash when you click ? drag ? or release ? or both ?

---

<div class="post-metadata">

**Author:** ![Leris](https://forums.synfig.org/letter_avatar_proxy/v4/letter/l/c4cdca/32.png) [@Leris](https://forums.synfig.org/u/Leris)\
**Post date:** [February 4, 2016, 7:59pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/8 "2016-02-04T19:59:48Z")

</div>

Don’t worry, I am a bit ashamed that I DO have that kind of OS. However I’d be glad to provide any additional information, but I am not sure how to see and copy the call stack that you are interested in. Is it in some kind of log file? Let me know how I can access it, then I will gladly post it here.

Synfig crashes when I click the guide line (mouse button release, not yet on press) Actually drag works, I never tried it, but again when I release the mouse button, crash. Also, when I drag the ruler (before release)

---

<div class="post-metadata">

**Author:** ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)\
**Post date:** [February 5, 2016, 11:06am UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/9 "2016-02-05T11:06:40Z")

</div>

The same under windows

---

<div class="post-metadata">

**Author:** ![Leris](https://forums.synfig.org/letter_avatar_proxy/v4/letter/l/c4cdca/32.png) [@Leris](https://forums.synfig.org/u/Leris)\
**Post date:** [February 5, 2016, 5:40pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/10 "2016-02-05T17:40:55Z")

</div>

Was that an answer to my question on how to get the call stack? Sorry I was somehow confused.

---

<div class="post-metadata">

**Author:** ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)\
**Post date:** [February 5, 2016, 8:15pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/11 "2016-02-05T20:15:03Z")

</div>

= Same origins of crash on Windows  
GIYF 😉  
[support.serato.com/hc/en-us/art … n-Mac-OS-X](https://support.serato.com/hc/en-us/articles/202311074-How-to-get-a-Crash-Log-file-in-Mac-OS-X)  
[en.wikipedia.org/wiki/Crash\_Reporter\_(OS\_X](https://en.wikipedia.org/wiki/Crash_Reporter_(OS_X))

---

<div class="post-metadata">

**Author:** ![Leris](https://forums.synfig.org/letter_avatar_proxy/v4/letter/l/c4cdca/32.png) [@Leris](https://forums.synfig.org/u/Leris)\
**Post date:** [February 6, 2016, 7:45am UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/12 "2016-02-06T07:45:38Z")

</div>

Ah okay, you see I was describing for Windows 8.1 myself 😃 I don’t have OS X or Linux here.

edit: I am not sure how to get the call stack, I thought this was only possible for developers, not for users of software. I clicked around and figured out, the program is written in C++, so I will click more to find a crash analysis tool for that. Let’s see if a mere user can help somehow after all.

---

<div class="post-metadata">

**Author:** ![Leris](https://forums.synfig.org/letter_avatar_proxy/v4/letter/l/c4cdca/32.png) [@Leris](https://forums.synfig.org/u/Leris)\
**Post date:** [February 6, 2016, 6:48pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/13 "2016-02-06T18:48:26Z")

</div>

OK so I found some things in the Windows [Event Log](https://msdn.microsoft.com/en-us/library/windows/desktop/aa385780%28v=vs.85%29.aspx), namely a message for every time Synfig crashed, with a lot or some detalis at least, not as many as that guy in the bug report showed, but here goes nothing:

Crash when clicking (releasing) guide-line:

`
Protokollname: Application
Quelle: Application Error
Datum: 06.02.2016 19:36:14
Ereignis-ID: 1000
Aufgabenkategorie:(100)
Ebene: Fehler
Schlüsselwörter:Klassisch
Benutzer: Nicht zutreffend
Computer: CountFluffy
Beschreibung:
Name der fehlerhaften Anwendung: synfigstudio.exe, Version: 0.0.0.0, Zeitstempel: 0x56168fce
Name des fehlerhaften Moduls: synfigstudio.exe, Version: 0.0.0.0, Zeitstempel: 0x56168fce
Ausnahmecode: 0xc0000005
Fehleroffset: 0x0000000000335e7c
ID des fehlerhaften Prozesses: 0x1038
Startzeit der fehlerhaften Anwendung: 0x01d1610d29c849f2
Pfad der fehlerhaften Anwendung: C:\Program Files\Synfig\bin\synfigstudio.exe
Pfad des fehlerhaften Moduls: C:\Program Files\Synfig\bin\synfigstudio.exe
Berichtskennung: 802d3827-cd00-11e5-be95-74d435557a28
Vollständiger Name des fehlerhaften Pakets: 
Anwendungs-ID, die relativ zum fehlerhaften Paket ist: 
Ereignis-XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-02-06T18:36:14.000000000Z" />
    <EventRecordID>36632</EventRecordID>
    <Channel>Application</Channel>
    <Computer>CountFluffy</Computer>
    <Security />
  </System>
  <EventData>
    <Data>synfigstudio.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>56168fce</Data>
    <Data>synfigstudio.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>56168fce</Data>
    <Data>c0000005</Data>
    <Data>0000000000335e7c</Data>
    <Data>1038</Data>
    <Data>01d1610d29c849f2</Data>
    <Data>C:\Program Files\Synfig\bin\synfigstudio.exe</Data>
    <Data>C:\Program Files\Synfig\bin\synfigstudio.exe</Data>
    <Data>802d3827-cd00-11e5-be95-74d435557a28</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>`

Crash when dragging ruler:

`Protokollname: Application
Quelle: Application Error
Datum: 06.02.2016 19:40:18
Ereignis-ID: 1000
Aufgabenkategorie:(100)
Ebene: Fehler
Schlüsselwörter:Klassisch
Benutzer: Nicht zutreffend
Computer: CountFluffy
Beschreibung:
Name der fehlerhaften Anwendung: synfigstudio.exe, Version: 0.0.0.0, Zeitstempel: 0x56168fce
Name des fehlerhaften Moduls: synfigstudio.exe, Version: 0.0.0.0, Zeitstempel: 0x56168fce
Ausnahmecode: 0xc0000005
Fehleroffset: 0x0000000000338450
ID des fehlerhaften Prozesses: 0x25c
Startzeit der fehlerhaften Anwendung: 0x01d1610dd1b991c8
Pfad der fehlerhaften Anwendung: C:\Program Files\Synfig\bin\synfigstudio.exe
Pfad des fehlerhaften Moduls: C:\Program Files\Synfig\bin\synfigstudio.exe
Berichtskennung: 114e0285-cd01-11e5-be95-74d435557a28
Vollständiger Name des fehlerhaften Pakets: 
Anwendungs-ID, die relativ zum fehlerhaften Paket ist: 
Ereignis-XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-02-06T18:40:18.000000000Z" />
    <EventRecordID>36634</EventRecordID>
    <Channel>Application</Channel>
    <Computer>CountFluffy</Computer>
    <Security />
  </System>
  <EventData>
    <Data>synfigstudio.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>56168fce</Data>
    <Data>synfigstudio.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>56168fce</Data>
    <Data>c0000005</Data>
    <Data>0000000000338450</Data>
    <Data>25c</Data>
    <Data>01d1610dd1b991c8</Data>
    <Data>C:\Program Files\Synfig\bin\synfigstudio.exe</Data>
    <Data>C:\Program Files\Synfig\bin\synfigstudio.exe</Data>
    <Data>114e0285-cd01-11e5-be95-74d435557a28</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>`

Sorry its German. Not sure if you can add more information to that report, that is all I saw. Maybe you as the C++ developer need to tell Windows what to include there? That’s the spirit I got from the link above. What else was weird: Usually when a program crashes, Windows asks me if they should send the report to Microsoft. But when your program crashes, that window is a bit different, does not ask that question, simply collects some data and figures out that the problem could not be solved, the program needs to be closed, and I will be informed if any news arrive… ?! 🙂

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 8, 2016, 7:41pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/14 "2016-02-08T19:41:45Z")

</div>

> [@Leris](#):
>
> OK so I found some things in the Windows

… What you have sent does’nt really help , but thanks for trying…! It’s a task for someone who can build synfig from windows.

From my side i have tried to solve the problem blindly

---

<div class="post-metadata">

**Author:** ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)\
**Post date:** [February 8, 2016, 9:40pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/15 "2016-02-08T21:40:22Z")

</div>

Présent Chef !  
You know where to contact me 😉  
 ![SigSev.png](https://forums.synfig.org/uploads/default/original/2X/5/5ed5c6e268bd2715dc45d18c944fd91341fc51cf.png)

 ![HRuler.png](https://forums.synfig.org/uploads/default/original/2X/d/dc7ab3d46138555dcd660d59d0a9ae5ef667ec3c.png)  
 ![VRuler.png](https://forums.synfig.org/uploads/default/original/2X/3/3478e1699ae8fed49ac197edac823e946b03591d.png)

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 9, 2016, 10:31am UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/16 "2016-02-09T10:31:13Z")

</div>

> [@BobSynfig](#):
>
> Présent Chef ! You know where to contact m

Well done … i din’t have fixed there ☹ … if you can test the fix i will send you a git branch path soon. Merci bro’

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 9, 2016, 12:58pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/17 "2016-02-09T12:58:55Z")

</div>

> [@BobSynfig](#):
>
> Présent Chef !  
> You know where to contact me

Yop, if you can test [this branch](https://github.com/d-j-a-y/synfig/tree/djay_fix_guide_rulers_crash) . Guide crash may have been fixed.

---

<div class="post-metadata">

**Author:** ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)\
**Post date:** [February 9, 2016, 4:54pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/18 "2016-02-09T16:54:19Z")

</div>

EDIT: My bad, everything works fine, all the guide work properly, from ruler or directly in drawing area  
My build output was done in a wrong directory 😊  
Thanks Jérôme you did it 😃

Original erroneous message  
[size=85]Still Crashing.  
It seems it emits a GDK\_BUTTON\_RELEASE just under the modified line when moving around in the ruler WHILE keeping the button pressed.  
In case of button release while the guide is already in drawingarea, it crashes too [double y(event-\>button.y),x(event-\>button.x); around line 2120][/size]

---

<div class="post-metadata">

**Author:** ![d.j.a.y](https://forums.synfig.org/user_avatar/forums.synfig.org/d.j.a.y/32/113_2.png) [@d.j.a.y](https://forums.synfig.org/u/d.j.a.y)\
**Post date:** [February 9, 2016, 11:59pm UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/19 "2016-02-09T23:59:54Z")

</div>

> [@BobSynfig](#):
>
> EDIT: My bad, everything works fine,

Oh what a fresh news, i was about to be look at incredible way of solve it 😮 … soon in next 1.0.x branch or dev build.

---

<div class="post-metadata">

**Author:** ![Leris](https://forums.synfig.org/letter_avatar_proxy/v4/letter/l/c4cdca/32.png) [@Leris](https://forums.synfig.org/u/Leris)\
**Post date:** [March 19, 2016, 12:10am UTC](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758/20 "2016-03-19T00:10:46Z")

</div>

Sounds teriffic! ![:mrgreen:](https://forums.synfig.org/uploads/default/original/1X/15680453330e74f929b585a237613f0bdf61e069.gif "Mr. Green") How often are these improvements updated to [synfig.org/cms/en/download](http://www.synfig.org/cms/en/download) ?

[Next page](https://forums.synfig.org/t/synfig-crashes-when-adding-orientation-line/3758.md?page=2)
