From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#7098: Emacs24 crash with segmentation fault Date: Sat, 18 Dec 2010 10:16:10 +0100 Message-ID: <877hf7zbj9.fsf@tux.homenetwork> References: <878w02r5zd.fsf@stupidchicken.com> <874oanxval.fsf@tux.homenetwork> <87r5djvm7b.fsf@stupidchicken.com> <87fwtz7cuq.fsf@tux.homenetwork> <87wrnacybt.fsf@stupidchicken.com> <877hfaf8k5.fsf@tux.homenetwork> <83ipythb8p.fsf@gnu.org> <87r5dhmw1a.fsf@tux.homenetwork> <83hbedh9mm.fsf@gnu.org> <87ei9ho8xu.fsf@tux.homenetwork> <83fwtxh65h.fsf@gnu.org> <87bp4jk0h2.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1292665990 28417 80.91.229.12 (18 Dec 2010 09:53:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Dec 2010 09:53:10 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 18 10:53:03 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PTtTJ-00024o-OE for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Dec 2010 10:53:03 +0100 Original-Received: from localhost ([127.0.0.1]:39398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTtTI-0003qn-58 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Dec 2010 04:53:00 -0500 Original-Received: from [140.186.70.92] (port=60024 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTtT5-0003md-AD for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2010 04:52:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTtT3-0006Hl-EO for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2010 04:52:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTtT3-0006HY-B9 for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2010 04:52:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PTt81-0006TS-R2; Sat, 18 Dec 2010 04:31:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87aan7c9k7.fsf@tux.homenetwork> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Dec 2010 09:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7098 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.129266463424797 (code B ref -1); Sat, 18 Dec 2010 09:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Dec 2010 09:30:34 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTt7Z-0006Ru-9U for submit@debbugs.gnu.org; Sat, 18 Dec 2010 04:30:33 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PTt7W-0006Rh-B4 for submit@debbugs.gnu.org; Sat, 18 Dec 2010 04:30:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTtDg-000361-NP for submit@debbugs.gnu.org; Sat, 18 Dec 2010 04:36:54 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:50557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTtDP-0002qw-8P for submit@debbugs.gnu.org; Sat, 18 Dec 2010 04:36:52 -0500 Original-Received: from [140.186.70.92] (port=48754 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTtDH-0004id-F4 for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2010 04:36:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTsuU-0006Y7-CE for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2010 04:17:04 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:43125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTsuT-0006Xe-SL for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2010 04:17:02 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PTsuR-0004E0-7i for bug-gnu-emacs@gnu.org; Sat, 18 Dec 2010 10:16:59 +0100 Original-Received: from 143.77.197-77.rev.gaoland.net ([77.197.77.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Dec 2010 10:16:59 +0100 Original-Received: from thierry.volpiatto by 143.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Dec 2010 10:16:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 229 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 143.77.197-77.rev.gaoland.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAAAFz UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAABJQ TFRFBwQEXyQQT0tD2k0bqUEftLCW5J1oDQAAAAlwSFlzAAALEQAACxEBf2RfkQAAAAl2cEFnAAAA MAAAADAAzu6MVwAAAZdJREFUOMt1U0FywyAMFLQPQLZ6N7R9gAO9F6N8wBP//ytdcDqNa6JDHO9K yyLJRL9hp4ks9SJMJ2hHQoe5E+EuemI+W8mwfvKRsLuYOEnt/ePrOu8KIayVYIlIMOaW5TrZvcIB sTzGmqlsSBR/zNu2bQ5PLvGChzKifBMxiFs9JLQKq1piLpHfPApWVJAfa4VojPF70K+bLOvGHgyk YKsAz5X3C4dpEFxBSkNAOJqsE3bB4jRnpKWa9otghl2TJdXUeo9mlRzxRAFpFnBMjw0pECS+EMwk dyBQacb0p/0b73hvdob/vS2Ll6PIPQbPvjdA63Xo4a/XpIxVOREvJc1kO4T9EA5rb1F85mC048po RJuW1p6jWzSvJJ2M5iU8FpjaV40zZu31oSnGc9aZy/yqiknPf4SIlMySacz6SJBCKWudrOqhwegT i8AvDtN8cGY0RWiw6nEg+8ZEueq/gZCpRJLlfPux7hjTOXD3lDs4/MQujg+AuzhxfkKUWTbXI8ao 9QvqnC2lu1iG+67gqb+JNvMTuwf8BxNSRJN3OGcZAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTEx LTI2VDA4OjI0OjQxKzAxOjAw3lS1DwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxMC0xMS0yNFQxMDo1 NDo1MiswMTowMDvcFUsAAAAASUVORK5CYII= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:nVDWy7/tFW9lWx+pQT/igJbPI/I= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 18 Dec 2010 04:31:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42618 Archived-At: Thierry Volpiatto writes: > Hi Eli, > > Eli Zaretskii writes: > >>> From: Thierry Volpiatto >>> Cc: cyd@stupidchicken.com, 7098@debbugs.gnu.org >>> Date: Thu, 16 Dec 2010 19:43:09 +0100 >>> >>> > Do the crashes go away if you compile without optimizations? >>> Don't know, never tried. >>> What do i have to disable (or change) in my make.conf? >>> >>> Actually i have: >>> >>> CFLAGS="-O3 -march=i686 -pipe" >> >> Try >> >> CFLAGS="-O0 -pipe" > > I have compiled emacs24 with this value of CFLAGS and it seem to work > fine. > I have then recompiled with -g option added (CFLAGS="-O0 -g -pipe") and i had no crashes. > I continue running Emacs in gdb and will tell you if something occur. First crash since yesterday when closing w3m: Program received signal SIGSEGV, Segmentation fault. 0x081903b7 in mark_object (arg=172893790) at alloc.c:5577 5577 FLOAT_MARK (XFLOAT (obj)); (gdb) bt full #0 0x081903b7 in mark_object (arg=172893790) at alloc.c:5577 obj = #1 0x081905a5 in mark_object (arg=172490834) at alloc.c:5460 ptr = 0xa480050 obj = #2 0x08190e74 in mark_maybe_pointer () at alloc.c:4127 obj = 13 m = #3 mark_memory () at alloc.c:4177 p = pp = 0xbfffdd30 #4 mark_stack () at alloc.c:4410 j = {o = 0, j = {{__jmpbuf = {0, 1074266114, 0, -1073752632, -1696438098, 1465006529}, __mask_was_saved = 0, __saved_mask = {__val = {0, 138120960, 138722072, 3221214616, 135857517, 138491786, 77, 249, 167087104, 140743645, 3221214600, 248, 138456792, 138120960, 172343424, 728, 2624551902, 138469578, 69, 3221226518, 138456064, 138921598, 0, 3221214632, 0, 138501272, 0, 3221214664, 135494133, 138469578, 159486224, 3221356668}}}}} stack_grows_down_p = 0 end = 0xbfffe588 #5 0x0819164a in Fgarbage_collect () at alloc.c:4992 bind = catch = handler = stack_top_variable = 8 '\b' i = message_p = 0 total = {138129968, -1073752380, 1, 138604712, 138818168, 138469602, 138818168, -1073752328} t1 = {tv_sec = 1292663088, tv_usec = 883100} t2 = {tv_sec = -1073752068, tv_usec = -1073752384} #6 0x081dea63 in Fbyte_code (bytestr=148241241, vector=149386573, maxdepth=20) at bytecode.c:714 op = 13 stack = {pc = 0x8e2b679 "A", top = 0xbfffd6bc, bottom = 0xbfffd6c0, byte_string = 148241241, byte_string_start = 0x8e2b644 "\b;\203W", constants = 149386573, next = 0xbfffd8a4} top = 0xbfffd6bc result = #7 0x081a6eb4 in funcall_lambda (fun=, nargs=, arg_vector=0xd) at eval.c:3174 val = syms_left = 138469578 next = i = 1 optional = 1 rest = 0 #8 0x081a71d3 in Ffuncall (nargs=2, args=0xbfffd840) at eval.c:3047 fun = 0 original_fun = 148731514 funcar = numargs = 1 val = backtrace = {next = 0xbfffd97c, function = 0xbfffd840, args = 0xbfffd844, nargs = 1, evalargs = 0 '\000', debug_on_exit = 0 '\000'} internal_args = ---Type to continue, or q to quit--- i = #9 0x081de821 in Fbyte_code (bytestr=149867225, vector=149173205, maxdepth=24) at bytecode.c:679 op = stack = {pc = 0x8eafd41 "\210\323c\210\202k", top = 0xbfffd844, bottom = 0xbfffd840, byte_string = 149867225, byte_string_start = 0x8eafcc4 "\b\205", , constants = 149173205, next = 0xbfffda34} top = 0xbfffd840 result = #10 0x081a6eb4 in funcall_lambda (fun=, nargs=, arg_vector=0xd) at eval.c:3174 val = syms_left = 138469578 next = i = 4 optional = 1 rest = 0 #11 0x081a71d3 in Ffuncall (nargs=5, args=0xbfffd9c0) at eval.c:3047 fun = 0 original_fun = 149240410 funcar = numargs = 4 val = backtrace = {next = 0xbfffdb0c, function = 0xbfffd9c0, args = 0xbfffd9c4, nargs = 4, evalargs = 0 '\000', debug_on_exit = 0 '\000'} internal_args = i = #12 0x081de821 in Fbyte_code (bytestr=148572073, vector=148573725, maxdepth=36) at bytecode.c:679 op = stack = {pc = 0x8eaf072 "\210)\307\020\331\332!\207", top = 0xbfffd9d0, bottom = 0xbfffd9c0, byte_string = 148572073, byte_string_start = 0x8eaf010 "\b\205i", constants = 148573725, next = 0xbfffdba4} top = 0xbfffd9c0 result = #13 0x081a6eb4 in funcall_lambda (fun=, nargs=, arg_vector=0xd) at eval.c:3174 val = syms_left = 138469578 next = i = 0 optional = 0 rest = 0 #14 0x081a71d3 in Ffuncall (nargs=1, args=0xbfffdb50) at eval.c:3047 fun = 0 original_fun = 148566434 funcar = numargs = 0 val = backtrace = {next = 0xbfffdc7c, function = 0xbfffdb50, args = 0xbfffdb54, nargs = 0, evalargs = 0 '\000', debug_on_exit = 0 '\000'} internal_args = i = #15 0x081de821 in Fbyte_code (bytestr=148535169, vector=149018877, maxdepth=16) at bytecode.c:679 op = stack = {pc = 0x8daeea7 "\210\330 \210\016\036\203w", top = 0xbfffdb50, bottom = 0xbfffdb50, byte_string = 148535169, byte_string_start = 0x8daee3c "\306\307!\310\030\306\307!)\031\211\032G\tGU\204\035", constants = 149018877, next = 0x0} ---Type to continue, or q to quit--- top = 0xbfffdb50 result = #16 0x081a6eb4 in funcall_lambda (fun=, nargs=, arg_vector=0xd) at eval.c:3174 val = syms_left = 138469578 next = i = 1 optional = 1 rest = 0 #17 0x081a71d3 in Ffuncall (nargs=2, args=0xbfffdd10) at eval.c:3047 fun = 0 original_fun = 147285242 funcar = numargs = 1 val = backtrace = {next = 0xbfffdeac, function = 0xbfffdd10, args = 0xbfffdd14, nargs = 1, evalargs = 0 '\000', debug_on_exit = 0 '\000'} internal_args = i = #18 0x081a3f97 in Fcall_interactively (function=147285242, record_flag=138469578, keys=138498805) at callint.c:849 val = specs = 138469578 filter_specs = teml = up_event = 138469578 enable = 0 next_event = prefix_arg = string = tem = i = 2 j = foo = 0 prompt1 = '\000' arg_from_tty = 0 key_count = record_then_fail = save_this_command = 147285242 save_last_command = 148953410 save_this_original_command = 147285242 save_real_this_command = 147285242 #19 0x081a73a3 in Ffuncall (nargs=4, args=0xbfffdef0) at eval.c:2996 fun = original_fun = funcar = numargs = 3 val = backtrace = {next = 0x0, function = 0xbfffdef0, args = 0xbfffdef4, nargs = 3, evalargs = 0 '\000', debug_on_exit = 0 '\000'} internal_args = 0xbfffdef4 i = 8192 ---Type to continue, or q to quit--- #20 0x081a7651 in call3 (fn=138595418, arg1=147285242, arg2=138469578, arg3=138469578) at eval.c:2820 ret_ungc_val = 0 args = {138595418, 147285242, 138469578, 138469578} #21 0x08147d2a in command_loop_1 () at keyboard.c:1720 cmd = keybuf = {324, 388, 460, 40, -1233865128, -1073750066, 138469578, 138469578, -1073749992, 135530045, 164367918, -1073750066, -1073749960, -1208044282, 0, 0, 0, 0, 0, 0, -1073750052, -1090461936, 0, 134545408, 138469578, 138793242, -1073750016, 0, 23, 138867080} i = prev_modiff = 2058 prev_buffer = 0xa0cc560 #22 0x081a5a61 in internal_condition_case (bfun=0x81479b0 , handlers=138500586, hfun=0x8140560 ) at eval.c:1460 val = 0 c = {tag = 138469578, val = 138469578, next = 0xbfffe158, gcpro = 0x0, jmp = {{__jmpbuf = {138867080, 138867080, 138867096, -1073749736, -1702115154, 1375718337}, __mask_was_saved = 0, __saved_mask = {__val = {1, 3087005920, 0, 0, 0, 0, 3221217084, 3065770045, 0, 0, 3221217552, 3221217484, 3221217496, 3059482612, 3087005920, 0, 3059417090, 3086946160, 134550982, 3067322984, 3087003588, 3065326024, 40, 3221217272, 3086923014, 3221217296, 3059465684, 3065343484, 3067323048, 3221217824, 110932256, 3087003588}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0} h = {handler = 138500586, var = 138469578, chosen_clause = 138469602, tag = 0xbfffe034, next = 0x0} #23 0x08140205 in command_loop_2 (ignore=138469578) at keyboard.c:1321 val = 0 #24 0x081a5b41 in internal_catch (tag=138497034, func=0x81401e0 , arg=138469578) at eval.c:1204 c = {tag = 138497034, val = 138469578, next = 0x0, gcpro = 0x0, jmp = {{__jmpbuf = {138867080, 138867080, 138867096, -1073749464, -1702295378, 1375581121}, __mask_was_saved = 0, __saved_mask = {__val = {3221217812, 3221217960, 135528306, 3221217824, 0 , 3065760510, 0, 0, 0, 3065760510, 0, 0, 0, 138489328, 1, 138142272, 0, 14, 3221217916, 138638154, 138638152}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0} #25 0x081403b1 in command_loop () at keyboard.c:1300 No locals. #26 0x0814073b in recursive_edit_1 () at keyboard.c:923 val = #27 0x08140862 in Frecursive_edit () at keyboard.c:985 buffer = 138469578 #28 0x08136956 in main (argc=, argv=) at emacs.c:1716 dummy = -1073748552 stack_bottom_variable = 8 '\b' do_initial_setlocale = 138867080 skip_args = 0 rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615} no_loadup = 0 junk = 0x0 dname_arg = 0x0 ch_to_dir = 0xbfffe588 "\270\345\377\277\351\236 \b\004\003ɶ\364\377ȶ\300\345\377\277\364\377ȶ" -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997