bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NTEmacs crashes when loading a BDF font


From: Tye
Subject: NTEmacs crashes when loading a BDF font
Date: 12 Mar 2002 10:07:49 -0800

In GNU Emacs 21.1.1 (i386-msvc-nt5.0.2195)
 of 2001-10-22 on buffy
configured using `configure --with-msvc (12.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I searched the newsgroup for this problem, but couldn't find
anything...

The following lines in my startup file will cause NTEmacs to crash:

      (setq bdf-directory-list '("c:/cygwin/usr/local/lib/fonts/"))

      ;; Create fontspecs from the bdf files in the following
directory.
      (setq w32-bdf-filename-alist (w32-find-bdf-fonts
                                    "c:/cygwin/usr/local/lib/fonts/"))
      ;; Load "7x13.bdf"
      (set-default-font
"-Misc-Fixed-Medium-R-Normal--*-*-*-*-*-*-ISO8859-1")

... where c:/cygwin/usr/local/lib/fonts/ contains:

      6x12.bdf                           6x13.bdf
      6x13B.bdf                          7x13.bdf
      7x13B.bdf                          8x13.bdf
      8x13B.bdf                          9x15.bdf
      9x15B.bdf                          lutRS10.bdf


However, if I include

      (set-default-font "-outline-Lucida
Console-normal-r-normal-normal-16-120-96-96-c-*-iso8859-15")

before the above "set-default-font", no crash!  Some fonts placed
before the BDF prevent the crash, while others don't...

I've include the error dump below.

Thanks for any help.


Dr. Watson Log =>
==============

Microsoft (R) Windows 2000 (TM) Version 5.00 DrWtsn32
Copyright (C) 1985-1999 Microsoft Corp. All rights reserved.



Application exception occurred:
        App: obj-spd/i386/temacs.bin (pid=4040)
        When: 3/12/2002 @ 13:01:25.803
        Exception number: c0000005 (access violation)

*----> System Information <----*
        Computer Name: TYEZ-2K
        User Name: tyez
        Number of Processors: 1
        Processor Type: x86 Family 6 Model 8 Stepping 3
        Windows 2000 Version: 5.0
        Current Build: 2195
        Service Pack: 2
        Current Type: Uniprocessor Free
        Registered Organization: Enterasys Networks
        Registered Owner: Tye Z

*----> Task List <----*
   0 Idle.exe
   8 System.exe
 140 SMSS.exe
 164 CSRSS.exe
 184 WINLOGON.exe
 212 SERVICES.exe
 224 LSASS.exe
 392 svchost.exe
 420 SPOOLSV.exe
 496 albd_server.exe
 508 daccess.exe
 524 svchost.exe
 548 lockmgr.exe
 604 regsvc.exe
 644 mstask.exe
 692 WinMgmt.exe
 748 cccredmgr.exe
 800 clisvcl.exe
1012 explorer.exe
1068 launch32.exe
1104 aim.exe
1112 internat.exe
1120 SMSMon32.exe
 888 taskmgr.exe
 484 emacs.exe
1360 OUTLOOK.exe
1332 MAPISP32.exe
1268 agentsvr.exe
 908 view_server.exe
1572 ttermpro.exe
2900 clearexplorer.e.exe
3048 bash.exe
1900 IEXPLORE.exe
3572 wftpd32.exe
2548 bash.exe
3056 bash.exe
2496 wtxregd.exe
1636 java.exe
2012 SMSAPM32.exe
4068 bash.exe
4040 emacs.exe
1396 DRWTSN32.exe
   0 _Total.exe

(01000000 - 01475000) 
(77F80000 - 77FFB000) 
(77DB0000 - 77E0B000) 
(77E80000 - 77F35000) 
(77D40000 - 77DB0000) 
(77F40000 - 77F7C000) 
(77E10000 - 77E74000) 
(76B30000 - 76B6E000) 
(70BD0000 - 70C34000) 
(78000000 - 78046000) 
(71780000 - 7180A000) 
(782F0000 - 78532000) 
(75090000 - 750A0000) 
(75E60000 - 75E7A000) 
(6E420000 - 6E426000) 
(1C000000 - 1C009000) 

State Dump for Thread Id 0x768

eax=00000000 ebx=0082f200 ecx=00000001 edx=00000000 esi=014b1d00
edi=00000000
eip=010416a8 esp=0082f1b4 ebp=0082f1e8 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: highlight_trailing_whitespace
        0104168d e89c050000       call
highlight_trailing_whitespace+0xca2 (01041c2e)
        01041692 85c0             test    eax,eax
        01041694 59               pop     ecx
        01041695 59               pop     ecx
        01041696 7407             jz     
check_current_matrix_flags+0x779 (01047c9f)
        01041698 66837e1201       cmp     word ptr [esi+0x12],0x1   
ds:01fbf2d3=????
        0104169d 7406             jz     
check_current_matrix_flags+0x77f (01047ca5)
        0104169f 66397e12         cmp     [esi+0x12],di             
ds:01fbf2d3=????
        010416a3 7547             jnz     sit_for+0x8 (0104a1ec)
        010416a5 8b4604           mov     eax,[esi+0x4]         
ds:01fbf2d2=????????
FAULT ->010416a8 8308ff           or      dword ptr [eax],0xff  
ds:00000000=????????
        010416ab 83666cbf         and  dword ptr [esi+0x6c],0xbf
ds:01fbf2d2=????????
        010416af 8b4b04           mov     ecx,[ebx+0x4]         
ds:0133c7d2=00080000
        010416b2 8b7934           mov     edi,[ecx+0x34]        
ds:00b0d5d3=????????
        010416b5 a16c0a0f01       mov     eax,[Qnil (010f0a6c)] 
ds:010f0a6c=11251004
        010416ba 8b566c           mov     edx,[esi+0x6c]        
ds:01fbf2d2=????????
        010416bd 81e7ffffff0f     and     edi,0xfffffff
        010416c3 398798010000     cmp     [edi+0x198],eax       
ds:00000198=????????
        010416c9 7421             jz      increment_row_positions+0x9
(01044fec)
        010416cb 39410c           cmp     [ecx+0xc],eax         
ds:00b0d5d3=????????
        010416ce 7413             jz     
buffer_posn_from_coords+0x14b (010499e3)
        010416d0 833d94ee110100                                 
ds:0111ee94=00000000
                                  cmp     dword ptr [minibuf_level
(0111ee94)],0x0

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0082F1E8 0103F013 014B1D00 00000001 0145AE00 00000001
temacs!highlight_trailing_whitespace
0082F3DC 0103D56A 4145AE00 00000001 00000001 0149C84C
temacs!try_window
0082F608 0103CF59 4145AE00 00000000 0145A000 0082FAF4
temacs!set_cursor_from_row
0082F61C 0103C1C0 4145AE00 01039E21 2137E144 4126B000
temacs!disp_char_vector
0082FAF4 0103CC1A 00000001 0104A211 00000002 0082FB2C
temacs!check_point_in_composition
0082FB08 0104A2D3 00000078 00000000 00000000 00000001
temacs!redisplay_preserve_echo_area
0082FB2C 0109F345 00000000 00000078 11251004 00000078 temacs!Fsit_for 
0082FB6C 0109AA49 0082FB80 00000004 11278494 00000078 temacs!Ffuncall 
0082FBD4 0109F7A8 011F34A8 411F34A0 00000000 0082FC50
temacs!Fbyte_code
0082FC0C 0109F400 411F2E2C 00000001 0082FC54 20000000
temacs!funcall_lambda
0082FC40 0109AA49 0082FC54 40000000 1140887C 11251004 temacs!Ffuncall 
0082FC90 0109F7A8 011F0E78 411F0E70 00000005 0082FD0C
temacs!Fbyte_code
0082FCC8 0109F400 411F0980 00000000 0082FD10 20000000
temacs!funcall_lambda
0082FCFC 0109AA49 0082FD10 40000000 11402E5C 31414254 temacs!Ffuncall 
0082FD4C 0109F7A8 011EFAA0 411EFA98 00000005 11251004
temacs!Fbyte_code
0082FD84 0109F53A 411EF9F0 00000000 0082FD98 0FFFFFFF
temacs!funcall_lambda
0082FDB0 0109EAA4 411EF9F0 11251004 00000001 0124E4C0
temacs!apply_lambda
0082FE14 0100D35A 11251004 0109DB3B 11251004 11251004 temacs!Feval 
0082FEA0 0100D37E 0100D34F 1126ACF4 0100D0D1 0109D77A
temacs!top_level_2
0082FF24 0100D2CB 112602D4 0100D35C 11251004 0100CF96
temacs!top_level_1
0082FF80 010DF7F3 00000000 0124E4C0 013E7200 5346544E
temacs!command_loop
0082FFC0 77E97D08 5346544E 0022F600 7FFDF000 C0000005
temacs!mainCRTStartup
0082FFF0 00000000 010024BD 00000000 000000C8 00000100
kernel32!CreateProcessW

*----> Raw Stack Dump <----*
0082f1b4  ff ff ff 0f 00 ae 45 01 - 28 08 4b 01 30 00 00 00 
......E.(.K.0...
0082f1c4  50 01 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
P...............
0082f1d4  00 00 00 00 00 00 00 00 - 50 01 00 00 30 00 00 00 
........P...0...
0082f1e4  00 00 00 00 dc f3 82 00 - 13 f0 03 01 00 1d 4b 01 
..............K.
0082f1f4  01 00 00 00 00 ae 45 01 - 01 00 00 00 00 ae 45 41 
......E.......EA
0082f204  00 ae 45 01 00 a0 45 01 - 0b 81 03 01 e9 02 00 00 
..E...E.........
0082f214  e9 02 00 00 00 00 00 00 - 00 00 00 00 ff ff ff ff 
................
0082f224  ff ff ff ff 00 00 00 00 - 01 00 00 00 00 b8 41 01 
..............A.
0082f234  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
0082f244  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
0082f254  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
0082f264  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
0082f274  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
0082f284  e9 02 00 00 e9 02 00 00 - ff ff ff ff ff ff ff ff 
................
0082f294  ff ff ff ff ff ff ff ff - 00 00 00 00 00 00 00 00 
................
0082f2a4  00 00 00 00 00 00 00 00 - 04 10 25 11 00 00 00 00 
..........%.....
0082f2b4  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
0082f2c4  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
0082f2d4  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
0082f2e4  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................

State Dump for Thread Id 0x75c

eax=00000000 ebx=00000000 ecx=00e20570 edx=00000000 esi=107fff2c
edi=107fff98
eip=77e1325c esp=107ffee8 ebp=107fff08 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: TranslateMessageEx
        77e1323a 0f8500c40200     jne     EnumDesktopWindows+0xd88
(77e3f640)
        77e13240 33c0             xor     eax,eax
        77e13242 c20800           ret     0x8
        77e13245 ff742408         push    dword ptr [esp+0x8]   
ss:1130d4bb=????????
        77e13249 51               push    ecx
        77e1324a e8b7370000       call    GetKeyState+0x92 (77e16a06)
        77e1324f ebf1             jmp    
DialogBoxIndirectParamAorW+0x6ba (77e1eb42)
        77e13251 b89a110000       mov     eax,0x119a
        77e13256 8d542404         lea     edx,[esp+0x4]         
ss:1130d4bb=????????
        77e1325a cd2e             int     2e
        77e1325c c21000           ret     0x10

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
107FFF08 010BC25B 107FFF2C 00000000 00000000 00000000
user32!TranslateMessageEx
107FFF48 010BC22C 107FFF5C 0082F410 010AFE4F 00000000
temacs!w32_msg_worker
107FFFB4 77E8758A 00000000 0082F410 010AFE4F 00000000
temacs!w32_msg_worker
107FFFEC 00000000 010BC1DF 00000000 00000000 6E420000
kernel32!SetFilePointer

*----> Raw Stack Dump <----*
107ffee8  63 58 e1 77 2c ff 7f 10 - 00 00 00 00 00 00 00 00 
cX.w,...........
107ffef8  00 00 00 00 00 00 00 00 - 00 00 00 00 98 ff 7f 10 
................
107fff08  48 ff 7f 10 5b c2 0b 01 - 2c ff 7f 10 00 00 00 00 
H...[...,.......
107fff18  00 00 00 00 00 00 00 00 - 98 ff 7f 10 00 00 00 00 
................
107fff28  00 00 00 00 b6 0c 36 00 - 00 02 00 00 00 00 00 00 
......6.........
107fff38  6e 02 ee 01 c5 b3 7a 24 - 7c 02 00 00 0c 02 00 00 
n.....z$|.......
107fff48  b4 ff 7f 10 2c c2 0b 01 - 5c ff 7f 10 10 f4 82 00 
....,...\.......
107fff58  4f fe 0a 01 00 00 00 00 - 00 00 00 00 00 00 00 00 
O...............
107fff68  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
107fff78  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
107fff88  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 
................
107fff98  20 00 f0 81 ff ff ff ff - 77 0d 43 80 00 00 00 00  
.......w.C.....
107fffa8  00 00 00 00 00 00 00 00 - 7b 10 43 80 ec ff 7f 10 
........{.C.....
107fffb8  8a 75 e8 77 00 00 00 00 - 10 f4 82 00 4f fe 0a 01 
.u.w........O...
107fffc8  00 00 00 00 00 d0 fd 7f - 28 f4 82 00 c0 ff 7f 10 
........(.......
107fffd8  28 f4 82 00 ff ff ff ff - 5b 61 e8 77 80 b5 e8 77 
(.......[a.w...w
107fffe8  00 00 00 00 00 00 00 00 - 00 00 00 00 df c1 0b 01 
................
107ffff8  00 00 00 00 00 00 00 00 - 00 00 42 6e 01 00 00 00 
..........Bn....
10800008  ac 00 02 00 00 00 00 00 - 4d 01 05 00 00 00 00 00 
........M.......
10800018  4b 01 02 00 26 00 04 00 - 54 00 02 00 68 00 01 00 
K...&...T...h...


-Tye



reply via email to

[Prev in Thread] Current Thread [Next in Thread]