After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660574 - DIA 0.97.1 freezed after using two shapes from SADT/IDEF on Win7 64-bit
DIA 0.97.1 freezed after using two shapes from SADT/IDEF on Win7 64-bit
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: shapes
0.97.x
Other Windows
: Normal critical
: 0.97.3
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-30 16:28 UTC by thompsonac
Modified: 2013-08-16 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description thompsonac 2011-09-30 16:28:39 UTC
After dragging two shapes from the SADT/IDEF0 palette onto the workspace DIA freezes at its current memory usage and has to be manually killed. It's impossible to use the IDEF shapes.
Comment 1 Hans Breuer 2011-10-05 14:13:35 UTC
I have tried to reproduce the issues with various OS and Dia versions, also with the newest installer version under win7/64 - the only glitch I could see was drag and drop not working at all on win8 preview. No crash or freeze, though.

BTW: you should also be able to select the shape button and simply click in the diagram. Does that have the same ill effect for you?

Is there anything special with your installation or with your OS?
What's the content of $(TEMP)/dia-0.97.1.log ?

Setting NEEDSINFO to get reproduceable steps or at least an idea where this might fail.
Comment 2 thompsonac 2011-10-05 14:32:39 UTC
Yes, selecting the shape button and clicking in the diagram creates the same condition.

There is nothing unique about my installation that I can tell. I'm  Unfortunately I can't find any copy of the dia-0.97.1.log file. 

Specific steps that create the lockup:
1. Start DIA 0.97.1
2. Expand window size using handle in lower-right corner of window
3. Select SADT/IDEF0 shape sheet from the Other Sheets entry in the drop-down box below the drawing tools.
4. Select activity/data box and create two instances in the drawing area

DIA freezes in about 15-25 seconds.
Comment 3 thompsonac 2011-10-05 14:34:50 UTC
Found the log file:

Dia (0.97.1) instance 1 started using Gtk 2.16.6 (1606)
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\athompson\AppData\Roaming
asl.log=Destination=file
BURN_AUTOPLAY=C:\Program Files (x86)\Roxio\oem\Roxio Burn\
CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
CommonProgramFiles=C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=********
ComSpec=C:\Windows\system32\cmd.exe
EMC_AUTOPLAY=C:\Program Files (x86)\Common Files\Roxio Shared\OEM\
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\********
LOCALAPPDATA=C:\Users\********\AppData\Local
LOGONSERVER=\\****
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=\bin;C:\Program Files (x86)\Dia\bin;c:\Oracle\product64\11.2.0\client_1\bin;c:\Oracle\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Enterprise Vault\EVClient\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCore\;C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Windows;C:\Windows\System32;C:\Windows\System32\WBEM;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\MATLAB\R2011a\runtime\win64;C:\Program Files\MATLAB\R2011a\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2a07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files (x86)
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
QTJAVA=C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
RCAUTOPLAY=C:\Program Files (x86)\Roxio\OEM\Roxio Central 5\
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\*****~1\AppData\Local\Temp
TMP=C:\Users\A*****~1\AppData\Local\Temp
USERDNSDOMAIN=********.ORG
USERDOMAIN=MITRE
USERNAME=********
USERPROFILE=C:\Users\********
windir=C:\Windows
Comment 4 Hans Breuer 2011-10-05 16:02:06 UTC
(In reply to comment #2)
> DIA freezes in about 15-25 seconds.
How does this 'freeze' manifest itself? By Windows changing the title line to (not responding)? Is this behavior restricted to the SADT shapes or does it happen independently of the shapes you use?

(There is nothing special with the SADT shapes, especially nothing which could kick in after 15-25 seconds. The only idle task Dia has is the auto-saving, but that's only started after 5 minutes.)

Also your log file does not show anything special, so I'm still out of ideas.
Comment 5 thompsonac 2011-10-05 16:09:09 UTC
The freeze - all controls in DIA window stop responding, DIA windows does not refresh when other windows moved over it, processor (core) usage pegs at 100%

It only happens with the SADT shapes - I've tried flowchart, database, network, Cisco, UML... and I have no problems.

Ghost in the machine? ;-)
Comment 6 Bart.S 2011-10-05 17:51:32 UTC
I can reproduce here on Win XP, Dia 0.97.1-1.
I have never used these shapes before. I added some of these shapes to a new diagram, tried to change properties, moved them around, nothing special et voila, Dia freezes. Title line says (not responding), one core processor usage pegs at 100%. Killing Dia process is the only option.
Where are the Ghostbusters :P
Comment 7 Fabio Durán Verdugo 2011-12-21 02:59:11 UTC
as per comment 6 change the status to NEW
Comment 8 Hans Breuer 2012-07-29 20:46:15 UTC
While getting rid of NewOrthConn I've seen a similar issue and added the following workaround:

http://git.gnome.org/browse/dia/diff/plug-ins/cairo/diacairo-renderer.c?id=302d5038e755cabb5ce9292d66d0ab9113153e15

But I still can not reproduce with dia-0.97.2
Comment 9 Hans Breuer 2013-08-16 13:23:31 UTC
Merged and pushed to dia-0-97 branch:
https://git.gnome.org/browse/dia/commit/?h=dia-0-97&id=eb4e80afe3f25b1d91f00bdd8dbf67e38adad1f8