Bug 396371 - Umbrello stopped during Code Importing Progress
Summary: Umbrello stopped during Code Importing Progress
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: MacPorts macOS
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-07-10 14:59 UTC by Bruno
Modified: 2021-01-18 04:33 UTC (History)
2 users (show)

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 Bruno 2018-07-10 14:59:41 UTC
Application: umbrello (2.14.3)
KDE Platform Version: 4.14.3
Qt Version: 4.8.7
Operating System: Darwin 17.6.0 x86_64
Distribution (Platform): MacPorts Packages

-- Information about the crash:
- What I was doing when the application crashed:
	Umbrello just stopped after I clicked the button to import codes and generate the Class Diagram.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault: 11
(lldb) process attach --pid 12725
Process 12725 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fff612fe232 libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
->  0x7fff612fe232 <+10>: jae    0x7fff612fe23c            ; <+20>
    0x7fff612fe234 <+12>: movq   %rax, %rdi
    0x7fff612fe237 <+15>: jmp    0x7fff612f4b25            ; cerror
    0x7fff612fe23c <+20>: retq   
Target 0: (umbrello) stopped.

Executable module set to "/Applications/MacPorts/KDE4/umbrello.app/Contents/MacOS/umbrello".
Architecture set to: x86_64h-apple-macosx.
(lldb) set set term-width 200
(lldb) thread info
thread #1: tid = 0x705c5b, 0x00007fff612fe232 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

