GNU bug report logs - #21531
24.4; Segmentation fault in glib/emacs

Previous Next

Package: emacs;

Reported by: Márcio Dick Smiderle <marciodicksmiderle <at> gmail.com>

Date: Mon, 21 Sep 2015 19:43:01 UTC

Severity: normal

Found in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21531 in the body.
You can then email your comments to 21531 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21531; Package emacs. (Mon, 21 Sep 2015 19:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Márcio Dick Smiderle <marciodicksmiderle <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 21 Sep 2015 19:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Márcio Dick Smiderle <marciodicksmiderle <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; Segmentation fault in glib/emacs
Date: Mon, 21 Sep 2015 15:55:16 -0300
[Message part 1 (text/plain, inline)]
Hello,

I was using emacs with lots of buffers of varied size (from some kbytes
to 25 megabytes) for a couple of days and between some system
hibernations.
I have saved two core files. I can upload the xzipped core files to some
server upon your request (35 and 58 MB).

First backtrace (547MB core file):

(gdb) bt full
#0  0x00007f25d54df79b in raise (sig=sig <at> entry=11) at
../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
        resultvar = 0
        pid = <optimized out>
#1  0x00000000004e9fc6 in terminate_due_to_signal (sig=sig <at> entry=11,
backtrace_limit=backtrace_limit <at> entry=40) at emacs.c:378
No locals.
#2  0x00000000005023ae in handle_fatal_signal (sig=sig <at> entry=11) at
sysdep.c:1630
No locals.
#3  0x0000000000502413 in deliver_thread_signal (handler=0x5023a0
<handle_fatal_signal>, sig=11) at sysdep.c:1604
No locals.
#4  deliver_fatal_thread_signal (sig=11) at sysdep.c:1642
No locals.
#5  <signal handler called>
No locals.
#6  magazine_chain_pop_head (magazine_chunks=0x1382e90) at
/tmp/buildd/glib2.0-2.42.1/./glib/gslice.c:539
        chunk = 0x40179fa0
#7  thread_memory_magazine1_alloc (tmem=<optimized out>, ix=1) at
/tmp/buildd/glib2.0-2.42.1/./glib/gslice.c:842
        mag = 0x1382e90
#8  g_slice_alloc (mem_size=mem_size <at> entry=32) at
/tmp/buildd/glib2.0-2.42.1/./glib/gslice.c:998
        ix = 1
        tmem = 0x1382e70
        chunk_size = 32
        mem = <optimized out>
#9  0x00007f25d9496cee in g_slice_alloc0 (mem_size=mem_size <at> entry=32) at
/tmp/buildd/glib2.0-2.42.1/./glib/gslice.c:1032
        mem = <optimized out>
#10 0x00007f25d94777b4 in g_source_new (source_funcs=0x7f25d973d9c0
<g_timeout_funcs>, struct_size=<optimized out>) at
/tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:864
        source = 0x67580d0
#11 0x00007f25d947a8b9 in g_timeout_source_new (interval=398) at
/tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:4546
        source = <optimized out>
        timeout_source = <optimized out>
#12 0x00007f25d99e6535 in rate_limiter_timeout (timeout_data=0xdad1f0,
timeout_data <at> entry=<error reading variable: value has been optimized out>)
    at /tmp/buildd/glib2.0-2.42.1/./gio/gfilemonitor.c:602
        monitor = 0xdad1f0
        data = {
          min_time = 397,
          time_now = 1075330686,
          monitor = 0xdad1f0
        }
        source = <optimized out>
#13 0x00007f25d947a613 in g_timeout_dispatch (source=0x7f25c8011c30,
callback=<optimized out>, user_data=<optimized out>) at
/tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:4520
        timeout_source = 0x7f25c8011c30
        again = <optimized out>
#14 0x00007f25d9479b6d in g_main_dispatch (context=0x1cd7a70) at
/tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3111
        dispatch = 0x7f25d947a600 <g_timeout_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0xdad1f0
        callback = 0x7f25d99e6490 <rate_limiter_timeout>
        cb_funcs = <optimized out>
        cb_data = 0x7f25c8011b60
        need_destroy = <optimized out>
        source = 0x7f25c8011c30
        current = 0x1cfb5b0
        i = 1
