13 Jun 12:42
Seg. Fault occurs
From: d.henman <dhenman <at> gmail.com>
Subject: Seg. Fault occurs
Newsgroups: gmane.mail.mh-e.devel
Date: 2008-06-13 10:42:24 GMT
Subject: Seg. Fault occurs
Newsgroups: gmane.mail.mh-e.devel
Date: 2008-06-13 10:42:24 GMT
I am not sure the cause of this problem yet.
I just rebuilt emacs from a clean cvs download for today's date and built witout error (GNU Emacs 23.0.60.1
June 12th).
MH-E gets invoked fine.
F v :folder visit brings up a window normally
But, when I select [RET] to view a message, the window doesn't change and I
get a segmentation violation fault.
My guess is that the problem is "ftfont_font_format()" getting called with a
null value.
see below #4 0x20164811 in ftfont_font_format (pattern=0x0) at ftfont.c:1740
I am writing this to see if any of you has any ideas.
Tomorrow I plan to rip out the newly cvs downloaded mh-e lisp files and
replace them with a "Jan 28, 2008" MH-E source. This will at least give me an indication of wheter the culprit
is the new emacs or mh-e code.
regards,
darel henman
--
Here is the 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 0x20164811 in ftfont_font_format (pattern=0x0) at ftfont.c:1740
#5 0x20164c27 in ftfont_open (f=0x20dc0200, entity=542907268, pixel_size=12)
at ftfont.c:933
#6 0x20164fb0 in ftxfont_open (f=0x20dc0200, entity=542907268, pixel_size=12)
at ftxfont.c:284
#7 0x201263e3 in font_open_entity (f=0x20dc0200, entity=542907268,
pixel_size=-1) at font.c:2566
#8 0x201293ec in font_load_for_lface (f=0x20dc0200, attrs=0x22a5ac,
spec=577127108) at font.c:2974
#9 0x2007c7c0 in realize_face (cache=0x20977d40, attrs=0x22a5ac,
former_face_id=<value optimized out>) at xfaces.c:5801
#10 0x2007d5c5 in lookup_face (f=0x20dc0200, attr=0x22a5ac) at xfaces.c:4668
#11 0x2007ed49 in face_at_buffer_position (w=0x2274f800, pos=1, region_beg=-1,
region_end=-1, endptr=0x22a658, limit=101, mouse=0) at xfaces.c:6267
#12 0x20023f5a in handle_face_prop (it=0x22a704) at xdisp.c:3360
---Type <return> to continue, or q <return> to quit---
#13 0x20024845 in handle_stop (it=0x22a704) at xdisp.c:3075
#14 0x20032c13 in start_display (it=0x22a704, w=0x2274f800, pos=
{charpos = 1, bytepos = 1}) at xdisp.c:2761
#15 0x20032e90 in try_window (window=578091012, pos=
{charpos = 1, bytepos = 1}, check_margins=1) at xdisp.c:13843
#16 0x20039a87 in redisplay_window (window=578091012, just_this_one_p=0)
at xdisp.c:13466
#17 0x2003b603 in redisplay_window_0 (window=578091012) at xdisp.c:12057
#18 0x20113c76 in internal_condition_case_1 (
bfun=0x2003b5e0 <redisplay_window_0>, arg=578091012, handlers=540042765,
hfun=0x20014e30 <redisplay_window_error>) at eval.c:1559
#19 0x20024e46 in redisplay_windows (window=-1) at xdisp.c:12036
#20 0x20024dfa in redisplay_windows (window=-1) at xdisp.c:12030
#21 0x20033a38 in redisplay_internal (preserve_echo_area=<value optimized out>)
at xdisp.c:11602
#22 0x200b759e in read_char (commandflag=1, nmaps=2, maps=0x22c790,
prev_event=540059649, used_mouse_menu=0x22c844, end_time=0x0)
at keyboard.c:2685
#23 0x200ba1ab in read_key_sequence (keybuf=0x22c8f4, bufsize=30,
prompt=540059649, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:9443
#24 0x200bc212 in command_loop_1 () at keyboard.c:1651
#25 0x20113ea0 in internal_condition_case (bfun=0x200bc030 <command_loop_1>,
------------------ end ----------------------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
RSS Feed