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

List:       kde-devel
Subject:    Re: Dirtree sidebartree module crashes [Was: kfmclient openProfile filemanagement crashes ]
From:       Pavel Troller <patrol () sinus ! cz>
Date:       2002-02-27 19:33:38
[Download RAW message or body]

> 
> Works here (gcc 2.95.3 though), does someone else use gcc 3.0.4 and encounter 
> the same problem ?
> 
> Do you use object prelinking ?
Yes, but it made never problems, at least with gcc-2.95.3, used formerly.

I made a disassembly of the place around the crash:

...
0x419e6bbd <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+189>:    add    \
$0x4,%esp 0x419e6bc0 <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+192>:    \
push   %eax 0x419e6bc1 <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+193>:    \
call   0x419e5d3c <_init+1480> 0x419e6bc6 \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+198>:    add    $0x4,%esp \
0x419e6bc9 <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+201>:    mov    \
%eax,0xfffffff0(%ebp) 0x419e6bcc \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+204>:    cmpl   \
$0x0,0xfffffff0(%ebp) 0x419e6bd0 \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+208>:  je     0x419e6bf3 \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+243> 0x419e6bd2 \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+210>:    sub    $0x4,%esp \
0x419e6bd5 <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+213>:    push   \
$0xfffffffe 0x419e6bd7 <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+215>:    \
pushl  0x46c(%ebx) 0x419e6bdd \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+221>:    pushl  0x4b0(%ebx) \
0x419e6be3 <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+227>:    pushl  \
0xfffffff0(%ebp) 0x419e6be6 <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+230>: \
call   0x419e683c <_init+4296> 0x419e6beb \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+235>:    add    $0x14,%esp \
0x419e6bee <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+238>:    mov    \
%eax,0xfffffff4(%ebp) 0x419e6bf1 \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+241>:  jmp    0x419e6bfa \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+250> 0x419e6bf3 \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+243>:    movl   \
$0x0,0xfffffff4(%ebp) 0x419e6bfa \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+250>:    mov    \
0xfffffff4(%ebp),%edx 0x419e6bfd \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+253>:    mov    (%edx),%eax       \
<<< CRASH! BOOM! BANG! 0x419e6bff \
<_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+255>:    add    $0x8,%eax \
0x419e6c02 <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+258>:    pushl  \
0xfffffff4(%ebp) 0x419e6c05 <_ZN24KonqSidebarDirTreeModuleC1EP15KonqSidebarTree+261>: \
mov    (%eax),%eax

The first call (_init+1480) returns zero, which makes the je instruction
to jump, and the place at ...bf3 is a total suicide (really don't know why it 
tries to read just from 0x0, although passed over a variable...
                                                 With regards, Pavel Troller
 
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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