Bug 313881

Summary: Homerun segfaults on load - ppa package 0.2.0~git20130124+r508-24~quantal1
Product: [Unmaintained] homerun Reporter: Adam Lyall <magicmyth>
Component: appletAssignee: Homerun bugs. <homerun-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: agateau, bribert10, cjcanhoto, crawling, igvfk, jr, madsheytan, pietruszka23, poker98face
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Adam Lyall 2013-01-25 12:52:36 UTC
After the latest package upgrade today from the launchpad ppa homerun crashes every time it is launched.  Package I am using is 0.2.0~git20130124+r508-24~quantal1

I've restarted my system since and the problem persists.

Reproducible: Always




Backtrace from Developer information on konqi:

Application: Homerun (homerunviewer), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb2a2754780 (LWP 4521))]

Thread 2 (Thread 0x7fb288674700 (LWP 4522)):
#0  0x00007fb298bdfd84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fb29b954cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fb29b954d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fb298bdbe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fb29f419cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb2a2754780 (LWP 4521)):
[KCrash Handler]
#5  QObject::setProperty (this=0x0, name=0x4095ba "leftMargin", value=...) at kernel/qobject.cpp:3689
#6  0x00000000004068cd in FullView::setupBackground (this=0x7fff9ad59bb0) at /build/buildd/homerun-0.2.0~git20130124+r508/shell/fullview.cpp:111
#7  0x000000000040673a in FullView::FullView (this=0x7fff9ad59bb0) at /build/buildd/homerun-0.2.0~git20130124+r508/shell/fullview.cpp:96
#8  0x0000000000408c7f in main (argc=3, argv=0x7fff9ad59ce8) at /build/buildd/homerun-0.2.0~git20130124+r508/shell/main.cpp:67
Comment 1 igvfk 2013-01-25 15:37:10 UTC
*** Bug 313884 has been marked as a duplicate of this bug. ***
Comment 2 Aurelien Gateau 2013-01-25 17:24:09 UTC
Looks like the QML code failed to load. I just pushed a new version which should make it easier to know why, but it would be great if you could try to run "homerunviewer" from the console and paste the console output.
Comment 3 Adam Lyall 2013-01-25 17:30:18 UTC
Hi Aurelien

