Bug 47373

Summary: konqueror: crashes when entering dir & sound preview is enabled
Product: [Applications] konqueror Reporter: Melchior Franz <mfranz>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED NOT A BUG    
Severity: critical CC: dirk_aust, email, gour, juthieke, kde, listrcpt, maksim, michael, rod.sheaff, sascha, stuart, templar
Priority: VHI    
Version First Reported In: 3.0.7   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Melchior Franz 2002-09-03 09:39:42 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: konqueror
Severity: crash
Version: 3.0.7 (KDE 3.0.7 (KDE 3.1 beta 1)) (compiled sources)
OS: Linux (i686) release 2.4.19
Compiler: gcc version 2.95.3 20010315 (SuSE)
KDE: 3.0.7 CVS HEAD from 2002-09-02 (compiled sources)
Qt: 3.0.6 CVS HEAD from 2002-09-02 (compiled sources)

We had a similar bug already with #38083. When sound preview is active and I enter
a directory with icon view konqueror crashes with the bt below. Also LMB-clicking
on an image and then going back can cause the same crash. (The latter doesn't happen
always.)
   Disabling sound preview solves the problem at first. I can enter almost every
directory with icon view now EXCEPT directories containing sound files. Here I
get again the same crash.

I'll keep the core file for one week in case there are open questions.

m.



