Bug#29250: kdevelop crash on clone function

bretzel bretzel at bretzel.home.net
Wed Jul 18 13:41:10 UTC 2001


On July 18, 2001 05:51 am, you wrote:
> Package: kdevelop
> Version: 1.4.1 (using KDE 2.1.2 )
> Severity: normal
> Installed from:    SuSE
> Compiler:          gcc version 2.95.2 19991024 (release)
> OS:                Linux
> OS/Compiler notes: SuSE 7.1, Linux 2.4.4, gcc 2.95.2
>
> If I use the wizard to add a member function to a class, kdevelop crashes
> on the clone function button.
>
>
>
> steps to reproduce:
>
> 1. Create a new class using Project/New class
>
> 2. Select that class in the toolbar combo
>
> 3. click on declaration/definition button to open popup menu
>
> 4. click add member function in popup menu
>
> 5. now at the class properties dialog, enter nothing, leave all fields
> blank and press button "clone function"
>
>
>
> Expected results:
>
> Something should happen or not happen, but certainly no crash
>
>
>
> Actual result:
>
> kdevelop SIGSEGVs
>
>
>
> Reproducible: always (for me)
>
[...skipped...]
   hi, (l.Savernik) excuse me for my poor english.
I did reproduce the same crash event. I think that severe bug is caused 
because the classview hasn't get focus ( a non-null pointer to a listview 
item)  before we click on "Add Member function" in the popup menu (from the 
ToolBar button only).

Sorry if I am not clear - This is the only way I understand the bug.

Thus, until the bug is fixed, be sure you have a (anyone) class item selected 
in the classview before you go to "add member function" from the Toolbar 
button .

A sure way to add member function -> clone, is to right click
on the (new) class in the classview then select "add member function". This 
way you will be sure Kdevelop will have a valid (non-null) 
pointer-to-listviewitem.

Ralf or John ? ... ;-)

Bretzel

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list