Crash on trunk from 13 May

Andreas Pakulat apaku at gmx.de
Mon May 16 08:31:52 UTC 2011


On 16.05.11 10:53:09, Leon Pollak wrote:
> On Sunday May 15 2011, Andreas Pakulat wrote:
> > On 15.05.11 19:02:03, Leon Pollak wrote:
> > > On Sunday May 15 2011, Leon Pollak wrote:
> > > > Hello, all.
> > > > I upgraded to the trunk version 13May - the same problem:
> > > > Any attempt to 'Find/Replace in Files' causes the kdevelop to crash.
> > > > Cache cleaning (after 2 sequential times) does not help.
> > > > Can somebody acknowledge this?
> > > > BR
> > > I run kdevelop under GDB. Here is the printout:
> > > Program received signal SIGSEGV, Segmentation fault.
> > > GrepOutputView::replacementTextChanged (this=0x67f5aa0) at
> > > /home/leonp/kdev-1305/kdevplatform/plugins/grepview/grepoutputview.cpp:12
> > > 7 127         updateApplyState(model()->index(0, 0), model()->index(0,
> > > 0)); (gdb) p model()->index(0, 0)
> > > Couldn't find method GrepOutputModel::index
> > > (gdb) p model()
> > > $1 = (GrepOutputModel *) 0x0
> > > (gdb) p model
> > > $2 = {GrepOutputModel *(GrepOutputView *)} 0x7fffec175770
> > > <GrepOutputView::model()>
> > Looks like for some reason your outputview has no model set. This
> > happens usually when you select something in the combobox left of the
> > replacement text. And the function that crashes for you is only
> > triggered if you type into the replacement combo field on the right. So
> > can you see wether the combo on the left is empty when you start typing?
> > If so, thats why the crash happens and a bugreport is in order.
> > 
> > An easy workaround is to first make sure to select something in the left
> > combo before typing something into the right combo.
> > 
> Thanks, Andreas, but I do not understand what you mean - I do not find this 
> combobox.

Its visible in the results once the search is running.

> Please, see the screen-shot of the situation. Pressing "Search..." button in 
> the right-bottom causes the crash:
> ftp://www.plris.com/pub/snap.jpg

Hmm, that means something triggers the edited-signal I guess (I can't
see another explanation for the slot being triggered at the moment), can
you try with another Qt style: 

kdevelop -style plastique

Andreas





More information about the KDevelop mailing list