---Type <return> to continue, or q <return> to quit---
#15 g_main_context_dispatch (context=context <at> entry=0x1cd7a70) at
/tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3710
No locals.
#16 0x00000000005d4d18 in xg_select (fds_lim=23,
rfds=rfds <at> entry=0x7ffe56c75ef0,
wfds=wfds <at> entry=0x7ffe56c75f70, efds=efds <at> entry=0x0,
timeout=timeout <at> entry=0x7ffe56c75ed0,

    sigmask=sigmask <at> entry=0x0) at xgselect.c:150
        pselect_errno = 11
        all_rfds = {
          fds_bits = {0 <repeats 16 times>}
        }
        all_wfds = {
          fds_bits = {0 <repeats 16 times>}
        }
        tmo = {
          tv_sec = 0,
          tv_nsec = 474000000
        }
        tmop = 0x7ffe56c758e0
        context = 0x1cd7a70
        have_wfds = 1
        gfds_buf = {{
            fd = 7,
            events = 1,
            revents = 0
          }, {
            fd = 8,
            events = 1,
            revents = 0
          }, {
            fd = 11,
            events = 1,
            revents = 0
          }, {
            fd = 1455905176,
            events = 32766,
            revents = 0
          }, {
            fd = 3,
            events = 0,
            revents = 0
          }, {
            fd = 10027011,
            events = 0,
            revents = 0
          }, {
            fd = 11041548,
            events = 0,
            revents = 0
          }, {
            fd = 10055286,
            events = 0,
            revents = 0
          }, {
            fd = 10055297,
            events = 0,
---Type <return> to continue, or q <return> to quit---
            revents = 0
          }, {
            fd = -716312919,
            events = 32549,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -766318335,
            events = 32549,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -1,
            events = 65535,
            revents = 65535
          }, {
            fd = 30285312,
            events = 0,
            revents = 0
          }, {
            fd = 12315634,
            events = 1,
            revents = 0
          }, {
            fd = 30285264,
            events = 0,
            revents = 0
          }, {
            fd = 30281088,
            events = 0,
            revents = 0
          }, {
            fd = 30281140,
            events = 0,
            revents = 0
          }, {
            fd = 4096,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
---Type <return> to continue, or q <return> to quit---
          }, {
            fd = 1455905408,
            events = 32766,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = 1455905488,
            events = 32766,
            revents = 0
          }, {
            fd = 80,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 12315634,
            events = 0,
            revents = 0
          }, {
            fd = 12438274,
            events = 0,
            revents = 0
          }, {
            fd = 12315682,
            events = 0,
            revents = 0
          }, {
            fd = 12315634,
            events = 0,
            revents = 0
          }, {
            fd = 5546870,
            events = 0,
            revents = 0
          }, {
            fd = 20684816,
            events = 0,
            revents = 0
          }, {
            fd = 192,
            events = 0,
            revents = 0
          }, {
            fd = 12315634,
            events = 0,
            revents = 0
          }, {
---Type <return> to continue, or q <return> to quit---
            fd = -823776768,
            events = 43630,
            revents = 21580
          }, {
            fd = 1455905472,
            events = 32766,
            revents = 0
          }, {
            fd = 30279664,
            events = 0,
            revents = 0
          }, {
            fd = 1455905872,
            events = 32766,
            revents = 0
          }, {
            fd = -823776768,
            events = 43630,
            revents = 21580
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 31066800,
            events = 0,
            revents = 0
          }, {
            fd = 1455905936,
            events = 32766,
            revents = 0
          }, {
            fd = -823776768,
            events = 43630,
            revents = 21580
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 31066800,
            events = 0,
            revents = 0
          }, {
            fd = 1455905936,
            events = 32766,
            revents = 0
          }, {
            fd = 1455905928,
            events = 32766,
            revents = 0
          }, {
            fd = 0,
---Type <return> to continue, or q <return> to quit---
            events = 0,
            revents = 0
          }, {
            fd = 2147483647,
            events = 0,
            revents = 0
          }, {
            fd = -799482416,
            events = 32549,
            revents = 0
          }, {
            fd = -682226031,
            events = 32549,
            revents = 0
          }, {
            fd = 30270480,
            events = 0,
            revents = 0
          }, {
            fd = -823776768,
            events = 43630,
            revents = 21580
          }, {
            fd = 1455905744,
            events = 32766,
            revents = 0
          }, {
            fd = 31066800,
            events = 0,
            revents = 0
          }, {
            fd = 1455905936,
            events = 32766,
            revents = 0
          }, {
            fd = -823776768,
            events = 43630,
            revents = 21580
          }, {
            fd = 30899200,
            events = 0,
            revents = 0
          }, {
            fd = 30899200,
            events = 0,
            revents = 0
          }, {
            fd = 1455905936,
            events = 32766,
            revents = 0
          }, {
            fd = 30243440,
            events = 0,
---Type <return> to continue, or q <return> to quit---
            revents = 0
          }, {
            fd = 1455905928,
            events = 32766,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 2147483647,
            events = 0,
            revents = 0
          }, {
            fd = -626021744,
            events = 32549,
            revents = 0
          }, {
            fd = 1455905936,
            events = 32766,
            revents = 0
          }, {
            fd = -721404771,
            events = 32549,
            revents = 0
          }, {
            fd = 30899200,
            events = 0,
            revents = 0
          }, {
            fd = -649622159,
            events = 32549,
            revents = 0
          }, {
            fd = 1075330,
            events = 0,
            revents = 0
          }, {
            fd = 211511432,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -823776768,
            events = 43630,
            revents = 21580
          }, {
            fd = 30243440,
            events = 0,
            revents = 0
---Type <return> to continue, or q <return> to quit---
          }, {
            fd = -649615968,
            events = 32549,
            revents = 0
          }, {
            fd = 1455905928,
            events = 32766,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 12315634,
            events = 0,
            revents = 0
          }, {
            fd = 5509136,
            events = 0,
            revents = 0
          }, {
            fd = 1455905928,
            events = 32766,
            revents = 0
          }, {
            fd = -649619350,
            events = 32549,
            revents = 0
          }, {
            fd = 1455905888,
            events = 474,
            revents = 0
          }, {
            fd = 15,
            events = 0,
            revents = 0
          }, {
            fd = 1455906128,
            events = 32766,
            revents = 0
          }, {
            fd = 5644661,
            events = 0,
            revents = 0
          }, {
            fd = 41366592,
            events = 0,
            revents = 0
          }, {
            fd = 41366688,
            events = 0,
            revents = 0
          }, {
---Type <return> to continue, or q <return> to quit---
            fd = 12315634,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 13466224,
            events = 0,
            revents = 0
          }, {
            fd = 3,
            events = 0,
            revents = 0
          }, {
            fd = -649621624,
            events = 32549,
            revents = 0
          }, {
            fd = 12315634,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = 1455906152,
            events = 32766,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = 161181718,
            events = 0,
            revents = 0
          }, {
            fd = 12315392,
            events = 0,
            revents = 0
          }, {
            fd = 2147483647,
            events = 0,
            revents = 0
          }, {
            fd = 1455906272,
---Type <return> to continue, or q <return> to quit---
            events = 32766,
            revents = 0
          }, {
            fd = 193985613,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 653231,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 8,
            events = 0,
            revents = 0
          }, {
            fd = -721404771,
            events = 32549,
            revents = 0
          }, {
            fd = 8,
            events = 0,
            revents = 0
          }, {
            fd = 6160018,
            events = 0,
            revents = 0
          }, {
            fd = 16721206,
            events = 0,
            revents = 0
          }, {
            fd = 75938694,
            events = 0,
            revents = 0
          }, {
            fd = 161181734,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 298763293,
            events = 0,
---Type <return> to continue, or q <return> to quit---
            revents = 0
          }, {
            fd = 5175106,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 28940552,
            events = 0,
            revents = 0
          }, {
            fd = 1442356938,
            events = 0,
            revents = 0
          }, {
            fd = 161178502,
            events = 0,
            revents = 0
          }, {
            fd = 161181734,
            events = 0,
            revents = 0
          }, {
            fd = 150667729,
            events = 0,
            revents = 0
          }, {
            fd = 6,
            events = 6,
            revents = 0
          }, {
            fd = 1442356938,
            events = 0,
            revents = 0
          }, {
            fd = 852825666,
            events = 0,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
---Type <return> to continue, or q <return> to quit---
          }}
        gfds = <optimized out>
        gfds_size = <optimized out>
        n_gfds = <optimized out>
        retval = 0
        our_fds = 0
        max_fds = 22
        i = <optimized out>
        nfds = 0
        tmo_in_millisec = 474
        need_to_dispatch = true
        sa_must_free = <optimized out>