(lldb) bt all
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff612fe232 libsystem_kernel.dylib`__wait4 + 10
    frame #1: 0x000000010b82563e libkdeui.5.dylib`KCrash::startProcess(int, char const**, bool) + 264
    frame #2: 0x000000010b8249b3 libkdeui.5.dylib`KCrash::defaultCrashHandler(int) + 1050
    frame #3: 0x00007fff614bbf5a libsystem_platform.dylib`_sigtramp + 26
    frame #4: 0x000000010a7a430a umbrello`AST::getEndPosition(int*, int*) const + 10
    frame #5: 0x000000010a7e75c6 umbrello`Parser::parseDeclarationInternal(std::__1::auto_ptr<DeclarationAST>&) + 4726
    frame #6: 0x000000010a7f8547 umbrello`Parser::parseMemberSpecification(std::__1::auto_ptr<DeclarationAST>&) + 4007
    frame #7: 0x000000010a7e4ebc umbrello`Parser::parseClassSpecifier(std::__1::auto_ptr<TypeSpecifierAST>&) + 796
    frame #8: 0x000000010a7dda53 umbrello`Parser::parseDeclaration(std::__1::auto_ptr<DeclarationAST>&) + 307
    frame #9: 0x000000010a7dd461 umbrello`Parser::parseTranslationUnit(KSharedPtr<TranslationUnitAST>&) + 401
    frame #10: 0x000000010a7b559d umbrello`Driver::ParseHelper::parse() + 205
    frame #11: 0x000000010a7b6638 umbrello`Driver::parseFile(QString const&, bool, bool, bool) + 392
    frame #12: 0x000000010a83fa59 umbrello`CppImport::parseFile(QString const&) + 169
    frame #13: 0x000000010a7965b1 umbrello`CodeImpThread::run() + 433
    frame #14: 0x000000010a7944bd umbrello`CodeImpStatusPage::importCodeFile(bool) + 941
    frame #15: 0x000000010c14bdaa QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2074
    frame #16: 0x000000010c150852 QtCore`QSingleShotTimer::timerEvent(QTimerEvent*) + 50
    frame #17: 0x000000010c146ecc QtCore`QObject::event(QEvent*) + 172
    frame #18: 0x000000010c752f2b QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #19: 0x000000010c754473 QtGui`QApplication::notify(QObject*, QEvent*) + 323
    frame #20: 0x000000010c132a71 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 113
    frame #21: 0x000000010c7053b7 QtGui`QEventDispatcherMacPrivate::activateTimer(__CFRunLoopTimer*, void*) + 199
    frame #22: 0x00007fff393a9064 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    frame #23: 0x00007fff393a8cd7 CoreFoundation`__CFRunLoopDoTimer + 1095
    frame #24: 0x00007fff393a87da CoreFoundation`__CFRunLoopDoTimers + 346
    frame #25: 0x00007fff3939fdab CoreFoundation`__CFRunLoopRun + 2427
    frame #26: 0x00007fff3939f1a3 CoreFoundation`CFRunLoopRunSpecific + 483
    frame #27: 0x00007fff38685d96 HIToolbox`RunCurrentEventLoopInMode + 286
    frame #28: 0x00007fff38685a0f HIToolbox`ReceiveNextEventCommon + 366
    frame #29: 0x00007fff38685884 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64
    frame #30: 0x00007fff36937a73 AppKit`_DPSNextEvent + 2085
    frame #31: 0x00007fff370cde34 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
    frame #32: 0x000000010c706b9e QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1710
    frame #33: 0x000000010c12fa8e QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 478
    frame #34: 0x000000010cba4e44 QtGui`QDialog::exec() + 244
    frame #35: 0x000000010aa65886 umbrello`UMLApp::slotImportingWizard() + 54
    frame #36: 0x000000010c14bdaa QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2074
    frame #37: 0x000000010c749b00 QtGui`QAction::activate(QAction::ActionEvent) + 208
    frame #38: 0x000000010c6fd0c1 QtGui`-[QCocoaMenuLoader qtDispatcherToQAction:] + 65
    frame #39: 0x00007fff370cfa43 AppKit`-[NSApplication(NSResponder) sendAction:to:from:] + 312
    frame #40: 0x00007fff36b64213 AppKit`-[NSMenuItem _corePerformAction] + 323
    frame #41: 0x00007fff36b63f9b AppKit`-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
    frame #42: 0x00007fff36be9c7a AppKit`-[NSMenu performActionForItemAtIndex:] + 133
    frame #43: 0x00007fff36be9be5 AppKit`-[NSMenu _internalPerformActionForItemAtIndex:] + 94
    frame #44: 0x00007fff36be9a15 AppKit`-[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 106
    frame #45: 0x00007fff36ab02a2 AppKit`NSSLMMenuEventHandler + 882
    frame #46: 0x00007fff3865e904 HIToolbox`DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1541
    frame #47: 0x00007fff3865dc4d HIToolbox`SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 374
    frame #48: 0x00007fff38672f21 HIToolbox`SendEventToEventTarget + 39
    frame #49: 0x00007fff386bc3f9 HIToolbox`SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 411
    frame #50: 0x00007fff386e52ee HIToolbox`SendMenuCommandWithContextAndModifiers + 49
    frame #51: 0x00007fff386e52aa HIToolbox`SendMenuItemSelectedEvent + 188
    frame #52: 0x00007fff386e5184 HIToolbox`FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 96
    frame #53: 0x00007fff386e5b26 HIToolbox`MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 559
    frame #54: 0x00007fff386e5866 HIToolbox`_HandleMenuSelection2 + 472
    frame #55: 0x00007fff36aa1acf AppKit`_NSHandleCarbonMenuEvent + 244
    frame #56: 0x00007fff36cfbdde AppKit`_DPSEventHandledByCarbon + 54
    frame #57: 0x00007fff370cd5e2 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 914
    frame #58: 0x00007fff3692c885 AppKit`-[NSApplication run] + 764
    frame #59: 0x000000010c7066d2 QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 482
    frame #60: 0x000000010c12fa8e QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 478
    frame #61: 0x000000010c1330b1 QtCore`QCoreApplication::exec() + 193
    frame #62: 0x000000010aa28bfc umbrello`main + 2108
    frame #63: 0x00007fff611ad015 libdyld.dylib`start + 1
  thread #2, name = 'com.apple.CFSocket.private'
    frame #0: 0x00007fff612fdcfa libsystem_kernel.dylib`__select + 10
    frame #1: 0x00007fff393da8db CoreFoundation`__CFSocketManager + 635
    frame #2: 0x00007fff614c5661 libsystem_pthread.dylib`_pthread_body + 340
    frame #3: 0x00007fff614c550d libsystem_pthread.dylib`_pthread_start + 377
    frame #4: 0x00007fff614c4bf9 libsystem_pthread.dylib`thread_start + 13
  thread #3, name = 'com.apple.NSEventThread'
    frame #0: 0x00007fff612f420a libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff612f3724 libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x00007fff393a07d5 CoreFoundation`__CFRunLoopServiceMachPort + 341
    frame #3: 0x00007fff3939fb27 CoreFoundation`__CFRunLoopRun + 1783
    frame #4: 0x00007fff3939f1a3 CoreFoundation`CFRunLoopRunSpecific + 483
    frame #5: 0x00007fff36a74fc4 AppKit`_NSEventThread + 184
    frame #6: 0x00007fff614c5661 libsystem_pthread.dylib`_pthread_body + 340
    frame #7: 0x00007fff614c550d libsystem_pthread.dylib`_pthread_start + 377
    frame #8: 0x00007fff614c4bf9 libsystem_pthread.dylib`thread_start + 13
  thread #4, name = 'QFileInfoGatherer'
    frame #0: 0x00007fff612fda1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff614c6589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x000000010c02a96b QtCore`QWaitConditionPrivate::wait(unsigned long) + 235
    frame #3: 0x000000010c02a847 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 87
    frame #4: 0x000000010cbdfa12 QtGui`QFileInfoGatherer::run() + 226
    frame #5: 0x000000010c0292b8 QtCore`QThreadPrivate::start(void*) + 376
    frame #6: 0x00007fff614c5661 libsystem_pthread.dylib`_pthread_body + 340
    frame #7: 0x00007fff614c550d libsystem_pthread.dylib`_pthread_start + 377
    frame #8: 0x00007fff614c4bf9 libsystem_pthread.dylib`thread_start + 13
  thread #5, name = 'QKqueueFileSystemWatcherEngine'
    frame #0: 0x00007fff612febf2 libsystem_kernel.dylib`kevent + 10
    frame #1: 0x000000010c116518 QtCore`QKqueueFileSystemWatcherEngine::run() + 712
    frame #2: 0x000000010c0292b8 QtCore`QThreadPrivate::start(void*) + 376
    frame #3: 0x00007fff614c5661 libsystem_pthread.dylib`_pthread_body + 340
    frame #4: 0x00007fff614c550d libsystem_pthread.dylib`_pthread_start + 377
    frame #5: 0x00007fff614c4bf9 libsystem_pthread.dylib`thread_start + 13
  thread #6
    frame #0: 0x00007fff612fe292 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff614c5009 libsystem_pthread.dylib`_pthread_wqthread + 1035
    frame #2: 0x00007fff614c4be9 libsystem_pthread.dylib`start_wqthread + 13
  thread #7
    frame #0: 0x00007fff612fe292 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff614c520e libsystem_pthread.dylib`_pthread_wqthread + 1552
    frame #2: 0x00007fff614c4be9 libsystem_pthread.dylib`start_wqthread + 13
  thread #8
    frame #0: 0x00007fff612fe292 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff614c520e libsystem_pthread.dylib`_pthread_wqthread + 1552
    frame #2: 0x00007fff614c4be9 libsystem_pthread.dylib`start_wqthread + 13
  thread #9
    frame #0: 0x00007fff612fe292 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff614c520e libsystem_pthread.dylib`_pthread_wqthread + 1552
    frame #2: 0x00007fff614c4be9 libsystem_pthread.dylib`start_wqthread + 13
  thread #10
    frame #0: 0x00007fff612fe292 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff614c520e libsystem_pthread.dylib`_pthread_wqthread + 1552
    frame #2: 0x00007fff614c4be9 libsystem_pthread.dylib`start_wqthread + 13
