[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-28 5:25:40
[Download RAW message or body]


Hi!
  I'm sending also the part of asm source produced by gcc.
  After a long debugging session (I didn't know how to place breakpoints in
objects which are not loaded together with the program i.e. plugins) I've
found that the dynamic casting returns NULL.
  This is the immediate cause of the crash.
  But why this happens, I really don't know.
  I already spent really many hours on this problem. Could somebody help,
please ? 
                                          With regards, Pavel Troller

        subl    $12, %esp
        pushl   $60
        call    _Znwj@PLT
        addl    $16, %esp
        movl    %eax, -8(%ebp)
        subl    $4, %esp
        pushl   $0
        subl    $4, %esp
        pushl   12(%ebp)
        call    _ZN15KonqSidebarTree4partEv@PLT
        addl    $4, %esp
        pushl   %eax
        call    _ZN17KonqSidebarPlugin13getInterfacesEv@PLT
        addl    $4, %esp
        movl    %eax, -16(%ebp)
        cmpl    $0, -16(%ebp)
        je      .L5
        subl    $4, %esp
        pushl   $-2
        pushl   _ZTI27KonqSidebar_PluginInterface@GOT(%ebx)
        pushl   _ZTI7QObject@GOT(%ebx)
        pushl   -16(%ebp)
        call    __dynamic_cast@PLT   <<< 0 returned here
        addl    $20, %esp
        movl    %eax, -12(%ebp)
        jmp     .L6
        .p2align 4,,7
.L5:
        movl    $0, -12(%ebp)
.L6:
        movl    -12(%ebp), %edx
        movl    (%edx), %eax
        addl    $8, %eax
        pushl   -12(%ebp)
        movl    (%eax), %eax
        call    *%eax
        addl    $8, %esp

 
>> 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