<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Le 14/09/2015 14:39, RISHABH GUPTA a écrit :<br>
<blockquote
cite="mid:CAB9YDnXAS=LExVHpnA5Yi-CAUGrQiB=nOYy4M2RkDSLqkphQKw@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra">
<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">
This is what you should investigate. ContinueInit is done
on my side.<br>
</blockquote>
<div><br>
So,i reapplied your patch including the latest one.This is
the output <a moz-do-not-send="true"
href="http://pastebin.com/jqAUBiWw">http://pastebin.com/jqAUBiWw</a>
.I can assure that the patch has been applied correctly
,so there's nothing wrong with the code.Do you think this
can be because of missing optional packages.?I remember
that i didn't install liblastfm .<br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
How to correct this: your error is <br>
<div class="de1">
<div class="de1">#0 0x00007ffff3ecc4bc in
K4AboutData::programName() const () from
/usr/lib/x86_64-linux-gnu/libKF5KDELibs4Support.so.5</div>
#1 0x00007ffff6da8627 in Amarok::MediaPlayer2::Identity
(this=0xebeed0) at
/home/rishabh/amaroksrc2/src/amarok/src/dbus/mpris2/MediaPlayer2.cpp:92<br>
<br>
When you go in the Identity() function, your realize that KCmdLine
is used, which was never set!<br>
To access the application name, you should use
pApp->applicationDisplayName() or pApp->applicationName()
depending if the user should see it or not.<br>
<br>
If you do this, I think you can go further to the next error. It's
nevertheless strange that I've never had this error...<br>
<br>
Cheers,<br>
Olivier<br>
</div>
<br>
<blockquote
cite="mid:CAB9YDnXAS=LExVHpnA5Yi-CAUGrQiB=nOYy4M2RkDSLqkphQKw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>
<div>There's no liblastfm package which provides the
"liblastfm5.so" they all are the older packages.I
complied liblastfm from the source(<a
moz-do-not-send="true"
href="https://github.com/lastfm/liblastfm"><a class="moz-txt-link-freetext" href="https://github.com/lastfm/liblastfm">https://github.com/lastfm/liblastfm</a></a>)
,this also didn't provide 'liblastfm5.so'. I am
kubuntu15.04.What system are you on and how did you get
liblastfm5? <br>
<br>
</div>
<div><br>
</div>
<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Did you do make
install?<br>
<br>
</blockquote>
<div>yes.sudo make install -j4<br>
</div>
<div> </div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">> #20
0x00007ffff6e4dfe5 in App::continueInit
(this=0x7fffffffe460) at
/home/rishabh/amaroksrc/src/amarok/src/App.cpp:516<br>
><br>
> just have a look at line 516 of app.cpp. I tried
changing qmessagebox to kmessagebox of KF5 but that didn't
help either.I think this should be sorted before we move
further.Since i have not included your latest diff my
output shows the old errors ,ignore them.<br>
><br>
> <a moz-do-not-send="true"
href="http://pastebin.com/jumc7adz" rel="noreferrer"
target="_blank">http://pastebin.com/jumc7adz</a><br>
><br>
><br>
>><br>
>> Repository: amarok<br>
>><br>
>><br>
>> Description<br>
>> -------<br>
>><br>
>> Port of main.cpp and App<br>
>><br>
>> It compiles 100%, and there is a segmentation
fault after the end of the App::continueInit().<br>
>> I'm not able to trace it further.<br>
>><br>
>> Please help me to port well the main + App class
so that the play, pause (and so one) commands are well
read and to deal correctly with the unique/multiple
instance.<br>
>><br>
>><br>
>> Diffs (updated)<br>
>> -----<br>
>><br>
>> src/App.h 2089981<br>
>> src/App.cpp 6028bc8<br>
>> src/CMakeLists.txt afeef4a<br>
>> src/MainWindow.cpp d3bbc0b<br>
>> src/PluginManager.cpp a9a1c47<br>
>> src/TrayIcon.cpp be25497<br>
>>
src/aboutdialog/libattica-ocsclient/activitylistjob.cpp
77044cf<br>
>>
src/aboutdialog/libattica-ocsclient/categorylistjob.cpp
427011e<br>
>>
src/aboutdialog/libattica-ocsclient/contentjob.cpp
c307e07<br>
>>
src/aboutdialog/libattica-ocsclient/contentlistjob.cpp
d371db4<br>
>>
src/aboutdialog/libattica-ocsclient/folderlistjob.cpp
dc2c137<br>
>>
src/aboutdialog/libattica-ocsclient/knowledgebasejob.cpp
f678b56<br>
>>
src/aboutdialog/libattica-ocsclient/knowledgebaselistjob.cpp
a7d6b95<br>
>>
src/aboutdialog/libattica-ocsclient/messagelistjob.cpp
372412d<br>
>>
src/aboutdialog/libattica-ocsclient/personjob.cpp 455178c<br>
>>
src/aboutdialog/libattica-ocsclient/personlistjob.cpp
005542b<br>
>> src/aboutdialog/libattica-ocsclient/postjob.cpp
cce72a3<br>
>> src/amarok.desktop 433c757<br>
>> src/browsers/filebrowser/FileBrowser.cpp
3d40d9b<br>
>> src/configdialog/dialogs/ScriptsConfig.cpp
bbec667<br>
>> src/context/engines/songkick/SongkickEngine.cpp
2291719<br>
>>
src/core-impl/collections/db/sql/SqlCollectionLocation.cpp
fe6bafd<br>
>> src/core/podcasts/PodcastReader.cpp 409fc62<br>
>> src/core/support/Components.cpp 9f97eb6<br>
>> src/main.cpp 385e047<br>
>> src/org.kde.amarok.desktop PRE-CREATION<br>
>> src/scanner/AbstractDirectoryWatcher.cpp
168c68a<br>
>> src/scanner/GenericScanManager.cpp 75a22cc<br>
>> src/scanner/GenericScannerJob.cpp a4558fd<br>
>> src/scripting/scriptmanager/ScriptManager.cpp
bb62be1<br>
>> src/services/ServiceAlbumCoverDownloader.cpp
d499f62<br>
>> src/services/lastfm/biases/WeeklyTopBias.cpp
a12f9f7<br>
>>
src/services/magnatune/MagnatuneAlbumDownloader.cpp
5fc6584<br>
>>
src/services/mp3tunes/Mp3tunesServiceQueryMaker.cpp
0c5913a<br>
>>
src/services/opmldirectory/OpmlDirectoryInfoParser.cpp
f6ac752<br>
>><br>
>> Diff: <a moz-do-not-send="true"
href="https://git.reviewboard.kde.org/r/125126/diff/"
rel="noreferrer" target="_blank">https://git.reviewboard.kde.org/r/125126/diff/</a><br>
>><br>
>><br>
>> Testing<br>
>> -------<br>
>><br>
>> It compiles 100%, and there is a segmentation
fault after the end of the App::continueInit().<br>
>><br>
>> I'm not able to trace it further.<br>
>><br>
>><br>
>> Thanks,<br>
>><br>
>> Olivier Churlaud<br>
> thanks,<br>
> rishabh<br>
> _______________________________________________<br>
> Amarok-devel mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a><br>
> <a moz-do-not-send="true"
href="https://mail.kde.org/mailman/listinfo/amarok-devel"
rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/amarok-devel</a><br>
</blockquote>
</div>
</div>
</div>
<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>