I'm not sure if you ment for me to run the update you just pushed first and get the console output but here is the output from the console of the broken version I reported:
$ homerunviewer
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
file:///usr/share/kde4/apps/plasma/plasmoids/org.kde.homerun/contents/ui/main.qml:171:5: Type HomerunFixes/TextField unavailable 
         HomerunFixes.TextField { 
         ^ 
file:///usr/lib/kde4/imports/org/kde/homerun/fixes/TextField.qml:363:5: PlasmaCore.IconItem is not a type 
         PlasmaCore.IconItem { 
         ^ 
QObject::connect: Cannot connect (null)::closeRequested() to FullView::hide()
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
KCrash: Application 'homerunviewer' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/magicmyth/.kde/socket-MM-THINK/kdeinit4__0
unnamed app(10225): Communication problem with  "homerun" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "
Comment 4 Adam Lyall 2013-01-25 19:22:31 UTC
Just updated to 0.2.0~git20130125+r510-24~quantal1. Still crashes and the output of homerunviewer was the same. Anything else you want to test let me know and I'll see what I can do. I thought I'd have a go at compiling and see if I could do my first bit of bisecting but cmake is complaining that I need  at least KDE 4.9.97. Is it still possible to build against KDE 4.9?
Comment 5 Adam Lyall 2013-01-25 19:35:04 UTC
I managed to compile from git. It breaks with commit 53d3559367dbe355d42750e8f1577ab18c58d046. The previous commit (a7765db) works.
Comment 6 Aurelien Gateau 2013-01-25 23:57:20 UTC
I bumped the minimum version of kdelibs to 4.10 (actually 4.9.97 for now): which means code from homerun master won't work on Quantal anymore until you install the 4.10 backports. Something needs to be done to ensure the PPA requires the backports.

The 0.1 branch, on the other hand will continue to require 4.8 minimum, so it should continue to work on Quantal. I need to get a PPA for it.

This is a packaging issue, closing it as downstream.
Comment 7 Piotr 2013-01-25 23:59:46 UTC
Created attachment 76726 [details]
New crash information added by DrKonqi

homerunviewer (0.2.0git) on KDE Platform 4.9.4 using Qt 4.8.3

Each time I start homerun it crashes at start-up. Ditro: Netrunner 12.12 64-bit.

-- Backtrace (Reduced):
#5  QObject::setProperty (this=0x0, name=0x40969a "leftMargin", value=...) at kernel/qobject.cpp:3689
#6  0x000000000040698d in FullView::setupBackground (this=0x7fff32fedf40) at /build/buildd/homerun-0.2.0~git20130125+r510/shell/fullview.cpp:111
#7  0x00000000004067fa in FullView::FullView (this=0x7fff32fedf40) at /build/buildd/homerun-0.2.0~git20130125+r510/shell/fullview.cpp:96
#8  0x0000000000408d5f in main (argc=3, argv=0x7fff32fee078) at /build/buildd/homerun-0.2.0~git20130125+r510/shell/main.cpp:67
Comment 8 Aurelien Gateau 2013-01-28 16:03:07 UTC
*** Bug 313931 has been marked as a duplicate of this bug. ***
Comment 9 Aurelien Gateau 2013-01-28 16:03:26 UTC
*** Bug 313957 has been marked as a duplicate of this bug. ***
Comment 10 Aurelien Gateau 2013-01-28 16:03:49 UTC
*** Bug 313967 has been marked as a duplicate of this bug. ***
Comment 11 Aurelien Gateau 2013-01-28 16:04:17 UTC
*** Bug 313970 has been marked as a duplicate of this bug. ***
Comment 12 Aurelien Gateau 2013-01-28 16:04:49 UTC
*** Bug 314007 has been marked as a duplicate of this bug. ***
Comment 13 Piotr 2013-01-28 17:34:27 UTC
After the latest update Homerun works fine.
Architecture: i386                                                                                                                                                               
Version: 0.1.2~git20130128+r498-26~quantal1
Kernel: Linux 3.5.0-22-generic i686
KDE: 4.9.4
Comment 14 Aurelien Gateau 2013-01-28 18:34:21 UTC
The PPA has been updated: 0.2.0 is only available for Raring now. Quantal users of the PPA now get packages built from the 0.1 branch (what will become 0.1.2). Packages for amd64 are still building as I type this. You can monitor this page to check the build status: https://launchpad.net/~blue-shell/+archive/homerun/+sourcepub/2952059/+listing-archive-extra

If you already have a package whose version is 0.2.0~git<something>, apt won't install the 0.1.0 package because it is going to consider the installed one as newer. You will need to either:

sudo apt-get update
sudo apt-get remove homerun libhomerun0
sudo apt-get install homerun

or:

sudo apt-get update
sudo apt-get install  \
    homerun=0.1.2~git20130128+r498-26~quantal1 \
    libhomerun0=0.1.2~git20130128+r498-26~quantal1

This last method should force apt to ignore the fact that there is a newer version installed and let you install the latest version available for Quantal.
Comment 15 Adam Lyall 2013-01-29 08:17:18 UTC
Thanks for the package update. BTW the 0.2 package worked fine with the kubuntu-beta ppa KDE 4.10-rc3 (as expected). I don't know if you would consider still keeping the 0.2 packages available for Quantal by having it depend on kde package versions >= 4.10 (or whatever the real number is. 4.98??) and conflict with homerun-1? Probably not worth the hassle though as the raring packages probably have a good chance of working with Quantal and KDE 4.10 from PPA. My other system has KDE 4.10rc3 so when I get on it later tonight I'll test the package from Raring and let you all know if that works OK.

Thanks for all the help Aurelien.
Comment 16 Aurelien Gateau 2013-01-31 13:06:09 UTC
*** Bug 313942 has been marked as a duplicate of this bug. ***