This is the mail archive of the cygwin-developers mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Apr 19 11:38, Ryan Johnson wrote:(subject changed to reflect what we're actually discussing)BTW, /cygdrive/c/Windows/System32/locale.nls seems to be the reason that even statically linked dlls don't always load in the same place twice in a row.How so? And then, when is it loaded? I assume that this file is fetched as soon as the GetLocaleInfo function is called. What OS are you using? If it's Vista or later, there's a chance that the LocaleNameToLCID function is the culprit as well. But the real problem is, how can that be worked around? For the locale stuff we need these functions.
Thoughts? Ryan
$ diff parent-maps.txt child-maps.txt
3d2
< 00030000-00031000 rw-p 00000000 0000:0000 0 [shared]
13,22c12,20
< 002B0000-00317000 r--p 00000000 2C36:17C8 281474976927380 /cygdrive/c/Windows/System32/locale.nls
< 00320000-00321000 r--p 00000000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
< 00321000-00322000 r-xp 00001000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
< 00322000-00325000 rw-p 00002000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
< 00325000-00326000 r--p 00005000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
< 00326000-00327000 rw-p 00006000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
< 00327000-00332000 r--p 00007000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
< 00380000-003B9000 ---p 00000000 0000:0000 0
< 003B9000-003BC000 rw-s 00039000 0000:0000 0
< 003BC000-003C0000 rw-p 0003C000 0000:0000 0
---
> 002B0000-002B1000 r--p 00000000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
> 002B1000-002B2000 r-xp 00001000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
> 002B2000-002B5000 rw-p 00002000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
> 002B5000-002B6000 r--p 00005000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
> 002B6000-002B7000 rw-p 00006000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
> 002B7000-002C2000 r--p 00007000 2C36:17C8 2533274791177101 /cygdrive/c/cygwin/home/Ryan/experiments/fork-tests/cygfoo.dll
> 00300000-00306000 rw-p 00000000 0000:0000 0
> 00306000-00380000 ---p 00006000 0000:0000 0
> 00380000-003E7000 r--p 00000000 2C36:17C8 281474976927380 /cygdrive/c/Windows/System32/locale.nls
27,37c25,40
< 004F0000-004F3000 rw-p 00000000 0000:0000 0 [heap]
< 004F3000-00500000 ---p 00003000 0000:0000 0 [heap]
< 005C0000-005C6000 rw-p 00000000 0000:0000 0
< 005C6000-00640000 ---p 00006000 0000:0000 0
< 007F0000-0083A000 rw-p 00000000 0000:0000 0 [heap]
< 0083A000-008F0000 ---p 0004A000 0000:0000 0 [heap]
< 00AF0000-00EF0000 ---p 00000000 0000:0000 0
< 00EF0000-00F60000 rw-p 00400000 0000:0000 0
< 00F60000-18EF0000 ---p 00470000 0000:0000 0
< 190EB000-190EC000 rw-s 001FB000 0000:0000 0
< 190EC000-190F0000 rw-p 001FC000 0000:0000 0
---
> 00410000-00449000 ---p 00000000 0000:0000 0
> 00449000-0044C000 rw-s 00039000 0000:0000 0
> 0044C000-00450000 rw-p 0003C000 0000:0000 0
> 00460000-00499000 rw-p 00000000 0000:0000 0 [heap]
> 00499000-00560000 ---p 00039000 0000:0000 0 [heap]
> 00599000-0059C000 rw-s 00039000 0000:0000 0 [heap]
> 0059C000-005A0000 rw-p 0003C000 0000:0000 0 [heap]
> 006B0000-006B3000 rw-p 00000000 0000:0000 0 [heap]
> 006B3000-006C0000 ---p 00003000 0000:0000 0 [heap]
> 008BA000-008BC000 rw-s 001FA000 0000:0000 0 [heap]
> 008BC000-008C0000 rw-p 001FC000 0000:0000 0 [heap]
> 008C0000-00ABD000 ---p 00000000 0000:0000 0
> 00ABD000-00ABF000 rw-s 001FD000 0000:0000 0
> 00ABF000-00AC0000 rw-p 001FF000 0000:0000 0
> 00EF0000-00FC0000 rw-p 00000000 0000:0000 0
> 00FC0000-18EF0000 ---p 000D0000 0000:0000 0
163a167
> 7EFD8000-7EFDB000 rw-p 00000000 0000:0000 0
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |