<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debian on 只放拖鞋的鞋櫃</title><link>https://jchu.cc/tags/debian/</link><description>Recent content in Debian on 只放拖鞋的鞋櫃</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Sat, 30 Jul 2016 11:34:22 +0800</lastBuildDate><atom:link href="https://jchu.cc/tags/debian/index.xml" rel="self" type="application/rss+xml"/><item><title>Inkscape crashed in Debian testing</title><link>https://jchu.cc/2016/07/30-debian-inkscape.html</link><pubDate>Sat, 30 Jul 2016 11:34:22 +0800</pubDate><guid>https://jchu.cc/2016/07/30-debian-inkscape.html</guid><description>&lt;h1 id="summary"&gt;Summary&lt;a class="anchor" href="#summary"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;這個問題持續發生好長一段時間了：只要同時選擇了兩個以上的物件，Inkscape 就會 crash。問題簡單來說就是中文翻譯的問題，所以用其他語言的人不會遇到。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For debian inkscape 0.91, It only happens in Traditional-Chinese conext&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;You could reproduce this problem by launching inkscape in Traditional-Chinese context. (It won&amp;rsquo;t happen in Simplified-Chinese context. explain later).&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;
&lt;table style="border-spacing:0;padding:0;margin:0;border:0;"&gt;&lt;tr&gt;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;"&gt;
&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%"&gt;
&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ LANGUAGE&lt;span style="color:#f92672"&gt;=&lt;/span&gt;zh_TW.utf8 /usr/bin/inkscape&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Then create any two objects, select all of them. boom!&lt;/p&gt;
&lt;img src="https://jchu.cc/2016/07/30-debian-inkscape/inkscape_crash_in_zh.png" alt="inkscape_crash_in_zh.png" style="max-width: 800px; margin: auto;"&gt;&lt;p&gt;If you only need workaroud for now.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;
&lt;table style="border-spacing:0;padding:0;margin:0;border:0;"&gt;&lt;tr&gt;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;"&gt;
&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%"&gt;
&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ LANGUAGE&lt;span style="color:#f92672"&gt;=&lt;/span&gt;en_US /usr/bin/inkscape&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;img src="https://jchu.cc/2016/07/30-debian-inkscape/inkscape_works_in_eng.png" alt="inkscape_works_in_eng.png" style="max-width: 800px; margin: auto;"&gt;&lt;p&gt;因為困擾我超久的，今天就用 gdb 稍微追一下問題&lt;/p&gt;</description></item></channel></rss>