unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs in Unicode 2 Branch Received Signal SIGSEGV When Opening Large File
@ 2006-04-03  8:34 Herbert Euler
  2006-04-03  8:47 ` Emacs in Unicode 2 Branch Received Signal SIGSEGV When OpeningLarge File Herbert Euler
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Euler @ 2006-04-03  8:34 UTC (permalink / raw)


Hello,

I'm using Emacs Unicode 2 branch, latest check out Apr. 3, 2006.
When I visited a large file (233,085 KB), it confirmed me opening
it.  I chose 'y', and did not visit it literally.  After a while, it shows
"Buffer exceeds maximum size" in echo area.  But I found there
was a buffer with name same as the file, so I tried to switch to
that buffer.  I pressed C-x b <buffer name> to switch.  Again,
Emacs didn't response for a while, and it crashed after that.  The
stack trace using 'run -q' in gdb was:

Program received signal SIGSEGV, Segmentation fault.
0x01132128 in char_table_ref (table=24192004, c=16616815) at chartab.c:211
211           if (SUB_CHAR_TABLE_P (val))
(gdb) bt
#0  0x01132128 in char_table_ref (table=24192004, c=16616815) at 
chartab.c:211
#1  0x0111e628 in string_char (
    p=0x2c48b48 
"&#31783;&#26426;20&#21488;&#65292;&#26085;&#20135;&#37327;4000&#19975;&#21482;&#65292;&#26159;&#23567;&#24377;&#31783;&#20215;&#26684;&#26368;&#20415;&#23452;&#30340;&#21378;&#23478;&#12290;\thttp://ww
w.chinaamao.com\r\n&#28139;&#32650;&#34303;&#25552;&#21462;&#29289;\t&#25242;&#39034;&#24066;&#37995;&#27888;&#21442;&#33592;&#20445;&#20581;&#21697;&#26377;&#38480;&#20844;&#21496;\t&#25552;&#20379;&#28139;&#32650;&#34303;&#25552;&#21462;&#29289;
&#65292;&#21050;&#20116;&#21152;&#28024;&#33167;&#65288;&#31881;&#65289;&#65292;&#22810;&#31958;&#31867;&#65292;&#22823;&#23380;&#21560;&#38468;&#26641;&#33026;&#31995;&#21015;&#65292;&#31163;&#23376;&#20132;&#25442;&#26641;&#33026;&#31995;&#21015;?...,
    advanced=0x0, len=0x82ef10) at character.c:223
#2  0x0103d681 in next_element_from_buffer (it=0x82ed50) at xdisp.c:6244
#3  0x0103c4dd in get_next_display_element (it=0x82ed50) at xdisp.c:5452
#4  0x0104f2a7 in display_line (it=0x82ed50) at xdisp.c:15719
#5  0x0104aaa3 in try_window (window=38190084, pos={charpos = 1, bytepos = 
1},
    check_margins=1) at xdisp.c:13342
#6  0x0104a2a4 in redisplay_window (window=38190084, just_this_one_p=0)
    at xdisp.c:12970
#7  0x01045d05 in redisplay_window_0 (window=38190084) at xdisp.c:11625
#8  0x0101e4cd in internal_condition_case_1 (
    bfun=0x1045cd0 <redisplay_window_0>, arg=38190084, handlers=24052741,
    hfun=0x1045cb0 <redisplay_window_error>) at eval.c:1521
#9  0x01045caa in redisplay_windows (window=38190084) at xdisp.c:11604
#10 0x01044ef5 in redisplay_internal (preserve_echo_area=0) at xdisp.c:11175
#11 0x01043e22 in redisplay () at xdisp.c:10405
#12 0x0100a345 in read_char (commandflag=1, nmaps=3, maps=0x82fb5c,
    prev_event=24070145, used_mouse_menu=0x82fb98) at keyboard.c:2549
#13 0x01010dfa in read_key_sequence (keybuf=0x82fcc0, bufsize=30,
---Type <return> to continue, or q <return> to quit---
    prompt=24070145, dont_downcase_last=0, can_return_switch_frame=1,
    fix_current_buffer=1) at keyboard.c:8865
#14 0x010073c9 in command_loop_1 () at keyboard.c:1536
#15 0x0101e3d7 in internal_condition_case (bfun=0x1007250 <command_loop_1>,
    handlers=24129137, hfun=0x1006c90 <cmd_error>) at eval.c:1473
#16 0x01006fad in command_loop_2 () at keyboard.c:1328
#17 0x0101decf in internal_catch (tag=24119297,
    func=0x1006f80 <command_loop_2>, arg=24070145) at eval.c:1211
#18 0x01006f5c in command_loop () at keyboard.c:1307
#19 0x01006a10 in recursive_edit_1 () at keyboard.c:1000
#20 0x01006b4d in Frecursive_edit () at keyboard.c:1061
#21 0x010035cf in main (argc=2, argv=0x2510d40) at emacs.c:1797
#22 0x0100122d in __mingw_CRTStartup ()
#23 0x01001258 in mainCRTStartup ()
#24 0x7c816d4f in _libmsvcrt_a_iname ()
(gdb)

Somebody helps solve this?  Thanks.

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Emacs in Unicode 2 Branch Received Signal SIGSEGV When OpeningLarge File
  2006-04-03  8:34 Emacs in Unicode 2 Branch Received Signal SIGSEGV When Opening Large File Herbert Euler
@ 2006-04-03  8:47 ` Herbert Euler
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Euler @ 2006-04-03  8:47 UTC (permalink / raw)


And I think the following information may be helpful:

Program received signal SIGSEGV, Segmentation fault.
0x01132128 in char_table_ref (table=24192004, c=16616815) at chartab.c:211
211           if (SUB_CHAR_TABLE_P (val))
(gdb) p val
$1 = 20
(gdb) xtype
Lisp_Vectorlike
Cannot access memory at address 0x10
(gdb) pr

Program received signal SIGSEGV, Segmentation fault.
0x01131708 in print_object (obj=20, printcharfun=24153665, escapeflag=1)
   at print.c:1542
1542                    strout (buf, -1, -1, printcharfun, 0);
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on"
Evaluation of the expression containing the function (debug_print) will be 
aband
oned.
(gdb)

Regards,
Guanpeng Xu

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-03  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-03  8:34 Emacs in Unicode 2 Branch Received Signal SIGSEGV When Opening Large File Herbert Euler
2006-04-03  8:47 ` Emacs in Unicode 2 Branch Received Signal SIGSEGV When OpeningLarge File Herbert Euler

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).