#17 0x0000000000599b66 in wait_reading_process_output
(time_limit=time_limit <at> entry=30, nsecs=nsecs <at> entry=0,
read_kbd=read_kbd <at> entry=-1, do_display=do_display <at> entry=true,
    wait_for_cell=12315634, wait_proc=wait_proc <at> entry=0x0,
just_wait_proc=0) at process.c:4606
        timeout_reduced_for_timers = true
        channel = <optimized out>
        nfds = <optimized out>
        Available = {
          fds_bits = {6250784, 0 <repeats 15 times>}
        }
        Writeok = {
          fds_bits = {0 <repeats 16 times>}
        }
        check_write = true
        check_delay = 2
        no_avail = false
        xerrno = 11
        proc = <optimized out>
        timeout = {
          tv_sec = 0,
          tv_nsec = 702157937
        }
        wait_channel = -1
        got_some_input = false
#18 0x0000000000422313 in sit_for (timeout=<optimized out>,
reading=reading <at> entry=true, display_option=display_option <at> entry=1) at
dispnew.c:5861
        sec = 30
        nsec = 0
        do_display = true
#19 0x00000000004f4f73 in read_char (commandflag=1, map=map <at> entry=279604566,
prev_event=12315634, used_mouse_menu=used_mouse_menu <at> entry=0x7ffe56c764db,
    end_time=end_time <at> entry=0x0) at keyboard.c:2809
        tem0 = <optimized out>
        timeout = <optimized out>
        delay_level = <optimized out>
        buffer_size = <optimized out>
        c = <optimized out>
        jmpcount = 2
        local_getcjmp = {{
            __jmpbuf = {12315634, -4287570589158258061, 224659504,
12315682, 254075830, 140730354329008, 4288501391567833715,
-4287571589513262477},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0, 0, 0, 0, 0, 0, 0, 0, 5565662, 2, 5953336,
224659504, 16539024, 16733472, 5544382, 30}
            }
          }}
