<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt">Hello everyone!</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;font-family:'Sans Serif';font-size:9pt"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt">I created a local branch to work in my project and did a little coding to see if my paintop </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt">loaded properly. To do it, I recompiled all over again in a clean build to avoid problems with </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt">previous configurations. </span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
<span style="font-family:'Sans Serif';font-size:9pt"><br></span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt">Some of the messages I put </span><span style="font-family:'Sans Serif';font-size:9pt">in the code says that the plugin is loading fine, </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt">but krita crashes when I click the "Create" </span><span style="font-family:'Sans Serif';font-size:9pt">initial screen (the custom document window).</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt">I had this problem previously, without modifying the code, so I believe it's not related with my code.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;font-family:'Sans Serif';font-size:9pt"><span style="font-size:9pt">I pasted some outputs so you could see the messages:</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;font-family:'Sans Serif';font-size:9pt"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt"><a href="http://pastebin.kde.org/504458/">http://pastebin.kde.org/504458/</a> (Kcrash )</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;font-family:'Sans Serif';font-size:9pt"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt"><a href="http://pastebin.kde.org/504476/">http://pastebin.kde.org/504476/</a> (krita exec)</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;font-family:'Sans Serif';font-size:9pt"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt"><a href="http://pastebin.kde.org/504482/">http://pastebin.kde.org/504482/</a> (path config and kbuildsycoca4)</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt"><br></span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
<span style="font-family:'Sans Serif';font-size:9pt">Reading the KCrash report, there is a problem when emitting the signal</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt"><b>resourceChanged</b> in <b>setResource</b>:</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt"><br></span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
</p><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="'Sans Serif'"><span style="font-size:12px">void KoCanvasResourceManager::setResource(int key, const QVariant &value)<br>
</span></font><font face="'Sans Serif'"><span style="font-size:12px">{<br></span></font><font face="'Sans Serif'"><span style="font-size:12px"> qDebug() << "Setting resource. Key : " << key << "Variant :" << value; // I wrote this line<br>
</span></font><font face="'Sans Serif'"><span style="font-size:12px"> d->manager.setResource(key, value);<br></span></font><font face="'Sans Serif'"><span style="font-size:12px"> emit resourceChanged(key, value);<br>
</span></font><font face="'Sans Serif'"><span style="font-size:12px">}</span></font></blockquote><p></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt"><br>
</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt">From the debug message I got this output before the crash:</span></p><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="font-family:'Sans Serif';font-size:9pt">...<br></span><font face="'Sans Serif'"><span style="font-size:12px">libpng warning: Duplicate iCCP chunk<br></span></font><font face="'Sans Serif'"><span style="font-size:12px">libpng warning: Duplicate iCCP chunk<br>
</span></font><font face="'Sans Serif'"><span style="font-size:12px">libpng warning: Duplicate iCCP chunk<br></span></font><font face="'Sans Serif'"><span style="font-size:12px">libpng warning: Duplicate iCCP chunk<br>
</span></font><font face="'Sans Serif'"><span style="font-size:12px">libpng warning: Duplicate iCCP chunk<br></span></font><font face="'Sans Serif'"><span style="font-size:12px">libpng warning: Duplicate iCCP chunk<br>
</span></font><font face="'Sans Serif'"><span style="font-size:12px"><i>Setting resource. Key : 6007 Variant : QVariant(KisPaintOpPresetSP, ) <br></i></span></font><font face="'Sans Serif'"><span style="font-size:12px"><i>Setting resource. Key : 345681743 Variant : QVariant(TextEditingPluginContainer*, ) </i><br>
</span></font><font face="'Sans Serif'"><span style="font-size:12px"><b><i>Setting resource. Key : 2 Variant : QVariant(KoShapeStroke, )</i> </b><br></span></font><font face="'Sans Serif'"><span style="font-size:12px">KCrash: Application 'krita' crashing...<br>
</span></font><font face="'Sans Serif'"><span style="font-size:12px">KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit<br></span></font><font face="'Sans Serif'"><span style="font-size:12px">sock_file=/home/chicao/Projetos/C++/kde4/home/./socket-muladhara/kdeinit4__0<br>
</span></font><font face="'Sans Serif'"><span style="font-size:12px">Warning: connect() failed: : Arquivo ou diretório não encontrado<br></span></font><font face="'Sans Serif'"><span style="font-size:12px">KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly</span></font></blockquote>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"></p><div style="font-family:'Sans Serif';font-size:9pt"><br></div><p></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;font-family:'Sans Serif';font-size:9pt"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="font-family:'Sans Serif';font-size:9pt">Does anyone have a clue what might be the problem and how fix it?</span></p><div><br>
</div>-- <br>____________________________________________________________________________<br>Francisco Fernandes (AKA: Chicao)<br>..........................................................................................<br>
Blog: <a href="http://pedepinico.blogspot.com" target="_blank">http://pedepinico.blogspot.com</a><br>Identi.ca: <a href="http://identi.ca/chicao" target="_blank">http://identi.ca/chicao</a><br>Twitter: <a href="http://twitter.com/__chicao" target="_blank">http://twitter.com/__chicao</a><br>
..........................................................................................<br>"Quem de boa vontade carrega o difícil, também carrega o menos difícil..." Lao Tsé - Tao Te Ching<br>