[Uml-devel] [Bug 132836] New: segfault when loading c++ header file

F Hammer f.hammer at web.de
Wed Aug 23 00:31:43 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=132836         
           Summary: segfault when loading c++ header file
           Product: umbrello
           Version: 1.5.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel.kde.org
        ReportedBy: f.hammer web de


Version:           1.5.2 (using KDE 3.5.2, Gentoo)
Compiler:          gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (i686) release 2.6.16-gentoo-r13

if i load this header file umbrello crashes:

-------------------------------------------------------------

#ifndef MAINWINDOWIMPL_H
#define MAINWINDOWIMPL_H

#include "ui_mainwindow.h"
#include "newgamedialogimpl.h"
#include <iostream>

#include "game.h"
#include "bettingrounds.h"
#include "session.h"

// #include <Qt3Support>
#include <QtGui>
#include <QtCore>

class Game;
class BettingRounds;
class Session;

class mainWindowImpl: public Q3MainWindow, public Ui::mainWindow {
Q_OBJECT
public:
	mainWindowImpl(Q3MainWindow *parent = 0, const char *name = 0);
	void takeGame(Game*);
	void takeBettingRounds(BettingRounds*);
	void takeSession(Session*);
	

public slots:

	void callNewGameDialog() ;

private: 
	
	Game *actualGame;
	BettingRounds *actualBettingRounds;
	Session *mySession;
};

#endif

------------------------------------------------------------

here is the backtrace from gdb:

doitux hammer2 ~ $ gdb /usr/kde/3.5/bin/umbrello
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/kde/3.5/bin/umbrello
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1231771984 (LWP 11200)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231771984 (LWP 11200)]
0x08203cbb in QMapPrivate<QString, QMap<QString, QPair<QString, int> > >::find
    ()
(gdb) bt
#0  0x08203cbb in QMapPrivate<QString, QMap<QString, QPair<QString, int> > >::find ()
#1  0x08201ad7 in Driver::dependences ()
#2  0x0813d88a in CppImport::feedTheModel ()
#3  0x0813dc25 in CppImport::feedTheModel ()
#4  0x0813dc25 in CppImport::feedTheModel ()
#5  0x0813dc25 in CppImport::feedTheModel ()
#6  0x0813dc25 in CppImport::feedTheModel ()
#7  0x0813dc25 in CppImport::feedTheModel ()
#8  0x0813dc25 in CppImport::feedTheModel ()
#9  0x0813dc25 in CppImport::feedTheModel ()
#10 0x0813dc25 in CppImport::feedTheModel ()
#11 0x0813dc25 in CppImport::feedTheModel ()
#12 0x0813dc25 in CppImport::feedTheModel ()
#13 0x0813dc25 in CppImport::feedTheModel ()
#14 0x0813dc25 in CppImport::feedTheModel ()
#15 0x0813dc25 in CppImport::feedTheModel ()
#16 0x0813dc25 in CppImport::feedTheModel ()
#17 0x0813dc25 in CppImport::feedTheModel ()
#18 0x0813dc25 in CppImport::feedTheModel ()
#19 0x0813dc25 in CppImport::feedTheModel ()
#20 0x0813dc25 in CppImport::feedTheModel ()
#21 0x0813dc25 in CppImport::feedTheModel ()
---Type <return> to continue, or q <return> to quit---




More information about the umbrello-devel mailing list