(lldb) detach
Process 12725 detached
(lldb) quit

Possible duplicates by query: bug 396138, bug 395984, bug 395983, bug 395982, bug 395913.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-04 03:25:12 UTC
Thank you for the report, Bruno.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2020-12-19 04:35:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Oliver Kellogg 2020-12-19 09:28:55 UTC
(In reply to Bruno from comment #0)
> frame #3: 0x00007fff614bbf5a
>   libsystem_platform.dylib`_sigtramp + 26
> frame #4: 0x000000010a7a430a
>   umbrello`AST::getEndPosition(int*, int*) const + 10
> frame #5: 0x000000010a7e75c6
>   umbrello`Parser::parseDeclarationInternal(auto_ptr<DeclarationAST>&) + 4726
> frame #6: 0x000000010a7f8547
>   umbrello`Parser::parseMemberSpecification(auto_ptr<DeclarationAST>&) + 4007
> frame #7: 0x000000010a7e4ebc
>   umbrello`Parser::parseClassSpecifier(auto_ptr<TypeSpecifierAST>&) + 796
> frame #8: 0x000000010a7dda53
>   umbrello`Parser::parseDeclaration(auto_ptr<DeclarationAST>&) + 307

The crash happened in the C++ parser.
Could you attach the code that you were importing?
Comment 4 Bug Janitor Service 2021-01-03 04:34:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-01-18 04:33:20 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!