Error in dynamc loading of _Image_FreeType.so on Windows
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2802
Reported by Martin Nilsson, IDA nilsson@pike.ida.liu.se
While trying to run Aido on w2k the following error occured.
Failed to initialize dynamic module
"d:/program/pike/7.3.14/lib/modules/_Image_F
reeType.so".
d:/program/pike/7.3.14/lib/master.pike:543:
master()->low_findprog("d:/program/p
ike/7.3.14/lib/modules/_Image_FreeType",".so",0,1)
d:/program/pike/7.3.14/lib/master.pike:586:
master()->findprog("d:/program/pike/
7.3.14/lib/modules/_Image_FreeType","",0,1)
d:/program/pike/7.3.14/lib/master.pike:615:
master()->low_cast_to_program("d:/pr
ogram/pike/7.3.14/lib/modules/_Image_FreeType","/.",0,1)
d:/program/pike/7.3.14/lib/master.pike:807:
master()->low_cast_to_object("d:/pro
gram/pike/7.3.14/lib/modules/_Image_FreeType","/.",0)
d:/program/pike/7.3.14/lib/master.pike:1147:
master()->findmodule("d:/program/pi
ke/7.3.14/lib/modules/_Image_FreeType",0)
d:/program/pike/7.3.14/lib/master.pike:1339:
master()->resolv_base("_Image_FreeT
ype",0,0)
d:/program/pike/7.3.14/lib/master.pike:1397:
master()->resolv("_Image_FreeType",
0,0)
d:/program/pike/7.3.14/lib/modules/Image.so: `[]("FreeType")
d:/program/pike/7.3.14/lib/master.pike:350:
master()->compile_file("d:/program/p
ike/7.3.14/lib/modules/_Image.pmod/Fonts.pmod",0,Fonts,object)
d:/program/pike/7.3.14/lib/master.pike:528:
master()->low_findprog("d:/program/p
ike/7.3.14/lib/modules/_Image.pmod/Fonts.pmod","",0,1)
d:/program/pike/7.3.14/lib/master.pike:584:
master()->findprog("d:/program/pike/
7.3.14/lib/modules/_Image.pmod/Fonts.pmod",".pmod",0,1)
d:/program/pike/7.3.14/lib/master.pike:615:
master()->low_cast_to_program("d:/pr
ogram/pike/7.3.14/lib/modules/_Image.pmod/Fonts","/.",0,1)
d:/program/pike/7.3.14/lib/master.pike:807:
master()->low_cast_to_object("d:/pro
gram/pike/7.3.14/lib/modules/_Image.pmod/Fonts.pmod","/.",0)
d:/program/pike/7.3.14/lib/master.pike:1142:
master()->findmodule("d:/program/pi
ke/7.3.14/lib/modules/_Image.pmod/Fonts",0)
d:/program/pike/7.3.14/lib/master.pike:925:
master()->dirnode("d:/program/pike/7
.3.14/lib/modules/_Image.pmod")->ind("d:/program/pike/7.3.14/lib/modules/_I
mage.
pmod/Fonts")
d:/program/pike/7.3.14/lib/master.pike:953:
master()->dirnode("d:/program/pike/7
.3.14/lib/modules/_Image.pmod")->`[]("Fonts")
d:/program/pike/7.3.14/lib/modules/Image.so: `[]("Fonts")
d:/program/pike/7.3.14/lib/master.pike:351:
master()->compile_file("D:/Program/p
ike/aido/programs/server/modules/tab.pike",0,D:/Program/pike/aido/programs/
serve
r/modules/tab.pike,0)
A printout from Dr.Watson says:
Application exception occurred: App: pike.exe (pid=1124) When: 2002-03-01 @ 00:22:11.173 Exception number: c0000005 (access violation)
----> System Information <---- Computer Name: ELEMENT User Name: Martin Nilsson Number of Processors: 1 Processor Type: x86 Family 6 Model 4 Stepping 2 Windows 2000 Version: 5.0 Current Build: 2195 Service Pack: 2 Current Type: Uniprocessor Free Registered Organization: Unmateriels Registered Owner: Martin Nilsson
----> Task List <---- 0 Idle.exe 8 System.exe 152 smss.exe 180 csrss.exe 176 winlogon.exe 228 services.exe 240 lsass.exe 416 svchost.exe 448 spoolsv.exe 480 svchost.exe 520 regsvc.exe 536 MSTask.exe 564 stisvc.exe 632 WinMgmt.exe 644 mspmspsv.exe 604 Explorer.exe 812 devldr32.exe 1052 qttask.exe 1068 ICQ.exe 972 UD.exe 308 PGPtray.exe 1032 hotsync.exe 804 ud_1066573.exe 740 netscape.exe 540 WinKOM.exe 692 ntvdm.exe 1084 cmd.exe 1104 TXTPAD32.exe 1140 winmysqladmin.e.exe 1132 mysqld-nt.exe 1100 notepad.exe 528 cmd.exe 1164 pike.exe 1124 pike.exe 1220 pike.exe 1236 drwtsn32.exe 1264 drwtsn32.exe 0 _Total.exe
(00400000 - 006CD000) (77F80000 - 77FFB000) (77E80000 - 77F35000) (75030000 - 75043000) (78000000 - 78046000) (77DB0000 - 77E0C000) (77D40000 - 77DB0000) (75020000 - 75028000) (782F0000 - 78532000) (77F40000 - 77F7C000) (77E10000 - 77E74000) (70BD0000 - 70C34000) (71780000 - 7180A000) (74FD0000 - 74FEF000) (75010000 - 75017000) (75170000 - 751BF000) (77BE0000 - 77BEF000) (751C0000 - 751C6000) (75150000 - 75160000) (77950000 - 7797A000) (77980000 - 779A4000) (75050000 - 75058000)
State Dump for Thread Id 0x4f4
eax=00000000 ebx=00000000 ecx=00000000 edx=00000001 esi=01552834 edi=00000008 eip=004aa8b1 esp=00ec9014 ebp=00ec905c iopl=0 nv up ei pl zr na po nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246
function: dlclose
004aa895 75ed jnz debug_mksvaluenode+0x2d4
(004afc84)
004aa897 53 push ebx
004aa898 ff1594b05000
ds:0050b094=77e866a7
call dword ptr
[_imp__LoadLibraryA (0050b094)]
004aa89e 8945fc mov [ebp+0xfc],eax
ss:031b662e=????????
004aa8a1 eb0a jmp copy_node+0x1d (004afead)
004aa8a3 56 push esi
004aa8a4 ff1594b05000
ds:0050b094=77e866a7
call dword ptr
[_imp__LoadLibraryA (0050b094)]
004aa8aa 8945fc mov [ebp+0xfc],eax
ss:031b662e=????????
004aa8ad 33db xor ebx,ebx
004aa8af 33c9 xor ecx,ecx
FAULT ->004aa8b1 8a783f mov bh,[eax+0x3f]
ds:022ed5d2=??
004aa8b4 8a483d mov cl,[eax+0x3d]
ds:022ed5d2=??
004aa8b7 8a583e mov bl,[eax+0x3e]
ds:022ed5d2=??
004aa8ba 33d2 xor edx,edx
004aa8bc 8a503c mov dl,[eax+0x3c]
ds:022ed5d2=??
004aa8bf c1e308 shl ebx,0x8
004aa8c2 0bd9 or ebx,ecx
004aa8c4 c1e308 shl ebx,0x8
004aa8c7 0bda or ebx,edx
004aa8c9 03d8 add ebx,eax
004aa8cb b82c025400 mov eax,0x54022c
004aa8d0 895df8 mov [ebp+0xf8],ebx
ss:031b662e=????????
----> Stack Back Trace <----
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
00EC905C 004A8B30 0160C1D8 00000000 00000000 00000001 pike!dlclose
00EC90C8 0042BEAC 01622938 01622938 00000000 0000005F pike!dlopen (FPO:
[EBP 0x0048A26A] [2,17,4])
00EC90E4 00441C6A 00410828 00000001 0181197C 0160C1B0 pike!switch_lookup
(FPO: [EBP 0x00000000] [2,0,4])
00EC9174 00453115 00EC91A4 00000008 3C7C13E2 00010008 pike!f_load_module
(FPO: [EBP 0x00000000] [1,10,4])
00ECB1BC 0040E278 0162C074 00000014 016028D0 0162FFD4
pike!compile_memsearcher0 (FPO: [EBP 0x00010008] [4,2058,4])
00010008 0050005C 006F0072 00720067 006D0061 0070005C pike!mega_apply
----> Raw Stack Dump <----
00ec9014 08 00 00 00 c5 00 00 00 - 3c c1 62 01 e8 0b 66 01
........<.b...f.
00ec9024 d8 c1 60 01 44 d0 55 01 - 01 00 00 00 00 00 55 01
...D.U.......U. 00ec9034 0f 00 00 00 d8 c1 60 01 - aa 93 40 00 0d b2 40 00 ......
...@...@.
00ec9044 03 00 00 00 38 49 60 01 - 00 00 00 00 58 13 61 01
....8I.....X.a. 00ec9054 14 68 61 01 00 00 00 00 - 34 ac 65 01 30 8b 4a 00 .ha.....4.e.0.J. 00ec9064 d8 c1 60 01 00 00 00 00 - 00 00 00 00 01 00 00 00 ..
.............
00ec9074 d8 c1 60 01 6a a2 48 00 - 33 a3 48 00 44 d0 55 01
...j.H.3.H.D.U. 00ec9084 44 d0 55 01 8f 2e 81 ff - aa 93 40 00 81 26 41 00 D.U.......@..&A. 00ec9094 03 00 00 00 e0 49 60 01 - 58 0b 66 01 14 68 61 01 .....I
.X.f..ha.
00ec90a4 1a 8b 4a 00 9e 1c 44 00 - 34 ac 65 01 01 00 00 00
..J...D.4.e.....
00ec90b4 00 00 00 00 c5 00 00 00 - ac 92 ec 00 3c c1 62 01
............<.b.
00ec90c4 03 00 00 00 00 00 00 00 - ac be 42 00 38 29 62 01
..........B.8)b.
00ec90d4 38 29 62 01 00 00 00 00 - 5f 00 00 00 ac 92 ec 00
8)b....._.......
00ec90e4 14 68 61 01 6a 1c 44 00 - 28 08 41 00 01 00 00 00
.ha.j.D.(.A.....
00ec90f4 7c 19 81 01 b0 c1 60 01 - 50 ad 65 01 c0 9f ec 00
|......P.e..... 00ec9104 ac 92 ec 00 2c bf 62 01 - 00 00 00 00 6a 00 00 00 ....,.b.....j... 00ec9114 e4 90 ec 00 df e1 40 00 - b0 ff ec 00 00 00 00 00 ......@......... 00ec9124 30 32 43 56 00 00 00 00 - 00 00 00 00 00 00 00 00 02CV............ 00ec9134 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ 00ec9144 e0 49 60 01 76 01 00 00 - 00 00 00 00 0a 00 00 00 .I
.v...........
Application exception occurred: App: pike.exe (pid=1220) When: 2002-03-01 @ 00:22:13.636 Exception number: c0000005 (access violation)
----> System Information <---- Computer Name: ELEMENT User Name: Martin Nilsson Number of Processors: 1 Processor Type: x86 Family 6 Model 4 Stepping 2 Windows 2000 Version: 5.0 Current Build: 2195 Service Pack: 2 Current Type: Uniprocessor Free Registered Organization: Unmateriels Registered Owner: Martin Nilsson
----> Task List <---- 0 Idle.exe 8 System.exe 152 smss.exe 180 csrss.exe 176 winlogon.exe 228 services.exe 240 lsass.exe 416 svchost.exe 448 spoolsv.exe 480 svchost.exe 520 regsvc.exe 536 MSTask.exe 564 stisvc.exe 632 WinMgmt.exe 644 mspmspsv.exe 604 Explorer.exe 812 devldr32.exe 1052 qttask.exe 1068 ICQ.exe 972 UD.exe 308 PGPtray.exe 1032 hotsync.exe 804 ud_1066573.exe 740 netscape.exe 540 WinKOM.exe 692 ntvdm.exe 1084 cmd.exe 1104 TXTPAD32.exe 1140 winmysqladmin.e.exe 1132 mysqld-nt.exe 1100 notepad.exe 528 cmd.exe 1220 pike.exe 1236 drwtsn32.exe 1264 drwtsn32.exe 0 _Total.exe
(00400000 - 006CD000) (77F80000 - 77FFB000) (77E80000 - 77F35000) (75030000 - 75043000) (78000000 - 78046000) (77DB0000 - 77E0C000) (77D40000 - 77DB0000) (75020000 - 75028000) (782F0000 - 78532000) (77F40000 - 77F7C000) (77E10000 - 77E74000) (70BD0000 - 70C34000) (71780000 - 7180A000) (74FD0000 - 74FEF000) (75010000 - 75017000) (75170000 - 751BF000) (77BE0000 - 77BEF000) (751C0000 - 751C6000) (75150000 - 75160000) (77950000 - 7797A000) (77980000 - 779A4000) (75050000 - 75058000)
State Dump for Thread Id 0x4c8
eax=00000000 ebx=00000000 ecx=00000000 edx=00000001 esi=01552834 edi=00000008 eip=004aa8b1 esp=00ec9014 ebp=00ec905c iopl=0 nv up ei pl zr na po nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246
function: dlclose
004aa895 75ed jnz debug_mksvaluenode+0x2d4
(004afc84)
004aa897 53 push ebx
004aa898 ff1594b05000
ds:0050b094=77e866a7
call dword ptr
[_imp__LoadLibraryA (0050b094)]
004aa89e 8945fc mov [ebp+0xfc],eax
ss:031b662e=????????
004aa8a1 eb0a jmp copy_node+0x1d (004afead)
004aa8a3 56 push esi
004aa8a4 ff1594b05000
ds:0050b094=77e866a7
call dword ptr
[_imp__LoadLibraryA (0050b094)]
004aa8aa 8945fc mov [ebp+0xfc],eax
ss:031b662e=????????
004aa8ad 33db xor ebx,ebx
004aa8af 33c9 xor ecx,ecx
FAULT ->004aa8b1 8a783f mov bh,[eax+0x3f]
ds:022ed5d2=??
004aa8b4 8a483d mov cl,[eax+0x3d]
ds:022ed5d2=??
004aa8b7 8a583e mov bl,[eax+0x3e]
ds:022ed5d2=??
004aa8ba 33d2 xor edx,edx
004aa8bc 8a503c mov dl,[eax+0x3c]
ds:022ed5d2=??
004aa8bf c1e308 shl ebx,0x8
004aa8c2 0bd9 or ebx,ecx
004aa8c4 c1e308 shl ebx,0x8
004aa8c7 0bda or ebx,edx
004aa8c9 03d8 add ebx,eax
004aa8cb b82c025400 mov eax,0x54022c
004aa8d0 895df8 mov [ebp+0xf8],ebx
ss:031b662e=????????
----> Stack Back Trace <----
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
00EC905C 004A8B30 0160C1D8 00000000 00000000 00000001 pike!dlclose
00EC90C8 0042BEAC 01622938 01622938 00000000 0000005F pike!dlopen (FPO:
[EBP 0x0048A26A] [2,17,4])
00EC90E4 00441C6A 00410828 00000001 0165601C 0160C1B0 pike!switch_lookup
(FPO: [EBP 0x00000000] [2,0,4])
00EC9174 00453115 00EC91A4 00000008 3C7C13E2 00010008 pike!f_load_module
(FPO: [EBP 0x00000000] [1,10,4])
00ECB1BC 0040E278 0162C074 00000014 016028D0 0162FFD4
pike!compile_memsearcher0 (FPO: [EBP 0x00010008] [4,2058,4])
00010008 0050005C 006F0072 00720067 006D0061 0070005C pike!mega_apply
----> Raw Stack Dump <----
00ec9014 08 00 00 00 c5 00 00 00 - 3c c1 62 01 e8 0b 66 01
........<.b...f.
00ec9024 d8 c1 60 01 44 d0 55 01 - 01 00 00 00 00 00 55 01
...D.U.......U. 00ec9034 0f 00 00 00 d8 c1 60 01 - aa 93 40 00 0d b2 40 00 ......
...@...@.
00ec9044 03 00 00 00 38 49 60 01 - 00 00 00 00 58 13 61 01
....8I.....X.a. 00ec9054 14 68 61 01 00 00 00 00 - 44 51 65 01 30 8b 4a 00 .ha.....DQe.0.J. 00ec9064 d8 c1 60 01 00 00 00 00 - 00 00 00 00 01 00 00 00 ..
.............
00ec9074 d8 c1 60 01 6a a2 48 00 - 33 a3 48 00 44 d0 55 01
...j.H.3.H.D.U. 00ec9084 44 d0 55 01 8f 2e 81 ff - aa 93 40 00 81 26 41 00 D.U.......@..&A. 00ec9094 03 00 00 00 e0 49 60 01 - 58 0b 66 01 14 68 61 01 .....I
.X.f..ha.
00ec90a4 1a 8b 4a 00 9e 1c 44 00 - 44 51 65 01 01 00 00 00
..J...D.DQe.....
00ec90b4 00 00 00 00 c5 00 00 00 - ac 92 ec 00 3c c1 62 01
............<.b.
00ec90c4 03 00 00 00 00 00 00 00 - ac be 42 00 38 29 62 01
..........B.8)b.
00ec90d4 38 29 62 01 00 00 00 00 - 5f 00 00 00 ac 92 ec 00
8)b....._.......
00ec90e4 14 68 61 01 6a 1c 44 00 - 28 08 41 00 01 00 00 00
.ha.j.D.(.A.....
00ec90f4 1c 60 65 01 b0 c1 60 01 - 60 52 65 01 c0 9f ec 00
.e...
.Re..... 00ec9104 ac 92 ec 00 2c bf 62 01 - 00 00 00 00 6a 00 00 00 ....,.b.....j... 00ec9114 e4 90 ec 00 df e1 40 00 - b0 ff ec 00 00 00 00 00 ......@......... 00ec9124 30 32 43 56 00 00 00 00 - 00 00 00 00 00 00 00 00 02CV............ 00ec9134 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ 00ec9144 e0 49 60 01 76 01 00 00 - 00 00 00 00 0a 00 00 00 .I
.v...........