<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear Rishabh, <br>
<br>
I apology, I did the backtrace command in gdb, and had the exact
same output as you...<br>
<br>
The error comes from this code:<tt><br>
<br>
</tt><tt> //We need to set fixed widths initially, just until the
main window has been properly laid out. As soon as this has</tt><tt><br>
</tt><tt> //happened, we will unlock these sizes again so that
the elements can be resized by the user.</tt><tt><br>
</tt><tt> const int mins[3] = {
m_browserDock.data()->minimumWidth(),
m_contextDock.data()->minimumWidth(),
m_playlistDock.data()->minimumWidth() };</tt><tt><br>
</tt><tt> const int maxs[3] = {
m_browserDock.data()->maximumWidth(),
m_contextDock.data()->maximumWidth(),
m_playlistDock.data()->maximumWidth() };</tt><tt><br>
</tt><tt><br>
</tt><tt> m_browserDock.data()->setFixedWidth( widgetWidth *
0.65 );</tt><tt><br>
</tt><tt> m_contextDock.data()->setFixedWidth( widgetWidth *
1.7 + leftover );</tt><tt><br>
</tt><tt> m_playlistDock.data()->setFixedWidth( widgetWidth *
0.65 );</tt><tt><br>
</tt><tt><br>
</tt><tt> // Important: We need to activate the layout we have
just set</tt><tt><br>
</tt><tt> layout()->activate();</tt><tt><br>
</tt><tt><br>
</tt><tt> m_browserDock.data()->setMinimumWidth( mins[0] );
m_browserDock.data()->setMaximumWidth( maxs[0] );</tt><tt><br>
</tt><tt> m_contextDock.data()->setMinimumWidth( mins[1] );
m_contextDock.data()->setMaximumWidth( maxs[1] );</tt><tt><br>
</tt><tt> m_playlistDock.data()->setMinimumWidth( mins[2] );
m_playlistDock.data()->setMaximumWidth( maxs[2] );<br>
<br>
</tt>which uses m_contextDock, from the /src/context folder which is
not compiled... This means that we need to port context to qml first
or comment this part;<br>
<br>
It also means that the different parts of the project are not as
independent as expected.<br>
<br>
Cheers.<br>
Olivier<br>
<br>
<br>
Le 13/09/2015 18:56, Olivier Churlaud a écrit :<br>
<blockquote cite="mid:55F5AAA6.1090800@churlaud.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
Here is my full log :<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://pastebin.com/Z28JJERv">http://pastebin.com/Z28JJERv</a><br>
<br>
I think you didn't apply the diff well....<br>
<br>
<div class="moz-cite-prefix">Le 13/09/2015 18:52, Olivier Churlaud
a écrit :<br>
</div>
<blockquote cite="mid:55F5A9C7.9080506@churlaud.com" type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
Hi Ribash,<br>
<br>
How come the line was missing? Did you apply the diff to the
project ? Didi you use the second one (don't take care of the
1st)<br>
<br>
Your log is very interesting, what debugger do you use? With
gdb, I can't get such a deep description (but I may not know how
to use it well).<br>
<br>
With such a trace, you might be able to find the error, and
correct it.<br>
<br>
If you need any help, do not hesitate,<br>
<br>
Have fun!<br>
Olivier<br>
<br>
Le 13/09/2015 17:34, RISHABH GUPTA a écrit :<br>
<blockquote
cite="mid:CAB9YDnU9geb_OLWq+J5_wgNFKRJDzxyd9RkS4f4HcnrSSK=WyQ@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> >> here's
the output<br>
>> <a moz-do-not-send="true"
href="http://pastebin.com/5StyEUth" rel="noreferrer"
target="_blank">http://pastebin.com/5StyEUth</a><br>
> Huuu.... Wait, it's not possible. My segfault
doesn't happen in<br>
> handleCliArgs() but way after... It means that I
left a bug, that<br>
> works on my system but not yours OR that
something is wrong on your<br>
> side. Please investigate why this happen, I'll do
this on my side too.<br>
<br>
Ok, in the code you have this:<br>
<br>
<br>
QCommandLineParser parser;<br>
parser.addVersionOption();<br>
parser.addHelpOption();<br>
<br>
aboutData.setupCommandLine(&parser);<br>
app.initCliArgs(&parser);<br>
parser.process(app);<br>
aboutData.processCommandLine(&parser);<br>
<br>
so normally, the parser is given in initCliArgs() to
App, and the<br>
options are added here.<br>
<br>
app.handleCliArgs(cwd) should be called after
initCliArgs() (when<br>
continueInit() is called) and m_args should point to
parser: your error<br>
shouldn't be there.. (or I did something wrong in the
code, but I don't<br>
know what)<br>
<br>
So I advise you to check very specifically that every
option is called,<br>
and debug that m_args points well toward the parser
from the main.<br>
<br>
</blockquote>
<div><br>
In my main.cpp app.initcliargs(&parser) was
missing after adding it this is the output<br>
<a moz-do-not-send="true"
href="http://pastebin.com/Ka7cz7rZ">http://pastebin.com/Ka7cz7rZ</a><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> Cheers!<br>
Olivier<br>
<br>
<br>
</blockquote>
<div>thanks,<br>
</div>
<div>rishabh <br>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Amarok-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/amarok-devel">https://mail.kde.org/mailman/listinfo/amarok-devel</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Amarok-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/amarok-devel">https://mail.kde.org/mailman/listinfo/amarok-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>