Bug 56880 - Expanding an FTP node in the navigation panel tree causes a crash when the URL doesn't end in '/'
Summary: Expanding an FTP node in the navigation panel tree causes a crash when the UR...
Status: RESOLVED DUPLICATE of bug 54613
Alias: None
Product: konqueror
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-05 16:28 UTC by R Parlett
Modified: 2003-04-07 05:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description R Parlett 2003-04-05 16:28:42 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Compiled From Sources
Compiler:          gcc 2.96 
OS:          Linux

Open konqueror and press F9 to bring up the Navigation panel

Select the Network view.  Two folders are shown, "FTP Archives"
and "Web sites".  Right click on the former, and select
"Open in new window".  A new konqueror window appears, browsing
a directory something like
file:/home/rparlett/.kde/share/apps/konqsidebartng/virtual_folders/remote/ftp/

In the right-hand directory view of the new window, right click
and select "Create new"->"Link to location(URL)"

A modal dialog appears.  Enter "test" into the name field and
"ftp://ftp.kde.org" into the URL field.  Click okay.

Now go back to the original window, expand the "FTP Archives" node
to show the new "test" entry.  Expand it by right clicking on the +
and konqueror will crash.

To show what is causing this, firstly repeat the first two steps above.
Then right click on the entry "test.desktop" and select "Properties".

In the properties window, select the URL tab.  Change the URL from
ftp://ftp.kde.org
to
ftp://ftp.kde.org/

Click okay.  Now the node will expand and work correctly.



Stack trace follows.



[New Thread 1024 (LWP 17697)]
0x40f621d9 in wait4 () from /lib/libc.so.6
#0  0x40f621d9 in wait4 () from /lib/libc.so.6
#1  0x40fdfef8 in __check_rhosts_file () from /lib/libc.so.6
#2  0x40e069f6 in waitpid (pid=17741, stat_loc=0x0, options=0)
    at wrapsyscall.c:172
#3  0x405d3c1f in KCrash::defaultCrashHandler ()
   from /opt/kde-3.1.1/lib/libkdecore.so.4
#4  0x40e043ab in pthread_sighandler (signo=11, ctx=
      {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 49168, edi = 143417288, esi = 144463072, ebp = 3221214488, esp = 3221214352, ebx = 145655192, edx = 1080454664, ecx = 36415, eax = 6881280, trapno = 14, err = 4, eip = 134541436, cs = 35, __csh = 0, eflags = 66054, esp_at_signal = 3221214352, ss = 43, __ssh = 0, fpstate = 0xbfffd210, oldmask = 2147483648, cr2 = 6881280}) at signals.c:97
#5  0x40ed57c8 in killpg () from /lib/libc.so.6
#6  0x0804ef43 in QValueList<QString>::detachInternal ()
#7  0x4137b179 in KonqSidebarDirTreeModule::slotRedirection ()
   from /opt/kde-3.1.1/lib/kde3/konq_sidebartree_dirtree.so
#8  0x4137c362 in KonqSidebarDirTreeModule::qt_invoke ()
   from /opt/kde-3.1.1/lib/kde3/konq_sidebartree_dirtree.so
#9  0x408f2c50 in QObject::activate_signal ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#10 0x401db26e in KDirLister::redirection ()
   from /opt/kde-3.1.1/lib/libkio.so.4
#11 0x401d3274 in KDirListerCache::slotRedirection ()
   from /opt/kde-3.1.1/lib/libkio.so.4
#12 0x401dc146 in KDirListerCache::qt_invoke ()
   from /opt/kde-3.1.1/lib/libkio.so.4
#13 0x408f2c50 in QObject::activate_signal ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#14 0x4014f4bb in KIO::ListJob::redirection ()
   from /opt/kde-3.1.1/lib/libkio.so.4
#15 0x4014188f in KIO::ListJob::slotRedirection ()
   from /opt/kde-3.1.1/lib/libkio.so.4
#16 0x4014f64f in KIO::ListJob::qt_invoke ()
   from /opt/kde-3.1.1/lib/libkio.so.4
#17 0x408f2c50 in QObject::activate_signal ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#18 0x40130dd0 in KIO::SlaveInterface::redirection ()
   from /opt/kde-3.1.1/lib/libkio.so.4
#19 0x4012db4f in KIO::SlaveInterface::dispatch ()
   from /opt/kde-3.1.1/lib/libkio.so.4
#20 0x4012d08d in KIO::SlaveInterface::dispatch ()
   from /opt/kde-3.1.1/lib/libkio.so.4
#21 0x4012a684 in KIO::Slave::gotInput () from /opt/kde-3.1.1/lib/libkio.so.4
#22 0x4012c90d in KIO::Slave::qt_invoke () from /opt/kde-3.1.1/lib/libkio.so.4
#23 0x408f2c50 in QObject::activate_signal ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#24 0x408f2dca in QObject::activate_signal ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#25 0x40b5369c in QSocketNotifier::activated ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#26 0x409099e9 in QSocketNotifier::event ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#27 0x408a7271 in QApplication::internalNotify ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#28 0x408a7077 in QApplication::notify () from /opt/qt-3.1.0/lib/libqt-mt.so.3
#29 0x4055a42c in KApplication::notify ()
   from /opt/kde-3.1.1/lib/libkdecore.so.4
#30 0x4088b049 in QEventLoop::activateSocketNotifiers ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#31 0x4086d5a6 in QEventLoop::processEvents ()
   from /opt/qt-3.1.0/lib/libqt-mt.so.3
#32 0x408b6c9f in QEventLoop::enterLoop () from /opt/qt-3.1.0/lib/libqt-mt.so.3
#33 0x408b6be5 in QEventLoop::exec () from /opt/qt-3.1.0/lib/libqt-mt.so.3
#34 0x408a73e2 in QApplication::exec () from /opt/qt-3.1.0/lib/libqt-mt.so.3
#35 0x41104268 in main () from /opt/kde-3.1.1/lib/konqueror.so
#36 0x0804c8b2 in launch ()
#37 0x0804d647 in handle_launcher_request ()
#38 0x0804db22 in handle_requests ()
#39 0x0804eaf5 in main ()
#40 0x40ec35b0 in __libc_start_main () from /lib/libc.so.6
Comment 1 John Firebaugh 2003-04-07 05:50:42 UTC

*** This bug has been marked as a duplicate of 54613 ***