---Type <return> to continue, or q <return> to quit---
        save_jump = {{
            __jmpbuf = {12315634, -4287576190309676429, 31441200,
269356166, 140730354329008, 140730354329008, 4288501391567833715,
-4287571589513262477},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0, 0, 0, 0, 0, 0, 0, 0, 5565662, 2, 5543866,
216360416, 16539024, 16733472, 5544382, 30}
            }
          }}
        tem = <optimized out>
        save = <optimized out>
        previous_echo_area_message = 12315634
        also_record = 12315634
        reread = false
        polling_stopped_here = false
        orig_kboard = 0x1dfc130
#20 0x00000000004f61bf in read_key_sequence
(keybuf=keybuf <at> entry=0x7ffe56c765b0,
prompt=12315634, dont_downcase_last=dont_downcase_last <at> entry=false,
    can_return_switch_frame=can_return_switch_frame <at> entry=true,
fix_current_buffer=fix_current_buffer <at> entry=true,
prevent_redisplay=prevent_redisplay <at> entry=false, bufsize=30)
    at keyboard.c:9088
        interrupted_kboard = 0x1dfc130
        interrupted_frame = 0x11726f8
        key = <optimized out>
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = <optimized out>
        new_binding = <optimized out>
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = 279604566
        first_event = 12315634
        first_unbound = 31
        mock_input = 0
        fkey = {
          parent = 16118966,
          map = 16118966,
          start = 0,
          end = 0
        }
        keytran = {
          parent = 12295750,
          map = 12295750,
          start = 0,
          end = 0
        }
        indec = {
          parent = 16119062,
          map = 16119062,
          start = 0,
          end = 0
        }
        shift_translated = false
        delayed_switch_frame = 12315634
        original_uppercase = 12438274
---Type <return> to continue, or q <return> to quit---
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0xd640830
        fake_prefixed_keys = 12315634
#21 0x00000000004f7f30 in command_loop_1 () at keyboard.c:1452
        cmd = <optimized out>
        keybuf = {96, 76, 108, 6074417390310271488, 140730354329088,
6074417390310271488, 9263392, 140730354329216, 12367218, 249174438, 0,
140730354329872, 249174438, 5622372,
          12363058, 249174438, 8698593, 12367218, 0, 6074417390310271488,
249174438, 5172749, 140730354329216, 12315634, 12315634, 5173068,
135532032, 5546870, 12439314, 64}
        i = <optimized out>
        prev_modiff = 844
        prev_buffer = 0xd640830
#22 0x000000000055ab07 in internal_condition_case (bfun=bfun <at> entry=0x4f7d30
<command_loop_1>, handlers=<optimized out>, hfun=hfun <at> entry=0x4eee40
<cmd_error>) at eval.c:1348
        val = <optimized out>
        c = <optimized out>
#23 0x00000000004ea43e in command_loop_2 (ignore=ignore <at> entry=12315634) at
keyboard.c:1177
        val = 20459120
#24 0x000000000055a9eb in internal_catch (tag=12363106,
func=func <at> entry=0x4ea420
<command_loop_2>, arg=12315634) at eval.c:1112
        val = <optimized out>
        c = <optimized out>
#25 0x00000000004eea57 in command_loop () at keyboard.c:1156
No locals.
#26 recursive_edit_1 () at keyboard.c:777
        val = 20538992
#27 0x00000000004eed70 in Frecursive_edit () at keyboard.c:848
        buffer = <optimized out>
#28 0x0000000000418579 in main (argc=0, argv=0x7ffe56c76918) at emacs.c:1646
        dummy = 4242440
        stack_bottom_variable = -10 '\366'
        skip_args = 0
        rlim = {
          rlim_cur = 8720000,
          rlim_max = 18446744073709551615
        }
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x7f25d4f211a8 "2("
You can't do that without a process to debug.
(gdb)
(gdb) xbacktrace
You can't do that without a process to debug.
(gdb)


Second backtrace (338MB core file):

(gdb) bt full
#0  magazine_chain_pop_head (magazine_chunks=0x7faf8c000920) at
/tmp/buildd/glib2.0-2.42.1/./glib/gslice.c:539
        chunk = 0x4131d743
#1  thread_memory_magazine1_alloc (tmem=<optimized out>, ix=1) at
/tmp/buildd/glib2.0-2.42.1/./glib/gslice.c:842
        mag = 0x7faf8c000920
#2  g_slice_alloc (mem_size=mem_size <at> entry=24) at
/tmp/buildd/glib2.0-2.42.1/./glib/gslice.c:998
        ix = 1
        tmem = 0x7faf8c000900
        chunk_size = 32
        mem = <optimized out>
#3  0x00007faf9f8e2fc4 in g_list_append (list=0x0,
data=data <at> entry=0x7faf8c011b60)
at /tmp/buildd/glib2.0-2.42.1/./glib/glist.c:258
        new_list = <optimized out>
        last = <optimized out>
#4  0x00007faf9f8f75a2 in g_queue_push_tail (queue=0x2021d80,
data=data <at> entry=0x7faf8c011b60) at
/tmp/buildd/glib2.0-2.42.1/./glib/gqueue.c:413
No locals.
#5  0x00007faf9fef5b22 in ik_read_callback (user_data=<optimized out>) at
/tmp/buildd/glib2.0-2.42.1/./gio/inotify/inotify-kernel.c:357
        event = <optimized out>
        event_size = 32
        buffer = 0x7faf8c001230 "\001"
        buffer_size = 32
        buffer_i = <optimized out>
        events = 0
#6  0x00007faf9f8e6b6d in g_main_dispatch (context=0x13b9000) at
/tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3111
        dispatch = 0x7faf9fef57c0 <ik_source_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x0
        callback = 0x7faf9fef5a30 <ik_read_callback>
        cb_funcs = <optimized out>
        cb_data = 0x6d50670
        need_destroy = <optimized out>
        source = 0x38793a0
        current = 0x22804b0
        i = 0
#7  g_main_context_dispatch (context=context <at> entry=0x13b9000) at
/tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3710
No locals.
#8  0x00007faf9f8e6f48 in g_main_context_iterate
(context=context <at> entry=0x13b9000,
block=block <at> entry=1, dispatch=dispatch <at> entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3781
        max_priority = 2147483647
        timeout = -1
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 2
        fds = 0x7faf8c0008e0
#9  0x00007faf9f8e6ffc in g_main_context_iteration (context=0x13b9000,
may_block=may_block <at> entry=1) at
/tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3842
        retval = <optimized out>
#10 0x00007faf9f8e7039 in glib_worker_main (data=<optimized out>) at
/tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:5589
No locals.
#11 0x00007faf9f90d935 in g_thread_proxy (data=0x13b9400) at
/tmp/buildd/glib2.0-2.42.1/./glib/gthread.c:764
        thread = 0x13b9400
#12 0x00007faf9b9450a4 in start_thread (arg=0x7faf94797700) at
pthread_create.c:309
        __res = <optimized out>
        pd = 0x7faf94797700
        now = <optimized out>
