* run time crash encountered
@ 2008-06-30 6:48 d.henman
2008-06-30 7:04 ` Miles Bader
2008-06-30 7:49 ` Kenichi Handa
0 siblings, 2 replies; 5+ messages in thread
From: d.henman @ 2008-06-30 6:48 UTC (permalink / raw)
To: emacs-devel; +Cc: dhenman
[-- Attachment #1: Type: text/plain, Size: 4046 bytes --]
Background:
emacs version: GNU Emacs 23.0.60.1 (i686-pc-cygwin, X toolkit) of 2008-06-26
O.S.: CYGWIN_NT-5.1 1.5.25 (posix compliant)
X-11: Window system
The built and installed new emacs (as of June/25/2008) crashes, when I attempt to read in a file containing "iso-2022-jp" encoded characters. ISO-8859-1 was no problem. I happens with the Japanese iso-2022-jp encoded files. The system crashes and dump
s unceremoniouly. I'd like to find out why and fix it.
Attached is a example file that causes a stack dump, when a vist to it is attempted.
Beloe is the backtrace of the system prior to crashing
I'd appreciate and aid or advice in solving this.
Truely,
Darel Henman
---------- start of gdb backtrace
Program received signal SIGSEGV, Segmentation fault.
0x692d065d in cygfontconfig-1!FcStringHash () from /usr/bin/cygfontconfig-1.dll
(gdb) bt
#0 0x692d065d in cygfontconfig-1!FcStringHash ()
from /usr/bin/cygfontconfig-1.dll
#1 0x692d06c1 in cygfontconfig-1!FcPatternObjectFindElt ()
from /usr/bin/cygfontconfig-1.dll
#2 0x692d0700 in cygfontconfig-1!FcPatternObjectGet ()
from /usr/bin/cygfontconfig-1.dll
#3 0x692d0896 in cygfontconfig-1!FcPatternObjectGetString ()
from /usr/bin/cygfontconfig-1.dll
#4 0x201677a1 in ftfont_font_format (pattern=0x0) at ftfont.c:1739
#5 0x20167bb7 in ftfont_open (f=0x203e7200, entity=548169220, pixel_size=13)
at ftfont.c:932
#6 0x20167f40 in ftxfont_open (f=0x203e7200, entity=548169220, pixel_size=13)
at ftxfont.c:284
#7 0x20127df8 in font_open_entity (f=0x203e7200, entity=548169220,
pixel_size=13) at font.c:2713
#8 0x2009f8d0 in fontset_find_font (fontset=575922692, c=24029,
face=0x209be500, id=-55, fallback=0) at fontset.c:611
#9 0x2009fda3 in fontset_font (fontset=543498244, c=24029, face=0x209be500,
id=54) at fontset.c:702
#10 0x2009ff6b in face_for_char (f=0x203e7200, face=0x209be500, c=24029,
pos=12, object=540084225) at fontset.c:923
#11 0x201260b1 in font_range (pos=12, limit=29, face=0x209be500, f=0x203e7200,
string=540084225) at font.c:3556
---Type <return> to continue, or q <return> to quit---
#12 0x2002f1df in handle_auto_composed_prop (it=0x22a6fc) at xdisp.c:4657
#13 0x20024dbc in handle_stop (it=0x22a6fc) at xdisp.c:3089
#14 0x20033b23 in start_display (it=0x22a6fc, w=0x20e35200, pos=
{charpos = 1, bytepos = 1}) at xdisp.c:2775
#15 0x20033da0 in try_window (window=551768580, pos=
{charpos = 1, bytepos = 1}, check_margins=1) at xdisp.c:13938
#16 0x2003a987 in redisplay_window (window=551768580, just_this_one_p=0)
at xdisp.c:13561
#17 0x2003c4f3 in redisplay_window_0 (window=551768580) at xdisp.c:12152
#18 0x201156c6 in internal_condition_case_1 (
bfun=0x2003c4d0 <redisplay_window_0>, arg=551768580, handlers=540067341,
hfun=0x200152c0 <redisplay_window_error>) at eval.c:1559
#19 0x200253c6 in redisplay_windows (window=-1) at xdisp.c:12131
#20 0x200346be in redisplay_internal (preserve_echo_area=<value optimized out>)
at xdisp.c:11697
#21 0x200b89be in read_char (commandflag=1, nmaps=2, maps=0x22c780,
prev_event=540084225, used_mouse_menu=0x22c834, end_time=0x0)
at keyboard.c:2685
#22 0x200bb5db in read_key_sequence (keybuf=0x22c8e4, bufsize=30,
prompt=540084225, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:9429
#23 0x200bd642 in command_loop_1 () at keyboard.c:1651
#24 0x201158f0 in internal_condition_case (bfun=0x200bd460 <command_loop_1>,
---Type <return> to continue, or q <return> to quit---
handlers=540172481, hfun=0x200b7540 <cmd_error>) at eval.c:1511
#25 0x200b6983 in command_loop_2 () at keyboard.c:1367
#26 0x201159ca in internal_catch (tag=540168553,
func=0x200b6960 <command_loop_2>, arg=540084225) at eval.c:1247
#27 0x200b739e in command_loop () at keyboard.c:1346
#28 0x200b770b in recursive_edit_1 () at keyboard.c:955
#29 0x200b7841 in Frecursive_edit () at keyboard.c:1017
#30 0x200ad725 in main (argc=1, argv=0x2041aa40) at emacs.c:1762
--------------- end of copy
[-- Attachment #2: iso-2022-jp encoded file --]
[-- Type: text/plain, Size: 70 bytes --]
This file contains 漢字 encoded in ISO-2022-jp.
- end of file -
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: run time crash encountered
2008-06-30 6:48 run time crash encountered d.henman
@ 2008-06-30 7:04 ` Miles Bader
2008-06-30 7:49 ` Kenichi Handa
1 sibling, 0 replies; 5+ messages in thread
From: Miles Bader @ 2008-06-30 7:04 UTC (permalink / raw)
To: d.henman; +Cc: emacs-devel
"d.henman" <dhenman@gmail.com> writes:
> The built and installed new emacs (as of June/25/2008) crashes, when I
> attempt to read in a file containing "iso-2022-jp" encoded characters.
>
> Attached is a example file that causes a stack dump, when a vist to it is attempted.
FWIW, I don't get a crash visiting the file, and it displays correctly.
From the stack backtrace, it seems to be a problem with fontconfig
(though I'm using debian and you're using windows, which undoubtedly
affects things).
-Miles
--
Ocean, n. A body of water covering seven-tenths of a world designed for Man -
who has no gills.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: run time crash encountered
2008-06-30 6:48 run time crash encountered d.henman
2008-06-30 7:04 ` Miles Bader
@ 2008-06-30 7:49 ` Kenichi Handa
2008-07-01 0:26 ` d.henman
1 sibling, 1 reply; 5+ messages in thread
From: Kenichi Handa @ 2008-06-30 7:49 UTC (permalink / raw)
To: d.henman; +Cc: dhenman, emacs-devel
In article <20080630154838.3296@blackhawk>, "d.henman" <dhenman@gmail.com> writes:
> [1 <text/plain (7bit)>]
> Background:
> emacs version: GNU Emacs 23.0.60.1 (i686-pc-cygwin, X toolkit) of 2008-06-26
> O.S.: CYGWIN_NT-5.1 1.5.25 (posix compliant)
> X-11: Window system
> The built and installed new emacs (as of June/25/2008) crashes, when I attempt to read in a file containing "iso-2022-jp" encoded characters. ISO-8859-1 was no problem. I happens with the Japanese iso-2022-jp encoded files. The system crashes and dump
> s unceremoniouly. I'd like to find out why and fix it.
[...]
> ---------- start of gdb backtrace
> Program received signal SIGSEGV, Segmentation fault.
> 0x692d065d in cygfontconfig-1!FcStringHash () from /usr/bin/cygfontconfig-1.dll
> (gdb) bt
> #0 0x692d065d in cygfontconfig-1!FcStringHash ()
> from /usr/bin/cygfontconfig-1.dll
> #1 0x692d06c1 in cygfontconfig-1!FcPatternObjectFindElt ()
> from /usr/bin/cygfontconfig-1.dll
> #2 0x692d0700 in cygfontconfig-1!FcPatternObjectGet ()
> from /usr/bin/cygfontconfig-1.dll
> #3 0x692d0896 in cygfontconfig-1!FcPatternObjectGetString ()
> from /usr/bin/cygfontconfig-1.dll
> #4 0x201677a1 in ftfont_font_format (pattern=0x0) at ftfont.c:1739
> #5 0x20167bb7 in ftfont_open (f=0x203e7200, entity=548169220, pixel_size=13)
> at ftfont.c:932
> #6 0x20167f40 in ftxfont_open (f=0x203e7200, entity=548169220, pixel_size=13)
> at ftxfont.c:284
I've just installed a fix. But, as I have not tested `ftx'
font-driver for a long time, please watch out.
BTW, I didn't know that ftx driver is usable on Windows.
---
Kenichi Handa
handa@ni.aist.go.jp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: run time crash encountered
2008-06-30 7:49 ` Kenichi Handa
@ 2008-07-01 0:26 ` d.henman
2008-07-01 1:34 ` Kenichi Handa
0 siblings, 1 reply; 5+ messages in thread
From: d.henman @ 2008-07-01 0:26 UTC (permalink / raw)
To: emacs-devel
Kenichi,
the fix you installed is successfull. Thank you, I appreciate it.
"cygwin" provides a port of the X Window System, called cygwin/X. It Cygwin/X provides an X Server, X libraries, and nearly all of the standard X clients. This enables easier porting of software. cygwin has the fontconfig library which ftfont.c call
s.
A good practical example, of cygwin is to put it and your favority tools and applications installed on a usb memory stick, One can then sit down at any Windows machine and virtually defenestrate it, as least temporarily, by using one's own cygwin envir
onment dll, X11, emacs, shells, and other tools, and maybe a game of go..
Regards,
Darel Henman
Kenichi Handa <handa@m17n.org> wrote:
> I've just installed a fix. But, as I have not tested `ftx'
> font-driver for a long time, please watch out.
>
> BTW, I didn't know that ftx driver is usable on Windows.
>
> ---
> Kenichi Handa
> handa@ni.aist.go.jp
RE:
> "d.henman" <dhenman@gmail.com> writes:
>
> > [1 <text/plain (7bit)>]
> > Background:
> > emacs version: GNU Emacs 23.0.60.1 (i686-pc-cygwin, X toolkit) of 2008-06-26
> > O.S.: CYGWIN_NT-5.1 1.5.25 (posix compliant)
> > X-11: Window system
>
> > The built and installed new emacs (as of June/25/2008) crashes, when I attempt to read in a file containing "iso-2022-jp" encoded characters. ISO-8859-1 was no problem. I happens with the Japanese iso-2022-jp encoded files.
> > .....
> > #4 0x201677a1 in ftfont_font_format (pattern=0x0) at ftfont.c:1739
> > #5 0x20167bb7 in ftfont_open (f=0x203e7200, entity=548169220, pixel_size=13)
> > at ftfont.c:932
> > #6 0x20167f40 in ftxfont_open (f=0x203e7200, entity=548169220, pixel_size=13)
> > at ftxfont.c:284
----------- end of msg
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: run time crash encountered
2008-07-01 0:26 ` d.henman
@ 2008-07-01 1:34 ` Kenichi Handa
0 siblings, 0 replies; 5+ messages in thread
From: Kenichi Handa @ 2008-07-01 1:34 UTC (permalink / raw)
To: d.henman; +Cc: emacs-devel
In article <20080701092610.2256@blackhawk>, "d.henman" <dhenman@gmail.com> writes:
> Kenichi,
> the fix you installed is successfull. Thank you, I appreciate it.
> "cygwin" provides a port of the X Window System, called cygwin/X. It Cygwin/X provides an X Server, X libraries, and nearly all of the standard X clients. This enables easier porting of software. cygwin has the fontconfig library which ftfont.c call
> s.
Doesn't xft not supported in cygwin? Or you just don't
install it? If configure finds Xft, Emacs should use xft
backend instead of ftx backend.
---
Kenichi Handa
handa@ni.aist.go.jp
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-07-01 1:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30 6:48 run time crash encountered d.henman
2008-06-30 7:04 ` Miles Bader
2008-06-30 7:49 ` Kenichi Handa
2008-07-01 0:26 ` d.henman
2008-07-01 1:34 ` Kenichi Handa
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).