This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Uninstall before upgrade?

Tags: None
(comma "," separated)
LarrxX
Karma
0

Uninstall before upgrade?

Mon Jan 16, 2006 4:51 pm
Hello all,

I have amarok1.3.3 compiled from sources (using konstruct) installed on my system. I tried compiling 1.3.8 to be really up to date, but whenever I start it I get a segfault. So I reinstalled 1.3.3 and everything works fine. My qyestion is do I have to uninstall 1.3.3 before installing 1.3.8 (and if yes, how?)? If not what might be the problem?
Of course if you need more techincal details I\'ll be happy to poste them.

Thanks.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re:Uninstall before upgrade?

Mon Jan 16, 2006 4:57 pm
No, when you compiled from source you don\'t normally have to uninstall.

You could provide some more information: Rebuild 1.3.8 with --enable-debug=full. Then you start it from gdb:
\"gdb amarokapp\"
then:
\"run\"
..wait for crash
\"bt\"

and then you paste the output here.


--
Mark Kretschmann - Amarok Developer
LarrxX
Karma
0

Re:Uninstall before upgrade?

Mon Jan 16, 2006 5:18 pm
Here it is (I was kinda expecting something a little bit more spectacular :) ):

#0 0x01d0dd59 in sched_setaffinity@@GLIBC_2.3.4 () from /lib/libc.so.6
#1 0x08092f9c in App::fixHyperThreading() (this=0xbffe9a50) at app.cpp:412
#2 0x08090b66 in App (this=0xbffe9a50) at app.cpp:108
#3 0x081e051d in main (argc=1, argv=0xbffe9bd4) at main.cpp:88

And, if it helps, the configure script options I used are:
./configure --prefix=`kde-config --prefix` --enable-debug=full --disable-dependency-tracking --with-qt-dir=`echo $QTDIR` --without-gstreamer --with-extra-libs=/somewhere/usr/lib --with-extra-includes=/somewhere/usr/include

I don\'t know why but I couldn\'t get GStreamer to work on my machine, hence the --without-gstreamer option.

My machine is running a Fedora Core 1 with the 2.4.22-1.2199 kernel and I\'m compiling using gcc 3.3.2. I don\'t think this helps much, but who knows?

Thanks markey, or anyone else who can help

Gotta get going now, I\'ll see you tomorrow.
LarrxX
Karma
0

Re:Uninstall before upgrade?

Tue Jan 17, 2006 10:19 am
No idea? Anyone?
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re:Uninstall before upgrade?

Tue Jan 17, 2006 10:48 am
Well yes, but no solution. Your glibc is badly broken, it crashes on the sched_setaffinity() call. Complain to Fedora.

You could remove the line FixHyperThreading() at the top of app.cpp, that would get around the crash. But if you have a P4 with HyperThreading enabled, then you\'ll probably have to put up with a very flaky amaroK.


--
Mark Kretschmann - Amarok Developer
LarrxX
Karma
0

Re:Uninstall before upgrade?

Tue Jan 17, 2006 12:44 pm
Thanks markey. I commented out the fixHyperThreading() line and amaroK seems to be working fine. My machine actually has 2 P4 CPUs, but no hyperthreading on any of them. Don\'t know if this information is relevant to the problem.

Thanks again.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell