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

unknown error after upgrading to 2.2.2 from 2.1.4

Tags: None
(comma "," separated)
ttaghattass
Registered Member
Posts
11
Karma
0
Hi every one

please help me

I was working with the same app. ktorrent ver. 2.1.4 and was very good in every thing so I want to upgrade it !!!!!!?????

after compiling ktorrent 2.2.2 and when I start it it gives me a white box and nothing happened and I can not also exit from it unless i issued killall command from shell


can anyone help me

Tamer
buddabrod
Registered Member
Posts
21
Karma
0

Wed Oct 24, 2007 1:10 pm
Start ktorrent in a shell and post the output....
in [code]-tags please...
ttaghattass
Registered Member
Posts
11
Karma
0

Wed Oct 24, 2007 7:32 pm
Hi tier

Thank you fro your replay

I star it in ordinary shell the same white box

but in root shell it open but with big screen without bottom end and without title bar and border the code is


Code: Select all
[root@NETEGYPT-ADSL ~]# ktorrent
kbuildsycoca running...
DCOP Cleaning up dead connections.
[root@NETEGYPT-ADSL ~]#


I have a snapshot file but I cannot send it ( there is no attachment facility ?)

Tamer
stoeptegel
Registered Member
Posts
1075
Karma
0

Wed Oct 24, 2007 8:38 pm
Have you removed the previous version first?

Btw, i would not run ktorrent as root if i was you.
ttaghattass
Registered Member
Posts
11
Karma
0

Wed Oct 24, 2007 8:53 pm
Dear stoeptegel

no I didn't removed the previous version first

I run it under root for trying only

Tamer
George
Moderator
Posts
5421
Karma
1

Sat Oct 27, 2007 10:27 am
First try it as a normal user. Root probably isn't allowed to access the X server.
ttaghattass
Registered Member
Posts
11
Karma
0

Sat Nov 03, 2007 11:36 am
George wrote:First try it as a normal user. Root probably isn't allowed to access the X server.


when I start it it gives me a white box and nothing happened and I can not also exit from it unless i issued killall command from shell

tamer
George
Moderator
Posts
5421
Karma
1

Sun Nov 04, 2007 12:24 pm
Seems like an infinite loop somewhere.

Do you know how to use gdb ?
ttaghattass
Registered Member
Posts
11
Karma
0

Mon Nov 12, 2007 11:21 pm
George wrote:Seems like an infinite loop somewhere.

Do you know how to use gdb ?


Thank you George

no I do not know how to use gdb ! :oops:
[/quote]

It's pretty easy :

gdb /usr/bin/ktorrent
run --nofork

Wait until it hangs

Then hit CTRL+C in gdb and then do the command :

bt

Post the output of that here, that should give us some indication where it is hanging.
ttaghattass
Registered Member
Posts
11
Karma
0

Sun Mar 30, 2008 8:15 pm
dear George
this the output for the command
gdb /usr/bin/ktorrent
run --nofork

bt

thank you

Tamer

---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1208772912 (LWP 4778)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Detaching after fork from child process 4825. (Try `set detach-on-fork off'.)]
[Detaching after fork from child process 4826.]
[Detaching after fork from child process 4827.]
[New Thread -1213981808 (LWP 4831)]
[New Thread -1225786480 (LWP 4832)]
[New Thread -1236276336 (LWP 4833)]
(no debugging symbols found)
[Thread -1236276336 (LWP 4833) exited]

Program received signal SIGINT, Interrupt.
[Switching to Thread -1208772912 (LWP 4778)]
0x00110402 in __kernel_vsyscall ()
(gdb) bt
#0 0x00110402 in __kernel_vsyscall ()
#1 0x42c157a1 in select () from /lib/libc.so.6
#2 0x00e4a146 in QEventLoop::processEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3 0x00ebbeb0 in QEventLoop::enterLoop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#4 0x00ea213f in QApplication::enter_loop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#5 0x010b6dc5 in QDialog::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#6 0x008adf17 in KMessageBox::createKMessageBox () from /usr/lib/libkdeui.so.4
#7 0x008ae667 in KMessageBox::createKMessageBox () from /usr/lib/libkdeui.so.4
#8 0x008b3132 in KMessageBox::warningYesNoListWId ()
from /usr/lib/libkdeui.so.4
#9 0x008b3267 in KMessageBox::warningYesNoList () from /usr/lib/libkdeui.so.4
#10 0x008b32df in KMessageBox::warningYesNo () from /usr/lib/libkdeui.so.4
#11 0x0807726f in KTorrentCore::aboutToBeStarted ()
#12 0x080799a6 in KTorrentCore::qt_invoke ()
#13 0x00f0bd9a in QObject::activate_signal ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x00224584 in kt::TorrentInterface::aboutToBeStarted ()
from /usr/lib/libktorrent-2.2.4.so
#15 0x001c2eb1 in bt::TorrentControl::start ()
from /usr/lib/libktorrent-2.2.4.so
---Type <return> to continue, or q <return> to quit---
#16 0x001f9745 in bt::QueueManager::startSafely ()
from /usr/lib/libktorrent-2.2.4.so
#17 0x001f9d77 in bt::QueueManager::start () from /usr/lib/libktorrent-2.2.4.so
#18 0x080757c9 in KTorrentCore::start ()
#19 0x0807a6a8 in KTorrentCore::loadExistingTorrent ()
#20 0x080785a2 in KTorrentCore::loadTorrents ()
#21 0x080719a0 in KTorrent::KTorrent ()
#22 0x08074401 in KTorrentApp::newInstance ()
#23 0x00b3c346 in KUniqueApplication::newInstanceNoFork ()
from /usr/lib/libkdecore.so.4
#24 0x00b42728 in KUniqueApplication::qt_invoke ()
from /usr/lib/libkdecore.so.4
#25 0x08073dff in KTorrentApp::qt_invoke ()
#26 0x00f0bd9a in QObject::activate_signal ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#27 0x012994ce in QSignal::signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#28 0x00f2a347 in QSignal::activate () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x00f32f93 in QSingleShotTimer::event ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#30 0x00ea258b in QApplication::internalNotify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#31 0x00ea3b91 in QApplication::notify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
#32 0x00b5df22 in KApplication::notify () from /usr/lib/libkdecore.so.4
#33 0x00e964d2 in QEventLoop::activateTimers ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#34 0x00e4a40f in QEventLoop::processEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#35 0x00ebbeb0 in QEventLoop::enterLoop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#36 0x00ebbd76 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#37 0x00ea21cf in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#38 0x0808c2c8 in main ()
(gdb)
George
Moderator
Posts
5421
Karma
1

Mon Mar 31, 2008 10:44 am
From the look of that backtrace, you should see a message box
ttaghattass
Registered Member
Posts
11
Karma
0

Mon Mar 31, 2008 10:08 pm
Dear George

thank you for your replay


sorry for this question { where I can find that message box ? }
:oops: :oops:

Tamer T.
George
Moderator
Posts
5421
Karma
1

Tue Apr 01, 2008 10:18 am
It should be somewhere on your screen.
ttaghattass
Registered Member
Posts
11
Karma
0

Wed Apr 02, 2008 7:23 pm
Dear George

:roll: Where ?? on my screen ?? :?:

I'm using a KDE Desktop

so just tell me in more details

thank you again
Tamer T.
MoDaX
Registered Member
Posts
241
Karma
0
OS

Wed Apr 02, 2008 8:05 pm
The message box which could be appearing here is:

Code: Select all
        QString msg = i18n("The file where the data is saved of the torrent \"%1\" is missing, do you want to recreate it?").arg(tc->getStats().torrent_name);
        int ret = KMessageBox::warningYesNo(0,msg, i18n("Recreate"),KGuiItem(i18n("Recreate")),KGuiItem(i18n("Do Not Recreate")));


If the message does not appear, it looks like event race of some sort somewhere. Anyway, ttaghattass, if you can afford to lose the torrents you've been downloading/seeding with the previous version (and likely some settings), do the following (alternatively you can remove the following folder/configfile):

$ mv ~/.kde/share/apps/ktorrent ~/.kde/share/apps/ktorrent~

and start ktorrent. It should start now. If it still does not, try:

$ mv ~/.kde/share/config/ktorrentrc ~/.kde/share/config/ktorrentrc~


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]