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

List:       kde-devel
Subject:    Re: fix for KConfigPrivate::groupList (kconfig.cpp)
From:       "Friedrich W. H. Kossebau" <kossebau () kde ! org>
Date:       2023-12-29 16:19:24
Message-ID: 3523755.V25eIC5XRa () klux
[Download RAW message or body]

Am Freitag, 29. Dezember 2023, 16:36:41 CET schrieb Tommaso Massimi:
> On Fri, Dec 29, 2023 at 3:35 PM Friedrich W. H. Kossebau
> <kossebau@kde.org> wrote:
[snip}
> > After a more close look I would partially disagree and point to another
> 
> > possible cause:
> correct, my analisys was wrong, I apologize

All fine, things are so complicated we all get some things wrong in the first 
round of working theory, actually my long reply was also edited & corrected 3 
times (and perhaps still got some thing wrong) :)

> > Now, the backtrace you shared shows that there are more threads active at
> > the same time.
> 
> I'm not sure:
> 
> valgrind can shown more backtraces, in this case:
> 
> the backtrace where the error was detected (read unallocated memory)
> 
> > > ==70026== Invalid read of size 16
> > > ==70026==    at 0x668FAF7: ???
> 
> the backtrace where that memory was allocated
> 
> > > ==70026==  Address 0xcd3c40a is 26 bytes inside a block of size 38
> > > alloc'd
> > > ==70026==    at 0x4848899: malloc (in
> 
> 70026 is the PID, reported on each line. so I see only one thread.

Ah, I might have misread the log as being a execution stack backtrace. So my 
conclusion of this being a threading issue might also be wrong?`

I guess you best upload the full log of valgrind (including how to reproduce 
what you see, i.e. which tool you used with which flag) to a bug report on 
bugs.kde.org.

Cheers
Friedrich


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

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