---Type <return> to continue, or q <return> to quit---
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140392086992640,
-8022903173572471861, 0, 140392327508064, 140392273074400, 140392086992640,
8068133727158129611,
                8068158302816687051}, mask_was_saved = 0}}, priv = {pad =
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#13 0x00007faf9b46404d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
(gdb)

(gdb) xbacktrace
You can't do that without a process to debug.
(gdb)


In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-03-07 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11604000
System Description:    Debian GNU/Linux 8.2 (jessie)

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp
 --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-z,relro'

Important settings:
  value of $LANG: pt_BR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: C/l

Minor modes in effect:
  hide-ifdef-mode: t
  highlight-symbol-mode: t
  delete-selection-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  savehist-mode: t
  recentf-mode: t
  minibuffer-electric-default-mode: t
  minibuffer-depth-indicate-mode: t
  iswitchb-mode: t
  gud-tooltip-mode: t
  global-semanticdb-minor-mode: t
  semantic-mru-bookmark-mode: t
  global-semantic-mru-bookmark-mode: t
  semantic-decoration-mode: t
  global-semantic-decoration-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  global-ede-mode: t
  ede-minor-mode: t
  global-company-mode: t
  company-mode: t
  desktop-save-mode: t
  cua-mode: t
  winner-mode: t
  global-semantic-idle-scheduler-mode: t
  semantic-idle-scheduler-mode: t
  semantic-stickyfunc-mode: t
  global-semantic-stickyfunc-mode: t
  semantic-show-parser-state-mode: t
  global-semantic-show-parser-state-mode: t
  semantic-show-unmatched-syntax-mode: t
  global-semantic-show-unmatched-syntax-mode: t
  semantic-mode: t
  back-button-mode: t
  drag-stuff-global-mode: t
  drag-stuff-mode: t
  shell-dirtrack-mode: t
  autopair-global-mode: t
  autopair-mode: t
  show-paren-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t
  hs-minor-mode: t

Recent input:
<home> y <home> y <up> <down> C-x 1 M-x w i n d o w
<tab> c o n <tab> f o u <tab> <return> <S-down> C-x
b <return> C-x b d b u <return> <S-right> M-& l s <return>
<S-up> <S-left> M-x c o m p i l e <escape> <escape>
<escape> C-x b v c - d i <return> <C-home> <down> <down>
<down> <down> <end> <left> <left> g M-x c o m p i l
e <return> <up> <return> <S-right> C-x 2 <S-down> <S-left>
<S-down> <C-S-right> <C-S-up> M-x C-r d e d i c a <tab>
<return> <return> <S-up> M-x <up> <return> <S-down>
<S-down> <S-left> <S-up> <S-down> <C-S-right> <C-S-left>
<C-S-up> <S-down> C-x b <return> C-x <kp-add> C-x <kp-add>
M-x r e p o r <tab> <return>

Recent messages:
[yas] Loading compiled snippets from
/home/marcio/.emacs.d/el-get/yasnippet/snippets/lisp-interaction-mode
[yas] Loading for `emacs-lisp-mode', just-in-time: (lambda nil
(yas--load-directory-1 (quote
/home/marcio/.emacs.d/el-get/yasnippet/snippets/emacs-lisp-mode) (quote
emacs-lisp-mode)))!
[yas] Loading compiled snippets from
/home/marcio/.emacs.d/el-get/yasnippet/snippets/emacs-lisp-mode
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
ls: finished.
Quit
Mark set
(No files need saving)
Compilation finished

Load-path shadows:
/home/marcio/.emacs.d/el-get/jedi-core/jedi-core hides
/home/marcio/.emacs.d/el-get/jedi/jedi-core
/home/marcio/.emacs.d/el-get/fringe-helper/tests hides
/home/marcio/.emacs.d/el-get/auto-dictionary/tests
/home/marcio/.emacs.d/el-get/company-mode/company-nxml hides
/home/marcio/.emacs.d/el-get/company/company-nxml
/home/marcio/.emacs.d/el-get/company-mode/company-yasnippet hides
/home/marcio/.emacs.d/el-get/company/company-yasnippet
/home/marcio/.emacs.d/el-get/company-mode/company-css hides
/home/marcio/.emacs.d/el-get/company/company-css
/home/marcio/.emacs.d/el-get/company-mode/company-xcode hides
/home/marcio/.emacs.d/el-get/company/company-xcode
/home/marcio/.emacs.d/el-get/company-mode/company-clang hides
/home/marcio/.emacs.d/el-get/company/company-clang
/home/marcio/.emacs.d/el-get/company-mode/company-oddmuse hides
/home/marcio/.emacs.d/el-get/company/company-oddmuse
/home/marcio/.emacs.d/el-get/company-mode/company-gtags hides
/home/marcio/.emacs.d/el-get/company/company-gtags
/home/marcio/.emacs.d/el-get/company-mode/company-eclim hides
/home/marcio/.emacs.d/el-get/company/company-eclim
/home/marcio/.emacs.d/el-get/company-mode/company-cmake hides
/home/marcio/.emacs.d/el-get/company/company-cmake
/home/marcio/.emacs.d/el-get/company-mode/company-etags hides
/home/marcio/.emacs.d/el-get/company/company-etags
/home/marcio/.emacs.d/el-get/company-mode/company-semantic hides
/home/marcio/.emacs.d/el-get/company/company-semantic
/home/marcio/.emacs.d/el-get/company-mode/company-tempo hides
/home/marcio/.emacs.d/el-get/company/company-tempo
/home/marcio/.emacs.d/el-get/company-mode/company-dabbrev hides
/home/marcio/.emacs.d/el-get/company/company-dabbrev
/home/marcio/.emacs.d/el-get/company-mode/company-abbrev hides
/home/marcio/.emacs.d/el-get/company/company-abbrev
/home/marcio/.emacs.d/el-get/company-mode/company-dabbrev-code hides
/home/marcio/.emacs.d/el-get/company/company-dabbrev-code
/home/marcio/.emacs.d/el-get/company-mode/company-capf hides
/home/marcio/.emacs.d/el-get/company/company-capf
/home/marcio/.emacs.d/el-get/company-mode/company hides
/home/marcio/.emacs.d/el-get/company/company
/home/marcio/.emacs.d/el-get/company-mode/company-template hides
/home/marcio/.emacs.d/el-get/company/company-template
/home/marcio/.emacs.d/el-get/company-mode/company-keywords hides
/home/marcio/.emacs.d/el-get/company/company-keywords
/home/marcio/.emacs.d/el-get/company-mode/company-elisp hides
/home/marcio/.emacs.d/el-get/company/company-elisp
/home/marcio/.emacs.d/el-get/company-mode/company-ispell hides
/home/marcio/.emacs.d/el-get/company/company-ispell
/home/marcio/.emacs.d/el-get/company-mode/company-bbdb hides
/home/marcio/.emacs.d/el-get/company/company-bbdb
/home/marcio/.emacs.d/el-get/company-mode/company-files hides
/home/marcio/.emacs.d/el-get/company/company-files
/home/marcio/.emacs.d/el-get/pde/lisp/windata hides
/home/marcio/.emacs.d/el-get/windata/windata
/home/marcio/.emacs.d/el-get/pde/lisp/tree-mode hides
/home/marcio/.emacs.d/el-get/tree-mode/tree-mode
/home/marcio/.emacs.d/el-get/basic-edit-toolkit/basic-edit-toolkit hides
~/.emacs.d/lisp/basic-edit-toolkit
/home/marcio/.emacs.d/el-get/log4j-mode/log4j-mode hides
~/.emacs.d/lisp/log4j-mode
/home/marcio/.emacs.d/el-get/cmake-mode/cmake-mode hides
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode
/home/marcio/.emacs.d/el-get/cmake-mode/cmake-mode hides
/usr/share/emacs/site-lisp/cmake-mode
/home/marcio/.emacs.d/el-get/dsvn/dsvn hides /usr/share/emacs/site-lisp/dsvn
/usr/share/emacs/24.4/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/site-lisp/rst hides
/usr/share/emacs/24.4/lisp/textmodes/rst
/usr/share/emacs24/site-lisp/dictionaries-common/ispell hides
/usr/share/emacs/24.4/lisp/textmodes/ispell
/usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides
/usr/share/emacs/24.4/lisp/textmodes/flyspell
/home/marcio/.emacs.d/el-get/flymake/flymake hides
/usr/share/emacs/24.4/lisp/progmodes/flymake
/home/marcio/.emacs.d/el-get/cperl-mode/cperl-mode hides
/usr/share/emacs/24.4/lisp/progmodes/cperl-mode

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils misearch multi-isearch
windowconfig semantic/tag-write ede/locate edebug-x edebug ert debug
ede/linux ede/make conf-mode rainbow-delimiters grep ede/dired find-file
flymake-lua lua-mode vc-dir ewoc vc semantic/tag-file flycheck find-func
subr-x pcase jka-compr sh-script smie let-alist flymake auto-dictionary
flyspell ispell markdown-mode noutline outline autorevert filenotify
log4j-mode vc-dispatcher vc-git semantic/bovine/c
semantic/decorate/include hideif semantic/bovine/c-by semantic/lex-spp
semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs
semantic/analyze semantic/scope semantic/analyze/fcn hideshow
highlight-symbol cc-langs mds:util .emacs saveplace tramp-cache tramp-sh
company-files company-oddmuse company-keywords company-etags
company-gtags company-dabbrev-code company-dabbrev company-capf
company-cmake company-xcode company-clang company-semantic company-eclim
company-template company-css company-nxml company-bbdb delsel
java-snippets common-lisp-snippets angular-snippets s ucs-normalize dash
yasnippet which-func savehist recentf minibuf-eldef mb-depth iswitchb
ido icomplete gud semantic/db-mode semantic/mru-bookmark
semantic/decorate/mode hi-lock ede-compdb json ede/cpp-root ede/speedbar
ede/files ede ede/base ede/auto ede/source eieio-speedbar eieio-custom
company desktop frameset cua-base server winner inversion
semantic/db-global semantic/symref/global semantic/symref
semantic/db-find semantic/db-ref cedet-global vc-svn17 vc-svn jde-ant
jde jde-annotations jde-open-source jde-bsh jde-parse-expr jde-class
jde-parse-class jde-import jde-java-font-lock jde-java-grammar
jde-which-method semantic/senator semantic/decorate jde-wiz jde-complete
semantic/idle jde-plugins executable browse-url jde-gen tempo jde-jdb
jde-bug easy-mmode jde-dbs jde-run jde-dbo regress jde-db jde-parse rx
jde-imenu semantic/imenu imenu semantic/db-file data-debug cedet-files
semantic/db semantic/java semantic/doc avl-tree semantic/sb speedbar
sb-image dframe semantic/sort semantic/format ezimage semantic/tag-ls
semantic/find semantic/ctxt jde-compile cus-edit cus-start cus-load
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs semantic/util-modes semantic/util semantic semantic/tag
semantic/lex semantic/fw mode-local cedet jde-help jde-widgets
tree-widget beanshell jde-custom jde-project-file jde-util arc-mode
archive-mode efc wid-edit jde-autoload gtags smart-tabs-mode
vim-modeline back-button mule-util persistent-soft list-utils pcache
eieio-base ucs-utils nav-flash compile pulse smartrep vline vkill
skewer-setup shampoo shampoo-tools shampoo-layout shampoo-fetcher
shampoo-modes shampoo-fileout shampoo-compile shampoo-list-mode
shampoo-requests shampoo-utils shampoo-state-format shampoo-dialect
shampoo-state shampoo-faces shampoo-networking shampoo-response
shampoo-xml shampoo-dict shampoo-auth shampoo-regexp screenwriter
quickrun em-banner esh-var esh-io esh-cmd esh-opt esh-ext esh-proc
esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util point-stack
java-mode-indent-annotations iedit rect hl-tags-mode hl-sexp
goto-last-change flymake-point flex-mode derived feature-mode
cucumber-mode etags drag-stuff diminish db-sql tramp tramp-compat
tramp-loaddefs trampver shell pcomplete format-spec sql view thingatpt
comint ansi-color ring twittering-mode url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr
password-cache url-vars mailcap xml buffer-move windmove
basic-edit-toolkit autopair byte-opt advice paren auto-complete-config
auto-complete edmacro kmacro popup asciidoc apropos .loaddefs el-get
el-get-autoloading el-get-list-packages el-get-dependencies el-get-build
el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman
el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar
el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki
el-get-http el-get-notify help-mode easymenu el-get-emacsmirror
el-get-github el-get-git el-get-elpa package epg-config el-get-darcs
el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get
el-get-recipes el-get-byte-compile el-get-custom el-get-core cl-macs
autoload help-fns lisp-mnt bytecomp byte-compile cconv cl gv cl-loaddefs
cl-lib dired time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 3968083 318222)
 (symbols 48 69401 1)
 (miscs 40 83061 4214)
 (strings 32 795094 90886)
 (string-bytes 1 15694264)
 (vectors 16 208955)
 (vector-slots 8 3118531 25842)
 (floats 8 975 1205)
 (intervals 56 50871 2364)
 (buffers 960 182)
 (heap 1024 206963 5794))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21531; Package emacs. (Sat, 17 Aug 2019 21:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 21531 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Márcio Dick Smiderle <marciodicksmiderle <at> gmail.com>
Cc: 21531 <at> debbugs.gnu.org
Subject: Re: bug#21531: 24.4; Segmentation fault in glib/emacs
Date: Sat, 17 Aug 2019 14:35:53 -0700
Márcio Dick Smiderle <marciodicksmiderle <at> gmail.com> writes:

> I was using emacs with lots of buffers of varied size (from some kbytes
> to 25 megabytes) for a couple of days and between some system
> hibernations.
> I have saved two core files. I can upload the xzipped core files to some
> server upon your request (35 and 58 MB).
>
> First backtrace (547MB core file):
>
> (gdb) bt full
> #0  0x00007f25d54df79b in raise (sig=sig <at> entry=11) at
> ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
>         resultvar = 0
>         pid = <optimized out>
> #1  0x00000000004e9fc6 in terminate_due_to_signal (sig=sig <at> entry=11,
> backtrace_limit=backtrace_limit <at> entry=40) at emacs.c:378
> No locals.
> #2  0x00000000005023ae in handle_fatal_signal (sig=sig <at> entry=11) at
> sysdep.c:1630
> No locals.

(I'm going through old bug reports that have unfortunately gotten no
responses yet.)

This crash wasn't handled at the time, and as this was reported more
than three years ago, I don't think there's much chance of making any
progress here, so I'm closing this bug report.  If you're still seeing
similar crashes in modern Emacs versions, please reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 21531 <at> debbugs.gnu.org and Márcio Dick Smiderle <marciodicksmiderle <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 17 Aug 2019 21:37:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 15 Sep 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.