Bug #48088 cairo error: out of memory on double-clicking table, relationship, etc.
Submitted: 15 Oct 2009 15:10 Modified: 9 Nov 2009 11:56
Reporter: Karsten Wutzke Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.4a OS:Windows (XP)
Assigned to: CPU Architecture:Any
Tags: Cairo, error, out of memory

[15 Oct 2009 15:10] Karsten Wutzke
Description:
I open one of my models, when double-clicking on any table I get several message boxes popping up saying:

cairo error: out of memory

How to repeat:
see description

Suggested fix:
-
[21 Oct 2009 20:52] Bartosz Grzybowski
I have the same error in 5.2.6 version on Windows 7 proffesional.
[23 Oct 2009 7:28] W van Kuipers
I have the same problem, my pc setup:

MySQL Workbench OSS for Windows version 5.2.6
Cairo Version: 1.8.6
Rendering Mode: OpenGL requested (create a diagram to confirm)
OpenGL Driver Version: 2.1.8787
OS: unknown
CPU: 4x Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz, 4.0 GB RAM
Video adapter info:
Adapter type: ATI Radeon HD 4650 
Chip Type: ATI display adapter (0x9498)
BIOS String: 113-AC06100-100-PI
Video Memory: 524288 KB

The OS is Windows 7 Professional x64
[27 Oct 2009 15:21] Ruslanas Tretjakovas
I have the same problem with Windows XP professional
[27 Oct 2009 22:01] Nathan Rowden
Same problem 5.2.6 OSS rev 4213, Win 7 x64 and Vista x64

very easy to repeat
1) Reverse engineer a database
2) Double-click on any table in the resulting EER Diagram
3) cairo error: out of memory
(optionally)
4) close diagram
5) open diagram
6) goto 3
[29 Oct 2009 13:29] MySQL Verification Team
I couldn't repeat with 5.2.6 on Vista 64-bit.
[29 Oct 2009 13:35] Bartosz Grzybowski
I avoided this error by zooming in the project view, but if I zoom out the erreor ocures again :/ 
That's 27 - tables diagram.
[3 Nov 2009 11:08] Adam Bridger
I'm getting the same thing on 5.2.6 (4213) when opening an mwb saved with 5.2.1.
[3 Nov 2009 11:17] Adam Bridger
The error seemed to go away after I edited a table on the Model tab, save, close & reopen.
[3 Nov 2009 11:25] Adam Bridger
OK scrap that, still getting it for that mwb.

If I open the table details window in the Model tab, then switch to the EER Diagram tab it seems to be OK. But, if the table detail window isn't visible in the EER Diagram tab and I double click on a table, then I get the error.
[9 Nov 2009 9:31] Petr Svoboda
I have same problems with 5.2.6. OSS Alpha on my fresh installed Windows7. 

Frequently I get error "cairo error: out of memory". If I omit it through pressing Ok, I come in situation when Wokbench seems to work, but I am not able to save anything, pressing Ctrl+S do nothing and finally program crashed. 

So, outline is copy "msvcr71.dll" into Windows/System32/. This one, contained in Program Files/MySQL/MySQL Workbench 5.2 OSS is good, but in my istalation is many msvcr71.dll's. 

Error message "cairo error: out of memory" don't provide much suggestions for user.
[9 Nov 2009 11:56] Karsten Wutzke
BTW the Ctrl-S issue is another one:

http://bugs.mysql.com/bug.php?id=45394
[10 Nov 2009 4:31] Alberto Montes
montes_luisalberto79@hotmail.com

Steps to correct it.
1.- Edit
2.- Preferences
3.- Change: Interactive GRT Shell Language a "Python". No "LUA"
4.- Close the program.
5.- Restart.
[13 Nov 2009 0:51] Fernando Alp
If I change to phyton, the program gets blocked (gets me to the "caio out of .... etc)) so that's not a solution.Using lua, that error appears from time to time.
I also can't read the table's letters for some reason, and background extremely buggy.
My specs:

MySQLWorkbench 5.2.6 Alpha
OS: Win 7 PRO x64
CPU: AMD Athlon 64 X2 +4800 2.5GHz
GPU: dual 9600GT 512MB
HD: WD 160GB 16MB cache 7200RPM
Monitor: SAMSUNG SyncMaster 941BW 19"
RAM: 3GB @ 800MHz , stock volts
PSU: Corsair CMPSU-750TX 750-Watt TX Series 80