kf5port(olivier)
Olivier Churlaud
olivier at churlaud.com
Mon Sep 14 12:55:30 UTC 2015
Le 14/09/2015 14:39, RISHABH GUPTA a écrit :
>
> This is what you should investigate. ContinueInit is done on my side.
>
>
> So,i reapplied your patch including the latest one.This is the output
> http://pastebin.com/jqAUBiWw .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 .
>
How to correct this: your error is
#0 0x00007ffff3ecc4bc in K4AboutData::programName() const () from
/usr/lib/x86_64-linux-gnu/libKF5KDELibs4Support.so.5
#1 0x00007ffff6da8627 in Amarok::MediaPlayer2::Identity (this=0xebeed0)
at /home/rishabh/amaroksrc2/src/amarok/src/dbus/mpris2/MediaPlayer2.cpp:92
When you go in the Identity() function, your realize that KCmdLine is
used, which was never set!
To access the application name, you should use
pApp->applicationDisplayName() or pApp->applicationName() depending if
the user should see it or not.
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...
Cheers,
Olivier
> There's no liblastfm package which provides the "liblastfm5.so" they
> all are the older packages.I complied liblastfm from the
> source(https://github.com/lastfm/liblastfm) ,this also didn't provide
> 'liblastfm5.so'. I am kubuntu15.04.What system are you on and how did
> you get liblastfm5?
>
>
>
>
> Did you do make install?
>
> yes.sudo make install -j4
>
> > #20 0x00007ffff6e4dfe5 in App::continueInit
> (this=0x7fffffffe460) at
> /home/rishabh/amaroksrc/src/amarok/src/App.cpp:516
> >
> > 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.
> >
> > http://pastebin.com/jumc7adz
> >
> >
> >>
> >> Repository: amarok
> >>
> >>
> >> Description
> >> -------
> >>
> >> Port of main.cpp and App
> >>
> >> It compiles 100%, and there is a segmentation fault after the
> end of the App::continueInit().
> >> I'm not able to trace it further.
> >>
> >> 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.
> >>
> >>
> >> Diffs (updated)
> >> -----
> >>
> >> src/App.h 2089981
> >> src/App.cpp 6028bc8
> >> src/CMakeLists.txt afeef4a
> >> src/MainWindow.cpp d3bbc0b
> >> src/PluginManager.cpp a9a1c47
> >> src/TrayIcon.cpp be25497
> >> src/aboutdialog/libattica-ocsclient/activitylistjob.cpp 77044cf
> >> src/aboutdialog/libattica-ocsclient/categorylistjob.cpp 427011e
> >> src/aboutdialog/libattica-ocsclient/contentjob.cpp c307e07
> >> src/aboutdialog/libattica-ocsclient/contentlistjob.cpp d371db4
> >> src/aboutdialog/libattica-ocsclient/folderlistjob.cpp dc2c137
> >> src/aboutdialog/libattica-ocsclient/knowledgebasejob.cpp f678b56
> >> src/aboutdialog/libattica-ocsclient/knowledgebaselistjob.cpp
> a7d6b95
> >> src/aboutdialog/libattica-ocsclient/messagelistjob.cpp 372412d
> >> src/aboutdialog/libattica-ocsclient/personjob.cpp 455178c
> >> src/aboutdialog/libattica-ocsclient/personlistjob.cpp 005542b
> >> src/aboutdialog/libattica-ocsclient/postjob.cpp cce72a3
> >> src/amarok.desktop 433c757
> >> src/browsers/filebrowser/FileBrowser.cpp 3d40d9b
> >> src/configdialog/dialogs/ScriptsConfig.cpp bbec667
> >> src/context/engines/songkick/SongkickEngine.cpp 2291719
> >> src/core-impl/collections/db/sql/SqlCollectionLocation.cpp fe6bafd
> >> src/core/podcasts/PodcastReader.cpp 409fc62
> >> src/core/support/Components.cpp 9f97eb6
> >> src/main.cpp 385e047
> >> src/org.kde.amarok.desktop PRE-CREATION
> >> src/scanner/AbstractDirectoryWatcher.cpp 168c68a
> >> src/scanner/GenericScanManager.cpp 75a22cc
> >> src/scanner/GenericScannerJob.cpp a4558fd
> >> src/scripting/scriptmanager/ScriptManager.cpp bb62be1
> >> src/services/ServiceAlbumCoverDownloader.cpp d499f62
> >> src/services/lastfm/biases/WeeklyTopBias.cpp a12f9f7
> >> src/services/magnatune/MagnatuneAlbumDownloader.cpp 5fc6584
> >> src/services/mp3tunes/Mp3tunesServiceQueryMaker.cpp 0c5913a
> >> src/services/opmldirectory/OpmlDirectoryInfoParser.cpp f6ac752
> >>
> >> Diff: https://git.reviewboard.kde.org/r/125126/diff/
> >>
> >>
> >> Testing
> >> -------
> >>
> >> It compiles 100%, and there is a segmentation fault after the
> end of the App::continueInit().
> >>
> >> I'm not able to trace it further.
> >>
> >>
> >> Thanks,
> >>
> >> Olivier Churlaud
> > thanks,
> > rishabh
> > _______________________________________________
> > Amarok-devel mailing list
> > Amarok-devel at kde.org <mailto:Amarok-devel at kde.org>
> > https://mail.kde.org/mailman/listinfo/amarok-devel
>
>
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20150914/e792e7b3/attachment-0001.html>
More information about the Amarok-devel
mailing list