[Uml-devel] [Bug 100051] New: Umbrello crashes when attempting to import C++ class (file is included)

Dmytro Bablinyuk dmytro.bablinyuk at rftechnology.com.au
Thu Feb 24 03:07:48 UTC 2005


------- 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=100051         
           Summary: Umbrello crashes when attempting to import C++ class
                    (file is included)
           Product: umbrello
           Version: 1.3.2
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel.kde.org
        ReportedBy: dmytro.bablinyuk rftechnology com au


Version:           1.3.2 (using KDE KDE 3.3.2)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8) 
OS:                Linux

Here is the header file that crashes application

--- start proxy.h

#ifndef __PROXY_H__
#define __PROXY_H__

#include <queue>

#include <pthread.h>

#include "general.h"
#include "observer.h"

using namespace std;

enum 
{
  MASK = 0x3F,
  BUFF_LEN = MASK + 1
};

class Proxy  
{
  private:
   static Proxy* pInstance;
   //circular buffer of pointers to SkMessage_t with unknown length
   SkMessage_t *queue[BUFF_LEN];
   int readPtr;
   int writePtr;
   bool runFlag;

  protected:
      Proxy() : readPtr(0), writePtr(0), runFlag(1)
     {
     }
   ~Proxy(){}

   //event notification
 private:
   vector<Observer *> listeners;
   
    public:
        bool run(){return runFlag;}
        void stop(){ runFlag = 0;}
   
 public:
   void addListener(Observer *);
   void removeListener(Observer *);
   void notifyListeners(const SkMessage_t *const message);
   
  public:
   //posting threads

   void *tx( void *arg);
   void *rx( void *arg);

   static Proxy* instance()
      {
         if ( pInstance == 0)
         {
            pInstance = new Proxy();
         }
         return pInstance;
      }   

   bool addTxMessage( const SkMessage_t* message); 
   proxy_ptr<SkMessage_t> getTxMessage( void);               

   bool addRxMessage( const SkMessage_t* message);
   proxy_ptr<SkMessage_t> getRxMessage( void);               
};


#endif

--- end proxy.h

Here is debug output

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(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)
[Thread debugging using libthread_db enabled]
[New Thread -1230798176 (LWP 6489)]
(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)
(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)
[KCrash handler]
#3  0x081e1671 in CppTree2Uml::parseEnumSpecifier ()
#4  0x081ec5a2 in TreeParser::parseTypeSpecifier ()
#5  0x081e0a59 in CppTree2Uml::parseSimpleDeclaration ()
#6  0x081ec37a in TreeParser::parseDeclaration ()
#7  0x081ec283 in TreeParser::parseTranslationUnit ()
#8  0x081e00c8 in CppTree2Uml::parseTranslationUnit ()
#9  0x081063de in ClassImport::importCPP ()
#10 0x0815cde8 in UMLApp::slotImportClasses ()
#11 0x0815de46 in UMLApp::qt_invoke ()
#12 0xb71515ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0xb71513d4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#14 0xb79f7dab in KAction::activated () from /usr/lib/libkdeui.so.4
#15 0xb79f777f in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#16 0xb79f7fb1 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#17 0xb71515ac in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0xb748f26a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#19 0xb716b78d in QSignal::activate () from /usr/lib/libqt-mt.so.3
#20 0xb7258829 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#21 0xb7187737 in QWidget::event () from /usr/lib/libqt-mt.so.3
#22 0xb70f4bff in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#23 0xb70f42f4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#24 0xb772ee03 in KApplication::notify () from /usr/lib/libkdecore.so.4
#25 0xb7089241 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#26 0xb70872de in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#27 0xb709e1c4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#28 0xb7106f58 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#29 0xb7106e08 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#30 0xb70f4e51 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#31 0x0813b774 in main ()




More information about the umbrello-devel mailing list