Summary: | Crash on ER foreign key constraint save | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Roman I Khimov <rik> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | dimon, emdeck, FOXN, jgelens, laisemberg, mark, ralf.habacker, schkovich |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.10.97 | |
Sentry Crash Report: |
Description
Roman I Khimov
2008-08-03 22:39:20 UTC
Looks like I have reproducable procedure for this one now. Fire up Umbrello. Create New ER diagram. Create new entity, add some fields. Add Primary Key. Create another entity, add some fields. Add Foreign Key referencing first entity. Save the file. Now in the first entity delete field which is Primary Key based on. Save the file. Boom! i have same problem but just when i tried to save changes of the entity that has the fk, the applicattion crashes before saving same here with Gentoo & KDE-4.1.3 from portage. Umbrello crashes every time I select "Foreign key" constraint. Hitting "Apply" doesn't kill app, but after hitting "OK" it crashes for sure. It's quite annoying and unpleasant as-is. Don't have much time to go through traces etc. to help narrow down the issue, but it looks like this is a common problem and it's distro-independent so should be easy to reproduce in "lab" environment. I'm experiencing the same problem, exactly as Lucio and Dmitry describe it. Same problem here using the Arch Linux package. Same problem on Ubuntu 8.10. I just thought that I finally have found nice tool. :( Application: Umbrello UML Modeller (umbrello), signal SIGABRT 0x00007f3b0879f6b0 in __nanosleep_nocancel () from /lib/libc.so.6 Thread 1 (Thread 0x7f3b0c79d6f0 (LWP 31726)): [KCrash Handler] #5 0x00007f3b0872a015 in raise () from /lib/libc.so.6 #6 0x00007f3b0872bb83 in abort () from /lib/libc.so.6 #7 0x00007f3b0a8bc6b5 in qt_message_output () from /usr/lib/libQtCore.so.4 #8 0x00007f3b0a8bc7fd in qFatal () from /usr/lib/libQtCore.so.4 #9 0x000000000046abd9 in _start () No data in other logs. I'm getting the same result with Umbrello 2.1.3 on System: openSUSE 11.1 (x86_64) KDE: 4.1.3 (KDE 4.1.3) "release 4.10.4" In the diagram: New "Foreign key" constraint. Change Referenced Entity from default to correct Entity Hitting "Apply" doesn't kill app Hitting "OK" does every time. Backtrace reports as useless or I'd include it. Interestingly enough if I add the FK and allow it to keep it's default self reference, I can go back and edit it to reference the correct entity and Umbrello won't crash. This is a bit more complicated (at least in Version 2.5.90). Every try to use this feature using Properties dialog leads to crash but adding FK using context menu option works fine (also when not using defaults). Could not reproduce the mentioned issues in git master. |