Bug 76164 - Crashes when individual files are closed
Summary: Crashes when individual files are closed
Status: RESOLVED DUPLICATE of bug 57902
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-26 08:17 UTC by Derrick T. Woolworth
Modified: 2004-02-26 08:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derrick T. Woolworth 2004-02-26 08:17:55 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    FreeBSD Ports
Compiler:          gcc 3.3.3 
OS:          FreeBSD

To reproduce, load kdevelop, load a project or an individual file.  After this, close the file.  I've attempted closing all and closing individual files and in all cases it results in a seg fault.

I'm running FreeBSD 5.2.1 and I "just" setup this machine with KDE 3.2.0 and Kdevelop 3.  I have recompiled kdevelop with a couple of different flags, finally I just compiled it for debug and got the following...

Here is my output from gdb:

(gdb) run
Starting program: /usr/ports/devel/kdevelop/work/kdevelop-3.0.0/src/.libs/kdevelop
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
QObject::connect: No such slot subversionPart::slotActionAdd()
QObject::connect:  (sender name:   'subversion_add')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemove()
QObject::connect:  (sender name:   'subversion_remove')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionAddToIgnoreList()
QObject::connect:  (sender name:   'subversion_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemoveFromIgnoreList()
QObject::connect:  (sender name:   'subversion_donot_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotStopButtonClicked(KDevPlugin*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'Subversion')
QMetaObject::findSignal:KFileDetailView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
ASSERT: "part && parent" in partwidget.cpp (41)

Program received signal SIGSEGV, Segmentation fault.
0x0807601e in QShared::deref() (this=0x632e64) at /usr/X11R6/include/qshared.h:50
50          bool deref()        { return !--count; }
(gdb) l
45
46      struct Q_EXPORT QShared
47      {
48          QShared() : count( 1 ) { }
49          void ref()          { count++; }
50          bool deref()        { return !--count; }
51          uint count;
52      };
53
54
(gdb)
Comment 1 Jens Dagerbo 2004-02-26 08:40:15 UTC
Dupe. 
 
Workaround: disable the history plugin. 

*** This bug has been marked as a duplicate of 57902 ***