...
Core was generated by `kdeinit: konqueror       '.
Program terminated with signal 11 Segmentation fault.
...


(gdb) bt
#0  0x00002afe in ?? ()
#1  0x405ad328 in KLibrary::factory (this=0x8255478) at klibloader.cpp:169
#2  0x405ae981 in KLibLoader::factory (this=0x8054778 name=0x41129587 "konq_sound") at klibloader.cpp:493
#3  0x411006c9 in KonqIconViewWidget::startImagePreview (this=0x820a178 force=false)
    at konq_iconviewwidget.cc:908
#4  0x4582721a in KonqKfmIconView::mimeTypeDeterminationFinished (this=0x8305940) at konq_iconview.cc:894
#5  0x4582b277 in KMimeTypeResolver<KFileIVI KonqKfmIconView>::slotProcessMimeIcons (this=0x8315008)
    at /usr/local/kde/include/kmimetyperesolver.h:201
#6  0x4018572e in KMimeTypeResolverHelper::qt_invoke (this=0x8314890 _id=2 _o=0xbfffe98c)
    at kmimetyperesolver.h:88
#7  0x40880254 in QObject::activate_signal () from /usr/local/qt/lib/libqt-mt.so.3
#8  0x4088019e in QObject::activate_signal () from /usr/local/qt/lib/libqt-mt.so.3
#9  0x40abf799 in QTimer::timeout () from /usr/local/qt/lib/libqt-mt.so.3
#10 0x4089a06f in QTimer::event () from /usr/local/qt/lib/libqt-mt.so.3
#11 0x4083ffc3 in QApplication::internalNotify () from /usr/local/qt/lib/libqt-mt.so.3
#12 0x4083fe64 in QApplication::notify () from /usr/local/qt/lib/libqt-mt.so.3
#13 0x4053bdc5 in KApplication::notify (this=0xbfffee68 receiver=0x83148c8 event=0xbfffec0c)
    at kapplication.cpp:423
#14 0x407f3a80 in qt_activate_timers () from /usr/local/qt/lib/libqt-mt.so.3
#15 0x407f167a in QApplication::processNextEvent () from /usr/local/qt/lib/libqt-mt.so.3
#16 0x40841482 in QApplication::enter_loop () from /usr/local/qt/lib/libqt-mt.so.3
#17 0x407f116b in QApplication::exec () from /usr/local/qt/lib/libqt-mt.so.3
#18 0x4116f622 in main (argc=1 argv=0x8057988) at konq_main.cc:130
#19 0x0804cd86 in launch (argc=1 _name=0x8059d64 "konqueror" args=0x8059d6e "\001" cwd=0x0 envc=1
    envs=0x8059d7f "" reset_env=false tty=0x0 avoid_loops=false
    startup_id_str=0x8059d83 "server;1031044480;428509;804") at kinit.cpp:547
#20 0x0804da9c in handle_launcher_request (sock=7) at kinit.cpp:1023
#21 0x0804dee5 in handle_requests (waitForPid=0) at kinit.cpp:1189
#22 0x0804ed19 in main (argc=3 argv=0xbffff3e4 envp=0xbffff3f4) at kinit.cpp:1534
#23 0x40e749ed in __libc_start_main () from /lib/libc.so.6

(gdb) up 2
#2  0x405ae981 in KLibLoader::factory (this=0x8054778 name=0x41129587 "konq_sound") at klibloader.cpp:493
493         return lib->factory();

(gdb) list
488     {
489         KLibrary* lib = library( name );
490         if ( !lib )
491             return 0;
492
493         return lib->factory();
494     }
495
496     void KLibLoader::slotLibraryDestroyed()
497     {

(gdb) print lib
$1 = (KLibrary *) 0x4583c6e0

(gdb) print *lib
$2 = {<QObject> = {<Qt> = {} isSignal = 1 isWidget = 0 pendTimer = 0 blockSig = 1 wasDeleted = 0
    isTree = 0 objname = 0x535610ec <Error reading address 0x535610ec: No such process> parentObj = 0xffffefe8
    childObjects = 0x9fc381ff connections = 0x8300002a senderObjects = 0x2c6af4c4 eventFilters = 0xfff3fbe8
    postedEvents = 0x83c689ff d = 0xc48310c4 _vptr.QObject = 0x6a006afc} m_libname = {d = 0xf9e85600}
  m_filename = {d = 0x8bfffff2} m_factory = 0xf883 m_handle = 0x24468900
  m_objs = {<QGList> = {<QPtrCollection> = {del_item = 137 _vptr. = 0x895e5be8} firstNode = 0x8dc35dec
      lastNode = 0xb6 curNode = 0x27bc8d00 curIndex = 0 numNodes = 3273923723
      iterators = 0x83e58955} <No data fields>} m_timer = 0x535610ec d = 0xffffefe8}
(gdb)



The m_factory address looks funny ...   :-]

m.
Comment 1 Melchior Franz 2002-09-06 09:03:08 UTC
Closed by the submitter.

The reason for this misbehaviour is "LD_BIND_NOW=true" in front of kdeinit ...
in startkde. Removing it solves the problem. As this is also the reason
for bug no. #47499 I'm closing this report. For further information see
the mentioned report under http://bugs.kde.org/db/47/47499.html which is
still open as of now.

m.
Comment 2 Maksim Orlovich 2003-03-04 00:26:44 UTC
LD_BIND_NOW=true should work.. There are also multiple reports of this with binary packages.. 
Thus I am re-opening this... Melchior, if you're around, and can shed some more light it'd be very 
helpful -- we got tons of reports of the same, and seems like all the other developers who tried to 
diagnose this have failed.  
 
Comment 3 Maksim Orlovich 2003-03-04 00:28:06 UTC
Elevating, as although this is not neccesserily even a KDE bug, this certainly affect many people.. 
Comment 4 Maksim Orlovich 2003-03-04 00:29:02 UTC
*** Bug 55480 has been marked as a duplicate of this bug. ***
Comment 5 Maksim Orlovich 2003-03-04 00:29:38 UTC
*** Bug 55491 has been marked as a duplicate of this bug. ***
Comment 6 Maksim Orlovich 2003-03-04 00:31:33 UTC
*** Bug 53508 has been marked as a duplicate of this bug. ***
Comment 7 Maksim Orlovich 2003-03-04 00:32:15 UTC
53508 indicates an outdated aRts install as the reason. 
 
 
Comment 8 Maksim Orlovich 2003-03-04 00:35:30 UTC
*** Bug 53619 has been marked as a duplicate of this bug. ***
Comment 9 Maksim Orlovich 2003-03-04 00:38:26 UTC
*** Bug 53558 has been marked as a duplicate of this bug. ***
Comment 10 Maksim Orlovich 2003-03-04 00:39:41 UTC
*** Bug 54334 has been marked as a duplicate of this bug. ***
Comment 11 Maksim Orlovich 2003-03-04 00:40:40 UTC
From 53558: 
 
LD_BIND_NOW=true konqueror reproduce it the problem for the reporter; the lib being opened is 
konq_sound 
 
Comment 12 Maksim Orlovich 2003-03-04 00:42:52 UTC
*** Bug 54774 has been marked as a duplicate of this bug. ***
Comment 13 Maksim Orlovich 2003-03-04 00:45:13 UTC
*** Bug 54565 has been marked as a duplicate of this bug. ***
Comment 14 Maksim Orlovich 2003-03-04 00:46:40 UTC
*** Bug 54548 has been marked as a duplicate of this bug. ***
Comment 15 Maksim Orlovich 2003-03-04 00:49:24 UTC
*** Bug 54014 has been marked as a duplicate of this bug. ***
Comment 16 Maksim Orlovich 2003-03-04 00:50:06 UTC
54014 also suggest an outdated aRts install as the problem 
 
Comment 17 Maksim Orlovich 2003-03-04 00:51:32 UTC
*** Bug 53573 has been marked as a duplicate of this bug. ***
Comment 18 Christoph Maurer 2003-03-04 11:48:37 UTC
I'm not sure if an outdated arts is the problem: 
rpm -q arts gives  
arts-1.1-50 
 
which should be the latest stable version. Nevertheless I have the described problem.  
 
 
Comment 19 Dirk Aust 2003-03-06 18:59:08 UTC
Subject: Re:  konqueror: crashes when entering dir & sound preview is enabled

I just checked my aRTs installation, it is arts-1.1-50 installed at the same 
time, when I installed KDE 3.1

Regards,


Am Dienstag, 4. M
Comment 20 Dirk Aust 2003-03-06 19:01:26 UTC
Subject: Re:  konqueror: crashes when entering dir & sound preview is enabled

I found an older version of libao-arts-0.8.2-131 installed on my system, dated 
from 26 M
Comment 21 Alain Knaff 2003-03-10 22:31:42 UTC
Problem solved (53558, which has been marked as a duplicate of this one): 
 
- It was due to an old libogg and libvorbis lying around on my system: 
libogg-devel-1.0rc3-54 
libvorbis-devel-1.0rc3-55 
 
Due to the "funny" version numbers (which include rc tags), the SuSE update 
procedure from 8.0 to 8.1 was somehow believing that these (which were in 8.0) were 
more recent than the new ones, named as follows: 
 
libogg-1.0-31 
libvorbis-1.0-32 
 
Forcing a manual upgrade of these with the --oldpackage flag resolved the issue. 
 
Comment 22 Matt Rogers 2003-09-15 06:19:56 UTC
I've experienced this same problem, but currently, I can't get it to crash, only hang (a 
killing of the process is required here).  
 
I'll attach the backtrace I have to this bug. 
 
 
Comment 23 Matt Rogers 2003-09-15 07:01:40 UTC
ok, never mind. I can't seem to reproduce this anymore (kdelibs from 090803) 
Comment 24 Adrian Schroeter 2003-10-27 17:03:44 UTC
yes, it was a known update problem, which has been fixed in YaST meanwhile. So we can close this report.
Comment 25 Stephan Kulow 2003-10-27 17:05:09 UTC
distribution problem in most causes - not critical