[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [Fwd: Re: Dynamic Linker weirdness. (Long)]
From:       Lars Knoll <lars () trolltech ! com>
Date:       2000-05-14 9:07:52
[Download RAW message or body]

I have. But you'll need to patch sources a bit.

Go into konqueror/iconview and uncomment the line with

template class QValueList<int>; 

in konq_iconview.cc

The crash will only occur when the iconview lib gets closed, so in order
to not have to wait to long I'd change the timer for closing down unneeded
libs in klibloader to a few seconds.

Then just start konqueror in iconview, enter a url to a html page in the
location bar, wait for the iconviewlib to close down and try to reload the
html page. 

You'll get a crash, because the copy constructor of QValueList<int> used
in khtml gets resolved to the symbol in libkonqiconview, which doesn't
exist anymore after unloading of the iconview.

Hoe that helps,
Lars


On Sat, 13 May 2000, Waldo Bastian wrote:

> On Sat, 13 May 2000, Michael Matz wrote:
> 
> > > Michael Matz wrote:
> > > > But note, that the dynamic_symbols section is not affected by that
> > > > option, and nevertheless contains all symbols that were global at link
> > > > time. I don't know right now, which section is used by libltdl to look
> > > > for symbols which need binding. If it's the dynamic section the problem
> > > > does not go away that easily. I don't have time right now to test.
> > > > Tomorrow.
> > >
> > > I am very interested in the outcome of your tests. I hope I did something
> > > wrong :-]
> >
> > I don't have libfam. So, is there any other way where the error manifests
> > reproducable?  With which module? It's hard to fix an error one doesn't
> > see ;)
> 
> Lars had a crash when unloading konqueror views last week. He may have an 
> easy way to trigger them.
> 
> Cheers,
> Waldo
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic