GNOME Bugzilla – Bug 154803
Exporting diagram to EPS using Pango fonts causes segfault on Windows
Last modified: 2004-12-22 21:47:04 UTC
(1) Create or open a UML diagram, or anything else with text I imagine. (2) Select Export to EPS using Pango fonts What happens is that it begins the export process and then crashes with a segfault. It sometimes does write a bit of data to the specified file (in my case a single box) prior to the crash. I'm using 0.94 as provided by http://dia-installer.sourceforge.net/, with Pango 1.4.0 (according to the directory hierarchy anyway). Dr. Watson gives the following (if it's any use at all): State Dump for Thread Id 0x5f0 eax=00000000 ebx=00000000 ecx=00000000 edx=00000001 esi=01956008 edi=00000002 eip=66fd33e6 esp=0012ec14 ebp=01956008 iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202 function: FT_Outline_Reverse 66fd33be 6685d2 test dx,dx 66fd33c1 6689542402 mov [esp+0x2],dx ss:00c08afc=???? 66fd33c6 0f8eb0000000 jle FT_Outline_Reverse+0xdc (66fd347c) 66fd33cc 8d742600 lea esi,[esi+0x0] ds:0242feef=???????? 66fd33d0 8b6c2420 mov ebp,[esp+0x20] ss:00c08afb=???????? 66fd33d4 8b4c2408 mov ecx,[esp+0x8] ss:00c08afb=???????? 66fd33d8 8b742420 mov esi,[esp+0x20] ss:00c08afb=???????? 66fd33dc 8b7d0c mov edi,[ebp+0xc] ss:0242feee=???????? 66fd33df 8b442404 mov eax,[esp+0x4] ss:00c08afb=???????? 66fd33e3 8b5e04 mov ebx,[esi+0x4] ds:0242feee=???????? FAULT ->66fd33e6 0fbf2c4f movsx ebp,word ptr [edi+ecx*2] ds:00000000=???? 66fd33ea 8d3cc3 lea edi,[ebx+eax*8] ds:00000000=???????? 66fd33ed 8d34eb lea esi,[ebx+ebp*8] ds:01956008=00000001 66fd33f0 39f7 cmp edi,esi 66fd33f2 732a jnb FT_Outline_Get_BBox+0x60e (66fdc11e) 66fd33f4 8db600000000 lea esi,[esi] ds:01956008=00000001 66fd33fa 8dbf00000000 lea edi,[edi] ds:00000002=???????? 66fd3400 8b0f mov ecx,[edi] ds:00000002=???????? 66fd3402 8b5f04 mov ebx,[edi+0x4] ds:00ad9ee8=???????? 66fd3405 8b06 mov eax,[esi] ds:01956008=00000001 66fd3407 8b5604 mov edx,[esi+0x4] ds:0242feee=???????? 66fd340a 8907 mov [edi],eax ds:00000002=???????? *----> Stack Back Trace <----* FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name 01956008 00000000 00000219 00000002 0000037D 01B291D0 !FT_Outline_Reverse *----> Raw Stack Dump <----* 0012ec14 30 a7 01 00 00 00 00 00 - 00 00 00 00 38 61 a6 01 0...........8a.. 0012ec24 d0 cd a8 01 68 b5 b1 01 - 74 ec 12 00 1f 2b 41 00 ....h...t....+A. 0012ec34 08 60 95 01 37 00 00 00 - 08 00 00 00 68 ec 12 00 .`..7.......h... 0012ec44 30 a7 03 78 09 00 00 00 - 04 00 00 00 2c 01 00 00 0..x........,... 0012ec54 98 2b 41 00 c9 2b 41 00 - fa 2b 41 00 38 2c 41 00 .+A..+A..+A.8,A. 0012ec64 00 00 00 00 00 00 00 00 - 08 00 00 00 00 50 09 00 .............P.. 0012ec74 30 ed 12 00 50 2a 41 00 - d8 b4 b1 01 2c 01 00 00 0...P*A.....,... 0012ec84 08 60 95 01 37 00 00 00 - 53 99 4f 43 41 96 23 40 .`..7...S.OCA.#@ 0012ec94 cd cc cc cc cc cc 10 40 - 00 f4 00 00 00 00 00 00 .......@........ 0012eca4 00 00 00 00 cd cc cc cc - cc cc 10 40 53 99 4f 43 ...........@S.OC 0012ecb4 41 96 23 40 1a 07 84 c3 - f8 56 e1 3e 00 00 00 00 A.#@.....V.>.... 0012ecc4 b8 d4 b1 01 38 e0 b1 01 - 54 d6 b1 01 08 60 95 01 ....8...T....`.. 0012ecd4 48 d6 b1 01 09 00 00 00 - e8 8f b2 01 00 00 00 00 H............... 0012ece4 e8 8f b2 01 38 20 a6 01 - 00 00 00 00 88 a9 ab 01 ....8 .......... 0012ecf4 d8 b4 b1 01 01 00 00 00 - 2c ed 12 00 3e 34 49 00 ........,...>4I. 0012ed04 08 43 ac 01 88 a9 ab 01 - 01 00 00 00 00 00 00 00 .C.............. 0012ed14 00 00 00 00 00 08 00 00 - 01 00 00 00 38 61 a6 01 ............8a.. 0012ed24 d0 cd a8 01 68 b5 b1 01 - 01 00 00 00 b0 ed 12 00 ....h........... 0012ed34 6b 2f 41 00 d8 b4 b1 01 - 2c 01 00 00 60 c4 b1 01 k/A.....,...`... 0012ed44 bf 36 f5 94 af 9e 24 40 - cd cc cc cc cc cc 10 40 .6....$@.......@ State Dump for Thread Id 0x414 eax=00140e84 ebx=80020000 ecx=00000000 edx=00000000 esi=00141690 edi=00000100 eip=77f83310 esp=013bfe28 ebp=013bff74 iopl=0 nv up ei pl nz na po nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000206 function: ZwReplyWaitReceivePortEx 77f83305 b8ac000000 mov eax,0xac 77f8330a 8d542404 lea edx,[esp+0x4] ss:01e99d0f=???????? 77f8330e cd2e int 2e 77f83310 c21400 ret 0x14 *----> Stack Back Trace <----* FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name 013BFF74 77D37B4C 77D35924 00141690 77D33E01 00130000 ntdll!ZwReplyWaitReceivePortEx 013BFFA8 77D358D6 00141478 013BFFEC 7C57438B 00141730 rpcrt4!NdrCorrelationInitialize 013BFFB4 7C57438B 00141730 77D33E01 00130000 00141730 rpcrt4!RpcBindingFree 013BFFEC 00000000 00000000 00000000 00000000 00000000 kernel32!TlsSetValue State Dump for Thread Id 0x534 eax=77d358be ebx=00146550 ecx=00000000 edx=00000000 esi=00141690 edi=00000100 eip=77f83310 esp=02d3fe28 ebp=02d3ff74 iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202 function: ZwReplyWaitReceivePortEx 77f83305 b8ac000000 mov eax,0xac 77f8330a 8d542404 lea edx,[esp+0x4] ss:03819d0f=???????? 77f8330e cd2e int 2e 77f83310 c21400 ret 0x14 *----> Stack Back Trace <----* FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name 02D3FF74 77D37B4C 77D35924 00141690 00000000 00000000 ntdll!ZwReplyWaitReceivePortEx 02D3FFA8 77D358D6 0014DBB0 02D3FFEC 7C57438B 00146550 rpcrt4!NdrCorrelationInitialize 02D3FFB4 7C57438B 00146550 00000000 00000000 00146550 rpcrt4!RpcBindingFree 02D3FFEC 00000000 00000000 00000000 00000000 00000000 kernel32!TlsSetValue
Sorry, I searched for this (really), but I didn't find it for some reason. I've since realized it's a duplicate. *** This bug has been marked as a duplicate of 150813 ***