GNU bug report logs - #10582
Emacs under gdb stops on SIGPIPE

Previous Next

Package: emacs;

Reported by: Ivan Kanis <ivan.kanis <at> googlemail.com>

Date: Sun, 22 Jan 2012 22:08:02 UTC

Severity: minor

Tags: notabug

Found in version 24.0.92

Done: Glenn Morris <rgm <at> gnu.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 10582 in the body.
You can then email your comments to 10582 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#10582; Package emacs. (Sun, 22 Jan 2012 22:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ivan Kanis <ivan.kanis <at> googlemail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 22 Jan 2012 22:08:02 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.92; quiting erc causes crash
Date: Sun, 22 Jan 2012 23:07:01 +0100
This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

I run the following code when quitting emacs:

(defun ivan-erc-stop ()
  "Turn off ERC."
  (interactive)
  (when (fboundp 'erc-cmd-GQUIT)
    (erc-cmd-GQUIT "")
    (dolist (ies-buf (buffer-list))
      (when (eq (buffer-local-value 'major-mode ies-buf) 'erc-mode)
        (kill-buffer ies-buf)))))

I often get the following crash:

bt full
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x010a3523 in __write_nocancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0x0818d878 in emacs_write (fildes=10, 
    buf=0xa6fa9e8 "PART #org-mode :\002ERC\002 Version 5.3 (IRC client for Emacs)\r\n", nbyte=58) at sysdep.c:1932
        rtnval = 22
        bytes_written = 0
#3  0x0823ffec in send_process (proc=146896285, 
    buf=0xa6fa9e8 "PART #org-mode :\002ERC\002 Version 5.3 (IRC client for Emacs)\r\n", len=58, object=165582585) at process.c:5533
        written = 0
        outfd = 10
        this = 58
        p = 0x8c17598
        rv = 139059402
        coding = 0x8c17998
        gcpro1 = {next = 0x820241c, var = 0x84a83c8, nvars = 139100026}
        old_sigpipe = 0x1
#4  0x0824044e in Fprocess_send_string (process=146896285, string=165582649)
    at process.c:5674
        proc = 146896285
#5  0x081f54f5 in Ffuncall (nargs=3, args=0xbfffcba0) at eval.c:2989
        fun = 138667501
        original_fun = 139155410
        funcar = 141433634
        numargs = 2
        lisp_numargs = -1073755256
        val = 139059402
        backtrace = {next = 0xbfffce20, function = 0xbfffcba0, 
          args = 0xbfffcba4, nargs = 2, debug_on_exit = 0}
        internal_args = 0xbfffcba4
        i = 24
#6  0x082347f0 in exec_byte_code (bytestr=145407729, vector=145577037, 
    maxdepth=16, args_template=139059402, nargs=0, args=0x0) at bytecode.c:785
        count = 22
        op = 2
        vectorp = 0x8ad5450
        stack = {pc = 0x8adafa0 "\207", byte_string = 145407729, 
          byte_string_start = 0x8adaf90 "\303\304!\203\f", 
          constants = 145577037, next = 0xbfffd01c}
        top = 0xbfffcba0
        result = 10
#7  0x08233ff7 in Fbyte_code (bytestr=145407729, vector=145577037, maxdepth=16)
    at bytecode.c:423
No locals.
#8  0x081f4303 in eval_sub (form=145518126) at eval.c:2340
        numargs = 12
        args_left = 139059402
        i = 136527807
        maxargs = 3
        argvals = {145407729, 145577037, 16, -1073754388, -1073754560, 
          20445929, -1073754388, 3600}
        fun = 138666589
        val = 0
        original_fun = 139139034
        original_args = 145518118
        funcar = 0
        backtrace = {next = 0xbfffd28c, function = 0xbfffce80, 
          args = 0xbfffce00, nargs = 3, debug_on_exit = 0}
        gcpro1 = {next = 0x84e15ca, var = 0xbfffd28c, nvars = 145520366}
        gcpro2 = {next = 0x2, var = 0x849e0ca, nvars = 171235966}
        gcpro3 = {next = 0x8ae83c5, var = 0xbfffce00, nvars = 3}
#9  0x081f2b6b in internal_lisp_condition_case (var=139308426, 
    bodyform=145518126, handlers=145518094) at eval.c:1453
        val = 139059402
        c = {tag = 139059402, val = 139059402, next = 0xbfffe980, gcpro = 0x0, 
          jmp = {{__jmpbuf = {336, 139059426, -1073746796, -1073754184, 
                1685089823, -1514623120}, __mask_was_saved = 0, 
              __saved_mask = {__val = {139059402, 145520358, 336, 139059426, 
                  3221213112, 136271609, 145651157, 0, 3221213140, 136271060, 
                  146896285, 3, 864026624, 1104398113, 151615512, 0, 0, 
                  1074266112, 3221212912, 0, 3221213080, 136182322, 0, 0, 2, 
                  3221213136, 2, 3221213136, 3221213080, 3221213836, 
                  3221213136, 3221213140}}}}, backlist = 0xbfffd28c, 
          handlerlist = 0xbfffea48, lisp_eval_depth = 9, pdlcount = 22, 
          poll_suppress_count = 1, interrupt_input_blocked = 0, 
          byte_stack = 0xbfffd01c}
        h = {handler = 145518094, var = 139308426, chosen_clause = 48791808, 
          tag = 0xbfffcecc, next = 0xbfffea48}
#10 0x082352b3 in exec_byte_code (bytestr=145576401, vector=145577109, 
    maxdepth=28, args_template=139059402, nargs=0, args=0x0) at bytecode.c:981
        handlers = 145518094
        body = 145518126
        count = 18
        op = 143
        vectorp = 0x8ad5498
        stack = {pc = 0x8adaf48 "\210*\202\031", byte_string = 145576401, 
          byte_string_start = 0x8adaee8 "r\bq\210\306 \031\n\203\021", 
          constants = 145577109, next = 0xbfffd33c}
        top = 0xbfffcfd0
        result = 10
#11 0x081f5dfc in funcall_lambda (fun=145577333, nargs=1, arg_vector=0x849e0ca)
    at eval.c:3217
        val = 1
        syms_left = 139059402
        next = 139092162
        lexenv = 139059402
        count = 17
        i = 1
        optional = 0
        rest = 0
#12 0x081f56f9 in Ffuncall (nargs=2, args=0xbfffd2f0) at eval.c:3035
        fun = 145577333
        original_fun = 145660602
        funcar = 145159096
        numargs = 1
        lisp_numargs = -1073753384
        val = 171235758
        backtrace = {next = 0xbfffd5ac, function = 0xbfffd2f0, 
          args = 0xbfffd2f4, nargs = 1, debug_on_exit = 0}
        internal_args = 0x849e0ca
        i = 146375784
#13 0x082347f0 in exec_byte_code (bytestr=144831241, vector=145661989, 
    maxdepth=28, args_template=139059402, nargs=0, args=0x0) at bytecode.c:785
        count = 13
        op = 1
        vectorp = 0x8aea028
        stack = {pc = 0x8adadd1 "\210*\330)\202i", byte_string = 144831241, 
          byte_string_start = 0x8adad74 "\b\203\017", constants = 145661989, 
          next = 0xbfffd65c}
        top = 0xbfffd2f0
        result = 165582777
#14 0x081f5dfc in funcall_lambda (fun=145576701, nargs=3, arg_vector=0x849e0ca)
    at eval.c:3217
        val = 139059402
        syms_left = 139059402
        next = 139608610
        lexenv = 139059402
        count = 10
        i = 3
        optional = 1
        rest = 0
#15 0x081f56f9 in Ffuncall (nargs=4, args=0xbfffd610) at eval.c:3035
        fun = 145576701
        original_fun = 141433730
        funcar = 139059402
        numargs = 3
        lisp_numargs = 0
        val = 165582697
        backtrace = {next = 0xbfffd8cc, function = 0xbfffd610, 
          args = 0xbfffd614, nargs = 3, debug_on_exit = 0}
        internal_args = 0x849e0ca
        i = 139059378
#16 0x082347f0 in exec_byte_code (bytestr=144943705, vector=146157741, 
    maxdepth=24, args_template=139059402, nargs=0, args=0x0) at bytecode.c:785
        count = 9
        op = 3
        vectorp = 0x8b630b0
        stack = {pc = 0x8b714d7 ")\207", byte_string = 144943705, 
          byte_string_start = 0x8b714c4 "\302 \205\024", 
          constants = 146157741, next = 0xbfffdacc}
        top = 0xbfffd610
        result = 139059426
#17 0x081f5dfc in funcall_lambda (fun=145412805, nargs=0, arg_vector=0x849e0ca)
    at eval.c:3217
        val = 139059426
        syms_left = 139059402
        next = 139092162
        lexenv = 139059402
        count = 9
        i = 0
        optional = 0
        rest = 0
#18 0x081f56f9 in Ffuncall (nargs=1, args=0xbfffd9bc) at eval.c:3035
        fun = 145412805
        original_fun = 146102898
        funcar = 0
        numargs = 0
        lisp_numargs = 9492776
        val = 139059426
        backtrace = {next = 0xbfffda2c, function = 0xbfffd9bc, 
          args = 0xbfffd9c0, nargs = 0, debug_on_exit = 0}
        internal_args = 0x849e0ca
        i = 0
#19 0x081f4aa6 in funcall_nil (nargs=1, args=0xbfffd9bc) at eval.c:2503
No locals.
#20 0x081f4d9e in run_hook_with_args (nargs=1, args=0xbfffd9bc, 
    funcall=0x81f4a8e <funcall_nil>) at eval.c:2692
        global_vals = 139059402
        sym = 146102874
        val = 145265718
        ret = 139059402
        gcpro1 = {next = 0x8abc706, var = 0x8, nvars = 139059402}
        gcpro2 = {next = 0xbfffd9c8, var = 0x81f5e11, nvars = 9}
        gcpro3 = {next = 0x849e0ca, var = 0x85e6560, nvars = 139059402}
#21 0x081f4ae5 in Frun_hooks (nargs=1, args=0xbfffda94) at eval.c:2530
        hook = {146102898}
        i = 0
#22 0x081f53fd in Ffuncall (nargs=2, args=0xbfffda90) at eval.c:2968
        fun = 138661885
        original_fun = 139130138
        funcar = 139135562
        numargs = 1
        lisp_numargs = -1073751432
        val = 145475334
        backtrace = {next = 0xbfffdd3c, function = 0xbfffda90, 
          args = 0xbfffda94, nargs = 1, debug_on_exit = 0}
        internal_args = 0x849e0ca
        i = 139059378
#23 0x082347f0 in exec_byte_code (bytestr=144947105, vector=145059749, 
    maxdepth=8, args_template=139059402, nargs=0, args=0x0) at bytecode.c:785
        count = 9
        op = 1
        vectorp = 0x8a56fa8
        stack = {pc = 0x8b71492 "\207\304\311!\207", byte_string = 144947105, 
          byte_string_start = 0x8b71474 "\b\301=\205\"", 
          constants = 145059749, next = 0xbfffdf9c}
        top = 0xbfffda90
        result = 139059402
#24 0x081f5dfc in funcall_lambda (fun=139584165, nargs=0, arg_vector=0x849e0ca)
    at eval.c:3217
        val = 136273425
        syms_left = 139059402
        next = 139059402
        lexenv = 139059402
        count = 9
        i = 0
        optional = 0
        rest = 0
#25 0x081f56f9 in Ffuncall (nargs=1, args=0xbfffde2c) at eval.c:3035
        fun = 139584165
        original_fun = 146102802
        funcar = 168156414
        numargs = 0
        lisp_numargs = -1073750648
        val = 139059402
        backtrace = {next = 0xbfffdefc, function = 0xbfffde2c, 
          args = 0xbfffde30, nargs = 0, debug_on_exit = 0}
        internal_args = 0x9097818
        i = 139059666
#26 0x081f4aa6 in funcall_nil (nargs=1, args=0xbfffde2c) at eval.c:2503
No locals.
#27 0x081f4d9e in run_hook_with_args (nargs=1, args=0xbfffde2c, 
    funcall=0x81f4a8e <funcall_nil>) at eval.c:2692
        global_vals = 139059402
        sym = 139059666
        val = 145350998
        ret = 139059402
        gcpro1 = {next = 0xa342fc6, var = 0xbfffde08, nvars = 136200418}
        gcpro2 = {next = 0x33e, var = 0x33e, nvars = 173142915}
        gcpro3 = {next = 0x81e409f, var = 0xa51f39b, nvars = 139059402}
#28 0x081f4ae5 in Frun_hooks (nargs=1, args=0x8482498) at eval.c:2530
        hook = {146102802}
        i = 0
#29 0x0819212a in Fkill_buffer (buffer_or_name=151615517) at buffer.c:1492
        count = 8
        arglist = {139134818}
        buffer = 151615517
        b = 0x9097818
        tem = 139059426
        m = 0x849e0e2
        gcpro1 = {next = 0x0, var = 0xbfffde78, nvars = 136035073}
#30 0x081f54d4 in Ffuncall (nargs=2, args=0xbfffdf60) at eval.c:2986
        fun = 137026109
        original_fun = 139138370
        funcar = 139949280
        numargs = 1
        lisp_numargs = 0
        val = 144817802
        backtrace = {next = 0xbfffe20c, function = 0xbfffdf60, 
          args = 0xbfffdf64, nargs = 1, debug_on_exit = 0}
        internal_args = 0xbfffdf64
        i = 1
#31 0x082347f0 in exec_byte_code (bytestr=144310849, vector=144716077, 
    maxdepth=16, args_template=139059402, nargs=0, args=0x0) at bytecode.c:785
        count = 6
        op = 1
        vectorp = 0x8a03130
        stack = {pc = 0x8a00b0a "\210\tA\211\021\204\023", 
          byte_string = 144310849, 
          byte_string_start = 0x8a00ae8 "\302\303!\205,", 
          constants = 144716077, next = 0xbfffe2ac}
        top = 0xbfffdf60
        result = 139059402
#32 0x081f5dfc in funcall_lambda (fun=144848421, nargs=0, arg_vector=0x849e0ca)
    at eval.c:3217
        val = 139059402
        syms_left = 139059402
        next = 0
        lexenv = 139059402
        count = 6
        i = 0
        optional = 0
        rest = 0
#33 0x081f56f9 in Ffuncall (nargs=1, args=0xbfffe270) at eval.c:3035
        fun = 144848421
        original_fun = 140290770
        funcar = 12
        numargs = 0
        lisp_numargs = 1
        val = 139059402
        backtrace = {next = 0xbfffe51c, function = 0xbfffe270, 
          args = 0xbfffe274, nargs = 0, debug_on_exit = 0}
        internal_args = 0x849e0ca
        i = 142672858
#34 0x082347f0 in exec_byte_code (bytestr=141091809, vector=141419589, 
    maxdepth=12, args_template=139059402, nargs=0, args=0x0) at bytecode.c:785
        count = 6
        op = 0
        vectorp = 0x86de448
        stack = {pc = 0x85aafae "\210\301\305!\203\030", 
          byte_string = 141091809, 
          byte_string_start = 0x85aafa0 "\301\302!\203\t", 
          constants = 141419589, next = 0x0}
        top = 0xbfffe270
        result = -1073748904
#35 0x081f5dfc in funcall_lambda (fun=141419741, nargs=1, arg_vector=0x849e0ca)
    at eval.c:3217
        val = 0
        syms_left = 139059402
        next = 139281282
        lexenv = 139059402
        count = 5
        i = 1
        optional = 1
        rest = 0
#36 0x081f56f9 in Ffuncall (nargs=2, args=0xbfffe5d0) at eval.c:3035
        fun = 141419741
        original_fun = 140290698
        funcar = 135731336
        numargs = 1
        lisp_numargs = -1073748632
        val = -1073746796
        backtrace = {next = 0xbfffe7bc, function = 0xbfffe5d0, 
          args = 0xbfffe5d4, nargs = 1, debug_on_exit = 0}
        internal_args = 0xbfffe824
        i = 136244530
#37 0x081f08c8 in Fcall_interactively (function=140290698, 
    record_flag=139059402, keys=139087581) at callint.c:852
        val = 0
        args = 0xbfffe5d0
        visargs = 0xbfffe5b0
        specs = 141091649
        filter_specs = 141091649
        teml = 0
        up_event = 139059402
        enable = 139059402
        speccount = 3
        next_event = 2
        prefix_arg = 139059402
        string = 0xbfffe5f0 "P"
        tem = 0x82a0004 ""
        varies = 0xbfffe590 ""
        i = 2
        nargs = 2
        foo = 0
        arg_from_tty = 0
        gcpro1 = {next = 0x2000, var = 0x0, nvars = 0}
        gcpro2 = {next = 0xbfffedb0, var = 0xbfffec94, nvars = -1073748296}
        gcpro3 = {next = 0x857be60, var = 0x849e0ca, nvars = 2}
        gcpro4 = {next = 0xbfffe558, var = 0x81dcc8b, nvars = 2}
        gcpro5 = {next = 0x8b8f662, var = 0xbfffe450, nvars = 139059402}
        key_count = 2
        record_then_fail = 0
        save_this_command = 140290698
        save_last_command = 142581034
        save_this_original_command = 140290698
        save_real_this_command = 140290698
#38 0x081f551f in Ffuncall (nargs=4, args=0xbfffe820) at eval.c:2993
        fun = 138661093
        original_fun = 139139226
        funcar = 0
        numargs = 3
        lisp_numargs = 0
        val = 0
        backtrace = {next = 0x0, function = 0xbfffe820, args = 0xbfffe824, 
          nargs = 3, debug_on_exit = 0}
        internal_args = 0xbfffe824
        i = 0
#39 0x081f4f21 in call3 (fn=139139226, arg1=140290698, arg2=139059402, 
    arg3=139059402) at eval.c:2786
        ret_ungc_val = 141419741
        gcpro1 = {next = 0xa4f4186, var = 0x84a41d2, nvars = 4}
        args = {139139226, 140290698, 139059402, 139059402}
#40 0x081808b1 in Fcommand_execute (cmd=140290698, record_flag=139059402, 
    keys=139059402, special=139059402) at keyboard.c:10302
        final = 141419741
        tem = 139059402
        prefixarg = 139059402
#41 0x081725e6 in command_loop_1 () at keyboard.c:1571
        scount = 2
        cmd = 140290698
        keybuf = {96, 68, 0, 139059402, 139059402, 137037457, 139090794, 
          48791808, 134545255, -1208091328, -1073747704, 135732110, 170615286, 
          139059426, -1073747661, 139218362, 139536202, 139270518, 137310077, 
          141096472, 41, 0, -1073747608, 135731667, 170615286, -1073747661, 
          -1073747640, 136265155, 2, 139270518}
        i = 2
        prev_modiff = 9816
        prev_buffer = 0x8f5c890
        already_adjusted = 0
#42 0x081f2c5f in internal_condition_case (bfun=0x8171f19 <command_loop_1>, 
    handlers=139090434, hfun=0x81718da <cmd_error>) at eval.c:1499
        val = 139270518
        c = {tag = 139059402, val = 139059402, next = 0xbfffeaa8, gcpro = 0x0, 
          jmp = {{__jmpbuf = {0, -1073746512, -1073746796, -1073747352, 
                1681911327, -1514857104}, __mask_was_saved = 0, 
              __saved_mask = {__val = {0, 0, 21296064, 21290996, 21296064, 0, 
                  3221219936, 3221219864, 3221219876, 21290996, 1235224, 0, 
                  3221159938, 1175776, 134545966, 3086875968, 1232884, 
                  19888620, 41, 3221219636, 1153284, 24470107, 140849568, 
                  24489972, 142663783, 139003968, 3221220180, 19906128, 
                  3086876032, 2, 4294967295, 1232884}}}}, backlist = 0x0, 
          handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, 
          poll_suppress_count = 1, interrupt_input_blocked = 0, 
          byte_stack = 0x0}
        h = {handler = 139090434, var = 139059402, chosen_clause = 139059426, 
          tag = 0xbfffe980, next = 0x0}
#43 0x08171c6a in command_loop_2 (ignore=139059402) at keyboard.c:1159
        val = 0
#44 0x081f275b in internal_catch (tag=139088410, 
    func=0x8171c46 <command_loop_2>, arg=139059402) at eval.c:1256
        c = {tag = 139088410, val = 139059402, next = 0x0, gcpro = 0x0, jmp = {
            {__jmpbuf = {-1073746096, -1073746512, -1073746796, -1073747080, 
                1681403423, -1516005520}, __mask_was_saved = 0, 
              __saved_mask = {__val = {0 <repeats 17 times>, 20326718, 0, 0, 
                  139059402, 3221220216, 136171860, 138675784, 139059402, 
                  139079152, 136607384, 142533092, 3221221200, 138675784, 
                  139079152, 138675784}}}}, backlist = 0x0, handlerlist = 0x0, 
          lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, 
          interrupt_input_blocked = 0, byte_stack = 0x0}
#45 0x08171c26 in command_loop () at keyboard.c:1138
No locals.
#46 0x08171513 in recursive_edit_1 () at keyboard.c:758
        count = 1
        val = -1073746936
#47 0x08171664 in Frecursive_edit () at keyboard.c:822
        count = 0
        buffer = 139059402
#48 0x0816fb6a in main (argc=1, argv=0xbfffeff4) at emacs.c:1715
        dummy = -1073746104
        stack_bottom_variable = 8 '\b'
        do_initial_setlocale = 1
        skip_args = 0
        rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
        no_loadup = 0
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
(gdb) 

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/home/ubuntu/emacs-bzr/share/emacs/24.0.92/etc/DEBUG.


In GNU Emacs 24.0.92.24 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
 of 2012-01-21 on tao
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
configured using `configure  '--prefix=/home/ubuntu/emacs-bzr' 'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  icomplete-mode: t
  global-auto-complete-mode: t
  display-time-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
q s M-k h i m e m <tab> a <tab> <return> m b u <tab> 
g <tab> s <return> M-1 SPC SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC u m c r <tab> C-g M-x b u g - r e p <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> r e p o <tab> r t - e a <tab> <backspace> 
m a <tab> <return>

Recent messages:
OVERVIEW
...me/ubuntu/dyn/todo.org locked by ubuntu <at> tao (pid 4420): (s, q, p, ?)? 
OVERVIEW
No event to add
Appointment reminders enabled (no diary file found)
For information about GNU Emacs and the GNU system, type M-k h C-a.
Composing main Info directory...done
Making completion list... [3 times]
Quit
Making completion list...

Load-path shadows:
/home/ubuntu/.emacs.d/misc/time hides /ext4/emacs-bzr/trunk/lisp/time
/home/ubuntu/.emacs.d/misc/whitespace hides /ext4/emacs-bzr/trunk/lisp/whitespace
/home/ubuntu/.emacs.d/org/ob-awk hides /ext4/emacs-bzr/trunk/lisp/org/ob-awk
/home/ubuntu/.emacs.d/org/org-beamer hides /ext4/emacs-bzr/trunk/lisp/org/org-beamer
/home/ubuntu/.emacs.d/org/org-mouse hides /ext4/emacs-bzr/trunk/lisp/org/org-mouse
/home/ubuntu/.emacs.d/org/ob-sh hides /ext4/emacs-bzr/trunk/lisp/org/ob-sh
/home/ubuntu/.emacs.d/org/ob-mscgen hides /ext4/emacs-bzr/trunk/lisp/org/ob-mscgen
/home/ubuntu/.emacs.d/org/org-latex hides /ext4/emacs-bzr/trunk/lisp/org/org-latex
/home/ubuntu/.emacs.d/org/org-info hides /ext4/emacs-bzr/trunk/lisp/org/org-info
/home/ubuntu/.emacs.d/org/org-special-blocks hides /ext4/emacs-bzr/trunk/lisp/org/org-special-blocks
/home/ubuntu/.emacs.d/org/org-publish hides /ext4/emacs-bzr/trunk/lisp/org/org-publish
/home/ubuntu/.emacs.d/org/org-bibtex hides /ext4/emacs-bzr/trunk/lisp/org/org-bibtex
/home/ubuntu/.emacs.d/org/ob-sqlite hides /ext4/emacs-bzr/trunk/lisp/org/ob-sqlite
/home/ubuntu/.emacs.d/org/ob-comint hides /ext4/emacs-bzr/trunk/lisp/org/ob-comint
/home/ubuntu/.emacs.d/org/org-agenda hides /ext4/emacs-bzr/trunk/lisp/org/org-agenda
/home/ubuntu/.emacs.d/org/ob-sass hides /ext4/emacs-bzr/trunk/lisp/org/ob-sass
/home/ubuntu/.emacs.d/org/org-faces hides /ext4/emacs-bzr/trunk/lisp/org/org-faces
/home/ubuntu/.emacs.d/org/org-mhe hides /ext4/emacs-bzr/trunk/lisp/org/org-mhe
/home/ubuntu/.emacs.d/org/ob-ledger hides /ext4/emacs-bzr/trunk/lisp/org/ob-ledger
/home/ubuntu/.emacs.d/org/ob-latex hides /ext4/emacs-bzr/trunk/lisp/org/ob-latex
/home/ubuntu/.emacs.d/org/org-plot hides /ext4/emacs-bzr/trunk/lisp/org/org-plot
/home/ubuntu/.emacs.d/org/ob-tangle hides /ext4/emacs-bzr/trunk/lisp/org/ob-tangle
/home/ubuntu/.emacs.d/org/org-docbook hides /ext4/emacs-bzr/trunk/lisp/org/org-docbook
/home/ubuntu/.emacs.d/org/ob-calc hides /ext4/emacs-bzr/trunk/lisp/org/ob-calc
/home/ubuntu/.emacs.d/org/ob-C hides /ext4/emacs-bzr/trunk/lisp/org/ob-C
/home/ubuntu/.emacs.d/org/org-attach hides /ext4/emacs-bzr/trunk/lisp/org/org-attach
/home/ubuntu/.emacs.d/org/org-compat hides /ext4/emacs-bzr/trunk/lisp/org/org-compat
/home/ubuntu/.emacs.d/org/org-odt hides /ext4/emacs-bzr/trunk/lisp/org/org-odt
/home/ubuntu/.emacs.d/org/org-habit hides /ext4/emacs-bzr/trunk/lisp/org/org-habit
/home/ubuntu/.emacs.d/org/org-html hides /ext4/emacs-bzr/trunk/lisp/org/org-html
/home/ubuntu/.emacs.d/org/org-jsinfo hides /ext4/emacs-bzr/trunk/lisp/org/org-jsinfo
/home/ubuntu/.emacs.d/org/org-feed hides /ext4/emacs-bzr/trunk/lisp/org/org-feed
/home/ubuntu/.emacs.d/org/ob-emacs-lisp hides /ext4/emacs-bzr/trunk/lisp/org/ob-emacs-lisp
/home/ubuntu/.emacs.d/org/ob-lilypond hides /ext4/emacs-bzr/trunk/lisp/org/ob-lilypond
/home/ubuntu/.emacs.d/org/org-pcomplete hides /ext4/emacs-bzr/trunk/lisp/org/org-pcomplete
/home/ubuntu/.emacs.d/org/org-w3m hides /ext4/emacs-bzr/trunk/lisp/org/org-w3m
/home/ubuntu/.emacs.d/org/org-timer hides /ext4/emacs-bzr/trunk/lisp/org/org-timer
/home/ubuntu/.emacs.d/org/org-list hides /ext4/emacs-bzr/trunk/lisp/org/org-list
/home/ubuntu/.emacs.d/org/org-gnus hides /ext4/emacs-bzr/trunk/lisp/org/org-gnus
/home/ubuntu/.emacs.d/org/org-ctags hides /ext4/emacs-bzr/trunk/lisp/org/org-ctags
/home/ubuntu/.emacs.d/org/ob-lisp hides /ext4/emacs-bzr/trunk/lisp/org/ob-lisp
/home/ubuntu/.emacs.d/org/ob-scheme hides /ext4/emacs-bzr/trunk/lisp/org/ob-scheme
/home/ubuntu/.emacs.d/org/ob-org hides /ext4/emacs-bzr/trunk/lisp/org/ob-org
/home/ubuntu/.emacs.d/org/ob-R hides /ext4/emacs-bzr/trunk/lisp/org/ob-R
/home/ubuntu/.emacs.d/org/ob-ruby hides /ext4/emacs-bzr/trunk/lisp/org/ob-ruby
/home/ubuntu/.emacs.d/org/org-lparse hides /ext4/emacs-bzr/trunk/lisp/org/org-lparse
/home/ubuntu/.emacs.d/org/org-mobile hides /ext4/emacs-bzr/trunk/lisp/org/org-mobile
/home/ubuntu/.emacs.d/org/org-install hides /ext4/emacs-bzr/trunk/lisp/org/org-install
/home/ubuntu/.emacs.d/org/org-protocol hides /ext4/emacs-bzr/trunk/lisp/org/org-protocol
/home/ubuntu/.emacs.d/org/ob-matlab hides /ext4/emacs-bzr/trunk/lisp/org/ob-matlab
/home/ubuntu/.emacs.d/org/ob-fortran hides /ext4/emacs-bzr/trunk/lisp/org/ob-fortran
/home/ubuntu/.emacs.d/org/org-xoxo hides /ext4/emacs-bzr/trunk/lisp/org/org-xoxo
/home/ubuntu/.emacs.d/org/org-mew hides /ext4/emacs-bzr/trunk/lisp/org/org-mew
/home/ubuntu/.emacs.d/org/ob-plantuml hides /ext4/emacs-bzr/trunk/lisp/org/ob-plantuml
/home/ubuntu/.emacs.d/org/ob-sql hides /ext4/emacs-bzr/trunk/lisp/org/ob-sql
/home/ubuntu/.emacs.d/org/org-footnote hides /ext4/emacs-bzr/trunk/lisp/org/org-footnote
/home/ubuntu/.emacs.d/org/org-datetree hides /ext4/emacs-bzr/trunk/lisp/org/org-datetree
/home/ubuntu/.emacs.d/org/ob-exp hides /ext4/emacs-bzr/trunk/lisp/org/ob-exp
/home/ubuntu/.emacs.d/org/ob-python hides /ext4/emacs-bzr/trunk/lisp/org/ob-python
/home/ubuntu/.emacs.d/org/ob-ocaml hides /ext4/emacs-bzr/trunk/lisp/org/ob-ocaml
/home/ubuntu/.emacs.d/org/org-vm hides /ext4/emacs-bzr/trunk/lisp/org/org-vm
/home/ubuntu/.emacs.d/org/org-icalendar hides /ext4/emacs-bzr/trunk/lisp/org/org-icalendar
/home/ubuntu/.emacs.d/org/ob-ditaa hides /ext4/emacs-bzr/trunk/lisp/org/ob-ditaa
/home/ubuntu/.emacs.d/org/ob hides /ext4/emacs-bzr/trunk/lisp/org/ob
/home/ubuntu/.emacs.d/org/org-entities hides /ext4/emacs-bzr/trunk/lisp/org/org-entities
/home/ubuntu/.emacs.d/org/org-docview hides /ext4/emacs-bzr/trunk/lisp/org/org-docview
/home/ubuntu/.emacs.d/org/org-inlinetask hides /ext4/emacs-bzr/trunk/lisp/org/org-inlinetask
/home/ubuntu/.emacs.d/org/org-crypt hides /ext4/emacs-bzr/trunk/lisp/org/org-crypt
/home/ubuntu/.emacs.d/org/org-clock hides /ext4/emacs-bzr/trunk/lisp/org/org-clock
/home/ubuntu/.emacs.d/org/ob-dot hides /ext4/emacs-bzr/trunk/lisp/org/ob-dot
/home/ubuntu/.emacs.d/org/org-macs hides /ext4/emacs-bzr/trunk/lisp/org/org-macs
/home/ubuntu/.emacs.d/org/ob-eval hides /ext4/emacs-bzr/trunk/lisp/org/ob-eval
/home/ubuntu/.emacs.d/org/ob-octave hides /ext4/emacs-bzr/trunk/lisp/org/ob-octave
/home/ubuntu/.emacs.d/org/ob-picolisp hides /ext4/emacs-bzr/trunk/lisp/org/ob-picolisp
/home/ubuntu/.emacs.d/org/ob-gnuplot hides /ext4/emacs-bzr/trunk/lisp/org/ob-gnuplot
/home/ubuntu/.emacs.d/org/ob-clojure hides /ext4/emacs-bzr/trunk/lisp/org/ob-clojure
/home/ubuntu/.emacs.d/org/ob-js hides /ext4/emacs-bzr/trunk/lisp/org/ob-js
/home/ubuntu/.emacs.d/org/ob-lob hides /ext4/emacs-bzr/trunk/lisp/org/ob-lob
/home/ubuntu/.emacs.d/org/ob-shen hides /ext4/emacs-bzr/trunk/lisp/org/ob-shen
/home/ubuntu/.emacs.d/org/ob-java hides /ext4/emacs-bzr/trunk/lisp/org/ob-java
/home/ubuntu/.emacs.d/org/org-bbdb hides /ext4/emacs-bzr/trunk/lisp/org/org-bbdb
/home/ubuntu/.emacs.d/org/org-table hides /ext4/emacs-bzr/trunk/lisp/org/org-table
/home/ubuntu/.emacs.d/org/org-irc hides /ext4/emacs-bzr/trunk/lisp/org/org-irc
/home/ubuntu/.emacs.d/org/org-src hides /ext4/emacs-bzr/trunk/lisp/org/org-src
/home/ubuntu/.emacs.d/org/org-rmail hides /ext4/emacs-bzr/trunk/lisp/org/org-rmail
/home/ubuntu/.emacs.d/org/ob-table hides /ext4/emacs-bzr/trunk/lisp/org/ob-table
/home/ubuntu/.emacs.d/org/ob-maxima hides /ext4/emacs-bzr/trunk/lisp/org/ob-maxima
/home/ubuntu/.emacs.d/org/org-mks hides /ext4/emacs-bzr/trunk/lisp/org/org-mks
/home/ubuntu/.emacs.d/org/org-taskjuggler hides /ext4/emacs-bzr/trunk/lisp/org/org-taskjuggler
/home/ubuntu/.emacs.d/org/org-exp hides /ext4/emacs-bzr/trunk/lisp/org/org-exp
/home/ubuntu/.emacs.d/org/org hides /ext4/emacs-bzr/trunk/lisp/org/org
/home/ubuntu/.emacs.d/org/org-id hides /ext4/emacs-bzr/trunk/lisp/org/org-id
/home/ubuntu/.emacs.d/org/ob-asymptote hides /ext4/emacs-bzr/trunk/lisp/org/ob-asymptote
/home/ubuntu/.emacs.d/org/org-mac-message hides /ext4/emacs-bzr/trunk/lisp/org/org-mac-message
/home/ubuntu/.emacs.d/org/ob-haskell hides /ext4/emacs-bzr/trunk/lisp/org/ob-haskell
/home/ubuntu/.emacs.d/org/org-ascii hides /ext4/emacs-bzr/trunk/lisp/org/org-ascii
/home/ubuntu/.emacs.d/org/org-colview hides /ext4/emacs-bzr/trunk/lisp/org/org-colview
/home/ubuntu/.emacs.d/org/org-freemind hides /ext4/emacs-bzr/trunk/lisp/org/org-freemind
/home/ubuntu/.emacs.d/org/org-remember hides /ext4/emacs-bzr/trunk/lisp/org/org-remember
/home/ubuntu/.emacs.d/org/ob-css hides /ext4/emacs-bzr/trunk/lisp/org/ob-css
/home/ubuntu/.emacs.d/org/org-indent hides /ext4/emacs-bzr/trunk/lisp/org/org-indent
/home/ubuntu/.emacs.d/org/org-exp-blocks hides /ext4/emacs-bzr/trunk/lisp/org/org-exp-blocks
/home/ubuntu/.emacs.d/org/ob-ref hides /ext4/emacs-bzr/trunk/lisp/org/ob-ref
/home/ubuntu/.emacs.d/org/org-wl hides /ext4/emacs-bzr/trunk/lisp/org/org-wl
/home/ubuntu/.emacs.d/org/ob-screen hides /ext4/emacs-bzr/trunk/lisp/org/ob-screen
/home/ubuntu/.emacs.d/org/org-capture hides /ext4/emacs-bzr/trunk/lisp/org/org-capture
/home/ubuntu/.emacs.d/org/ob-perl hides /ext4/emacs-bzr/trunk/lisp/org/ob-perl
/home/ubuntu/.emacs.d/org/org-archive hides /ext4/emacs-bzr/trunk/lisp/org/org-archive
/home/ubuntu/.emacs.d/org/ob-keys hides /ext4/emacs-bzr/trunk/lisp/org/ob-keys
/home/ubuntu/.emacs.d/misc/erc-goodies hides /ext4/emacs-bzr/trunk/lisp/erc/erc-goodies
/home/ubuntu/.emacs.d/emms/tq hides /ext4/emacs-bzr/trunk/lisp/emacs-lisp/tq
/home/ubuntu/.emacs.d/misc/appt hides /ext4/emacs-bzr/trunk/lisp/calendar/appt
/home/ubuntu/.emacs.d/misc/sym-comp hides /ext4/emacs-bzr/trunk/lisp/obsolete/sym-comp

Features:
(shadow sort gnus-cite bbdb-message sendmail hashcash cookie1 flyspell
ispell gnus-fun mail-extr gnus-msg gnus-art mm-uu mml2015 epg-config
mm-view mml-smime smime password-cache dig mailcap nnir gnus-sum nnoo
gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int
gnus-range gnus-win message rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums gmm-utils
mailheader gnus gnus-ems nnheader gnus-util mail-utils mm-util
mail-prsvr emacsbug icomplete jka-compr help-mode view info init appt
diary-lib diary-loaddefs cal-iso server paren eldoc tabify org-drill
org-learn org-id vc-git autoinsert org-wl org-w3m org-vm org-rmail
org-mhe org-mew org-irc org-jsinfo org-infojs org-html format-spec
org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus org-docview
org-bibtex bibtex org-bbdb org ob-emacs-lisp ob-tangle ob-ref ob-lob
ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete
pcomplete comint org-list org-faces org-compat org-entities org-macs
noutline outline cal-menu calendar cal-loaddefs xcscope ivan-w3m
ivan-term ivan-slime ivan-re-builder ivan-org ivan-newsticker
newst-backend xml derived ivan-muse ivan-message ivan-japanese ivan-gnus
ivan-french easy-mmode ivan-english ivan-emms ivan-elim elim browse-url
cl ivan-comint bs ivan-bbdb bbdb-com mailabbrev bbdb timezone
auto-complete-config auto-complete popup tex-site ring caps-mode
ivan-common-code saveplace time fuzzy byte-opt warnings bytecomp
byte-compile cconv macroexp regexp-opt rx cus-edit easymenu cus-start
cus-load wid-edit ivan-var ivan-keymap edmacro kmacro ivan-fun find-func
advice help-fns advice-preload ivan-face ivan-load time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe lisp-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 loaddefs button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

-- 
Ivan Kanis
http://kanis.fr

Speak your mind, even if your voice shakes. Well aimed slingshots can
topple giants.
    -- Maggie Kuhn

-- 
Ivan Kanis
http://kanis.fr

At Group L, Stoffel oversees six first-rate programmers, a
managerial challenge roughly comparable to herding cats.
    -- Anonymous , 1985-06-09 , The Washington Post




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Thu, 26 Jan 2012 08:07:02 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: Acknowledgement (24.0.92; quiting erc causes crash)
Date: Thu, 26 Jan 2012 09:06:06 +0100
This happens on Ubuntu 10.10 and Debian 6.0. It doesn't happen all the
time.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Fri, 03 Feb 2012 18:11:01 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: Acknowledgement (24.0.92; quiting erc causes crash)
Date: Fri, 03 Feb 2012 19:09:22 +0100
[Message part 1 (text/plain, inline)]
I have attached a similar crash on OS X.

[backtrace.txt (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Fri, 23 Mar 2012 09:35:02 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: 10582 <at> debbugs.gnu.org, emacs devel <emacs-devel <at> gnu.org>
Subject: bug#10582 quiting erc causes crash
Date: Fri, 23 Mar 2012 10:03:34 +0100
Hi,

I am still experiencing this bug from time to time.

I have a workaround to save my files before disconnecting erc.

The reasonable thing to do would be to ignore it. However I am not
reasonable ;) When the crash happens I land in gdb, can I do something
else than looking at the backtrace to help nailing this bug?
-- 
Ivan Kanis
http://kanis.fr

There is no love sincerer than the love of food.
    -- George Bernard Shaw

I am listening to "Supersystem - Miracle".




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Fri, 23 Mar 2012 10:41:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Kanis <ivan.kanis <at> googlemail.com>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582 quiting erc causes crash
Date: Fri, 23 Mar 2012 12:08:11 +0200
Note that I removed emacs-devel from the CC list: there's no need to
discuss bug reports on that list, it just confuses people and the bug
tracker.

> From: Ivan Kanis <ivan.kanis <at> googlemail.com>
> Date: Fri, 23 Mar 2012 10:03:34 +0100
> 
> The reasonable thing to do would be to ignore it. However I am not
> reasonable ;) When the crash happens I land in gdb, can I do something
> else than looking at the backtrace to help nailing this bug?

Well, how about if you start by telling what kind of "crash" was that?
GDB normally says something like "Program received signal SIGFOO, ...".
What was the signal in your case, please?  In general, please post
everything GDB displays at the point of crash, before it displays its
"(gdb)" prompt (at which you types "bt full").

Also, please start GDB from the Emacs's src/ directory, so that the
backtrace includes the Lisp-level backtrace, and also some very
helpful commands are available for displaying Lisp data types.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Fri, 23 Mar 2012 15:18:01 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582 quiting erc causes crash
Date: Fri, 23 Mar 2012 15:45:54 +0100
Hi Eli,

Eli Zaretskii <eliz <at> gnu.org> wrote:

> Note that I removed emacs-devel from the CC list: there's no need to
> discuss bug reports on that list, it just confuses people and the bug
> tracker.

OK, who am I supposed to talk to when a bug is left alone?

> Well, how about if you start by telling what kind of "crash" was that?
> GDB normally says something like "Program received signal SIGFOO, ...".

Will do next time it crashes.

> Also, please start GDB from the Emacs's src/ directory, so that the
> backtrace includes the Lisp-level backtrace, and also some very
> helpful commands are available for displaying Lisp data types.

I do that already.
-- 
Ivan Kanis
http://kanis.fr

Computer games don't affect kids; I mean if Pac-Man affected us as
kids, we'd all be running around in darkened rooms, munching magic
pills and listening to repetitive electronic music.
    -- Kristian Wilson




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Fri, 23 Mar 2012 16:08:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Kanis <ivan.kanis <at> googlemail.com>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582 quiting erc causes crash
Date: Fri, 23 Mar 2012 17:36:14 +0200
> From: Ivan Kanis <ivan.kanis <at> googlemail.com>
> Cc: 10582 <at> debbugs.gnu.org
> Date: Fri, 23 Mar 2012 15:45:54 +0100
> 
> > Note that I removed emacs-devel from the CC list: there's no need to
> > discuss bug reports on that list, it just confuses people and the bug
> > tracker.
> 
> OK, who am I supposed to talk to when a bug is left alone?

You send a ping to the bug address.  It will be automatically
reflected to the bug-gnu-emacs mailing list, to which all Emacs
maintainers and developers subscribe.

> > Also, please start GDB from the Emacs's src/ directory, so that the
> > backtrace includes the Lisp-level backtrace, and also some very
> > helpful commands are available for displaying Lisp data types.
> 
> I do that already.

Including the last time it crashed?  If so, how come there was no Lisp
backtrace at the end of the C-level backtrace you sent?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Sun, 01 Apr 2012 10:42:01 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: 10582 <at> debbugs.gnu.org
Subject: better backtrace
Date: Sun, 01 Apr 2012 12:41:01 +0200
Here is the full backtrace including the exception code and the lisp
backtrace. Let me know what I can do further to identify the problem.

Program received signal SIGPIPE, Broken pipe.
0x0012e416 in __kernel_vsyscall ()

#1  0x010a3523 in __write_nocancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0x0818e0fc in emacs_write (fildes=10, buf=0xa90b91c "QUIT :\002ERC\002 Version 5.3 (IRC client for Emacs)\r\n", nbyte=48)
    at sysdep.c:1932
        rtnval = 139703669
        bytes_written = 0
#3  0x08240a3d in send_process (proc=149853781, buf=0xa90b91c "QUIT :\002ERC\002 Version 5.3 (IRC client for Emacs)\r\n", 
    len=48, object=164449753) at process.c:5538
        written = 0
        outfd = 10
        this = 48
        p = 0x8ee9650
        rv = 139059402
        coding = 0x8ee9928
        gcpro1 = {
          next = 0x8202e58, 
          var = 0x84a83c8, 
          nvars = 139100074
        }
        old_sigpipe = 0x1
#4  0x08240e9f in Fprocess_send_string (process=149853781, string=164449753) at process.c:5679
        proc = 149853781
#5  0x081f5f29 in Ffuncall (nargs=3, args=0xbfffcd50) at eval.c:3005
        fun = 138667501
        original_fun = 139154658
        funcar = 149199362
        numargs = 2
        lisp_numargs = -1073754824
        val = 139059402
        backtrace = {
          next = 0xbfffcfd0, 
          function = 0xbfffcd50, 
          args = 0xbfffcd54, 
          nargs = 2, 
          debug_on_exit = 0
        }
        internal_args = 0xbfffcd54
        i = 1
#6  0x0823522c in exec_byte_code (bytestr=148950977, vector=148484469, maxdepth=16, args_template=139059402, nargs=0, 
    args=0x0) at bytecode.c:785
        count = 21
        op = 2
        vectorp = 0x8d9b178
        stack = {
          pc = 0x8ea221c "\207", 
          byte_string = 148950977, 
          byte_string_start = 0x8ea220c "\303\304!\203\f", 
          constants = 148484469, 
          next = 0xbfffd1cc
        }
        top = 0xbfffcd50
        result = 139059402
#7  0x08234a33 in Fbyte_code (bytestr=148950977, vector=148484469, maxdepth=16) at bytecode.c:423
No locals.
#8  0x081f4d37 in eval_sub (form=148914638) at eval.c:2356
        numargs = 12
        args_left = 139059402
        i = 136530427
        maxargs = 3
        argvals = {148950977, 148484469, 16, 139183888, -1073754128, 139674582, -1073754120, 136173315}
        fun = 138666589
        val = 0
        original_fun = 139138282
        original_args = 148914630
        funcar = 0
        backtrace = {
          next = 0xbfffd43c, 
          function = 0xbfffd030, 
          args = 0xbfffcfb0, 
          nargs = 3, 
          debug_on_exit = 0
        }
        gcpro1 = {
          next = 0x849e0ca, 
          var = 0x84bc712, 
          nvars = 148300102
        }
        gcpro2 = {
          next = 0x2, 
          var = 0x9be49c8, 
          nvars = -1073754056
        }
        gcpro3 = {
          next = 0x0, 
          var = 0xbfffcfb0, 
          nvars = 3
        }
#9  0x081f359f in internal_lisp_condition_case (var=139429466, bodyform=148914638, handlers=148914606) at eval.c:1469
        val = 139059402
        c = {
          tag = 139059402, 
          val = 139059402, 
          next = 0xbfffeb30, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {320, 139059426, -1073746364, -1073753752, -91669873, 994309088}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {139059402, 149009238, 320, 139059426, 3221213544, 136274221, 149198573, 0, 3221213572, 136273672, 
                  149853781, 3, 2621440000, 1104403979, 149269970, 149810646, 0, 1074266112, 137190200, 0, 3221213512, 
                  136184922, 0, 0, 2, 3221213568, 2, 3221213568, 3221213512, 3221214268, 3221213568, 3221213572}
              }
            }}, 
          backlist = 0xbfffd43c, 
          handlerlist = 0xbfffebf8, 
          lisp_eval_depth = 9, 
          pdlcount = 21, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0xbfffd1cc
        }
        h = {
          handler = 148914606, 
          var = 139429466, 
          chosen_clause = 1624030464, 
          tag = 0xbfffd07c, 
          next = 0xbfffebf8
        }
#10 0x08235cef in exec_byte_code (bytestr=148950657, vector=148154157, maxdepth=28, args_template=139059402, nargs=0, 
    args=0x0) at bytecode.c:981
        handlers = 148914606
        body = 148914638
        count = 17
        op = 143
        vectorp = 0x8d4a730
        stack = {
          pc = 0x8ea21c4 "\210*\202\031", 
          byte_string = 148950657, 
          byte_string_start = 0x8ea2164 "r\bq\210\306 \031\n\203\021", 
          constants = 148154157, 
          next = 0xbfffd4ec
        }
        top = 0xbfffd180
        result = 48
#11 0x081f6830 in funcall_lambda (fun=148484573, nargs=1, arg_vector=0x849e0ca) at eval.c:3233
        val = 1
        syms_left = 139059402
        next = 139092282
        lexenv = 139059402
        count = 16
        i = 1
        optional = 0
        rest = 0
#12 0x081f612d in Ffuncall (nargs=2, args=0xbfffd4a0) at eval.c:3051
        fun = 148484573
        original_fun = 147329490
        funcar = 148461776
        numargs = 1
        lisp_numargs = -1073752952
        val = 162882310
        backtrace = {
          next = 0xbfffd75c, 
          function = 0xbfffd4a0, 
          args = 0xbfffd4a4, 
          nargs = 1, 
          debug_on_exit = 0
        }
        internal_args = 0x849e0ca
        i = -1073752912
#13 0x0823522c in exec_byte_code (bytestr=148128817, vector=149006541, maxdepth=28, args_template=139059402, nargs=0, 
    args=0x0) at bytecode.c:785
        count = 12
        op = 1
        vectorp = 0x8e1a8d0
        stack = {
          pc = 0x8ea204d "\210*\330)\202i", 
          byte_string = 148128817, 
          byte_string_start = 0x8ea1ff0 "\b\203\017", 
          constants = 149006541, 
          next = 0xbfffd80c
        }
        top = 0xbfffd4a0
        result = 164449801
#14 0x081f6830 in funcall_lambda (fun=147421509, nargs=1, arg_vector=0x849e0ca) at eval.c:3233
        val = 139059402
        syms_left = 139059402
        next = 139609626
        lexenv = 139059402
        count = 9
        i = 1
        optional = 1
        rest = 0
#15 0x081f612d in Ffuncall (nargs=2, args=0xbfffd7c0) at eval.c:3051
        fun = 147421509
        original_fun = 149199458
        funcar = 149038776
        numargs = 1
        lisp_numargs = 28
        val = 164449769
        backtrace = {
          next = 0xbfffda7c, 
          function = 0xbfffd7c0, 
          args = 0xbfffd7c4, 
          nargs = 1, 
          debug_on_exit = 0
        }
        internal_args = 0x849e0ca
        i = 137198241
#16 0x0823522c in exec_byte_code (bytestr=149367945, vector=148280413, maxdepth=20, args_template=139059402, nargs=0, 
    args=0x0) at bytecode.c:785
        count = 9
        op = 1
        vectorp = 0x8d69460
        stack = {
          pc = 0x8eae4d7 "\207", 
          byte_string = 149367945, 
          byte_string_start = 0x8eae4c8 "\302 \205\017", 
          constants = 148280413, 
          next = 0xbfffdc7c
        }
        top = 0xbfffd7c0
        result = 139059426
#17 0x081f6830 in funcall_lambda (fun=148280557, nargs=0, arg_vector=0x849e0ca) at eval.c:3233
        val = 139059426
        syms_left = 139059402
        next = 139092282
        lexenv = 139059402
        count = 9
        i = 0
        optional = 0
        rest = 0
#18 0x081f612d in Ffuncall (nargs=1, args=0xbfffdb6c) at eval.c:3051
        fun = 148280557
        original_fun = 147863218
        funcar = 28
        numargs = 0
        lisp_numargs = -1073751368
        val = 139059426
        backtrace = {
          next = 0xbfffdbdc, 
          function = 0xbfffdb6c, 
          args = 0xbfffdb70, 
          nargs = 0, 
          debug_on_exit = 0
        }
        internal_args = 0x849e0ca
        i = -1073751168
#19 0x081f54da in funcall_nil (nargs=1, args=0xbfffdb6c) at eval.c:2519
No locals.
#20 0x081f57d2 in run_hook_with_args (nargs=1, args=0xbfffdb6c, funcall=0x81f54c2 <funcall_nil>) at eval.c:2708
        global_vals = 139059402
        sym = 147863194
        val = 148852678
        ret = 139059402
        gcpro1 = {
          next = 0x8dc3d15, 
          var = 0x8, 
          nvars = 139059402
        }
        gcpro2 = {
          next = 0xbfffdb78, 
          var = 0x81f6845, 
          nvars = 9
        }
        gcpro3 = {
          next = 0x849e0ca, 
          var = 0x84a5f12, 
          nvars = 139059402
        }
#21 0x081f5519 in Frun_hooks (nargs=1, args=0xbfffdc44) at eval.c:2546
        hook = {147863218}
        i = 0
#22 0x081f5e31 in Ffuncall (nargs=2, args=0xbfffdc40) at eval.c:2984
        fun = 138661885
        original_fun = 139129386
        funcar = 139134850
        numargs = 1
        lisp_numargs = -1073751000
        val = 148651285
        backtrace = {
          next = 0xbfffdeec, 
          function = 0xbfffdc40, 
          args = 0xbfffdc44, 
          nargs = 1, 
          debug_on_exit = 0
        }
        internal_args = 0x849e0ca
        i = 139059378
#23 0x0823522c in exec_byte_code (bytestr=149367721, vector=148280197, maxdepth=8, args_template=139059402, nargs=0, args=0x0)
    at bytecode.c:785
        count = 9
        op = 1
        vectorp = 0x8d69388
        stack = {
          pc = 0x8eae4b3 "\207\306\307 !\203\037", 
          byte_string = 149367721, 
          byte_string_start = 0x8eae4a0 "\b\301=\205\"", 
          constants = 148280197, 
          next = 0xbfffe14c
        }
        top = 0xbfffdc40
        result = 139059402
#24 0x081f6830 in funcall_lambda (fun=148280349, nargs=0, arg_vector=0x849e0ca) at eval.c:3233
        val = 139059402
        syms_left = 139059402
        next = 139059402
        lexenv = 139059402
        count = 9
        i = 0
        optional = 0
        rest = 0
#25 0x081f612d in Ffuncall (nargs=1, args=0xbfffdfdc) at eval.c:3051
        fun = 148280349
        original_fun = 147863170
        funcar = 162882230
        numargs = 0
        lisp_numargs = 0
        val = 139059402
        backtrace = {
          next = 0xbfffe0ac, 
          function = 0xbfffdfdc, 
          args = 0xbfffdfe0, 
          nargs = 0, 
          debug_on_exit = 0
        }
        internal_args = 0x8dc3d10
        i = 139059666
#26 0x081f54da in funcall_nil (nargs=1, args=0xbfffdfdc) at eval.c:2519
No locals.
#27 0x081f57d2 in run_hook_with_args (nargs=1, args=0xbfffdfdc, funcall=0x81f54c2 <funcall_nil>) at eval.c:2708
        global_vals = 139059402
        sym = 139059666
        val = 148843094
        ret = 139059402
        gcpro1 = {
          next = 0x9b562d6, 
          var = 0xbfffdfb8, 
          nvars = 136203030
        }
        gcpro2 = {
          next = 0xbfffdfc8, 
          var = 0x8193240, 
          nvars = 139183890
        }
        gcpro3 = {
          next = 0x849e0e2, 
          var = 0x979db6b, 
          nvars = 139059402
        }
#28 0x081f5519 in Frun_hooks (nargs=1, args=0x8482338) at eval.c:2546
        hook = {147863170}
        i = 0
#29 0x08192a0d in Fkill_buffer (buffer_or_name=148651285) at buffer.c:1502
        count = 8
        arglist = {139134066}
        buffer = 148651285
        b = 0x8dc3d10
        tem = 139059426
        m = 0x849e0e2
        gcpro1 = {
          next = 0x0, 
          var = 0xbfffe028, 
          nvars = 136037649
        }
#30 0x081f5f08 in Ffuncall (nargs=2, args=0xbfffe110) at eval.c:3002
        fun = 137026109
        original_fun = 139137618
        funcar = 0
        numargs = 1
        lisp_numargs = 0
        val = 146987218
        backtrace = {
          next = 0xbfffe3bc, 
          function = 0xbfffe110, 
          args = 0xbfffe114, 
          nargs = 1, 
          debug_on_exit = 0
        }
        internal_args = 0xbfffe114
        i = 1
#31 0x0823522c in exec_byte_code (bytestr=145856513, vector=146694253, maxdepth=16, args_template=139059402, nargs=0, 
    args=0x0) at bytecode.c:785
        count = 6
        op = 1
        vectorp = 0x8be6070
        stack = {
          pc = 0x8c1ea52 "\210\tA\211\021\204\023", 
          byte_string = 145856513, 
          byte_string_start = 0x8c1ea30 "\302\303!\205,", 
          constants = 146694253, 
          next = 0xbfffe45c
        }
        top = 0xbfffe110
        result = 139059402
#32 0x081f6830 in funcall_lambda (fun=146694309, nargs=0, arg_vector=0x849e0ca) at eval.c:3233
        val = 139059402
        syms_left = 139059402
        next = 139245562
        lexenv = 139059402
        count = 6
        i = 0
        optional = 0
        rest = 0
#33 0x081f612d in Ffuncall (nargs=1, args=0xbfffe420) at eval.c:3051
        fun = 146694309
        original_fun = 143098970
        funcar = 12
        numargs = 0
        lisp_numargs = 1
        val = 139059402
        backtrace = {
          next = 0xbfffe6cc, 
          function = 0xbfffe420, 
          args = 0xbfffe424, 
          nargs = 0, 
          debug_on_exit = 0
        }
        internal_args = 0x849e0ca
        i = 13636
#34 0x0823522c in exec_byte_code (bytestr=140159681, vector=143100733, maxdepth=16, args_template=139059402, nargs=0, 
    args=0x0) at bytecode.c:785
        count = 6
        op = 0
        vectorp = 0x8878b40
        stack = {
          pc = 0x8840363 "\210\304\310!\203\035", 
          byte_string = 140159681, 
          byte_string_start = 0x8840350 "\302\b\303\"\210\304\305!\203\016", 
          constants = 143100733, 
          next = 0x0
        }
        top = 0xbfffe420
        result = -1073748440
#35 0x081f6830 in funcall_lambda (fun=143099885, nargs=1, arg_vector=0x849e0ca) at eval.c:3233
        val = 0
        syms_left = 139059402
        next = 139280514
        lexenv = 139059402
        count = 5
        i = 1
        optional = 1
        rest = 0
#36 0x081f612d in Ffuncall (nargs=2, args=0xbfffe780) at eval.c:3051
        fun = 143099885
        original_fun = 143098898
        funcar = 135732892
        numargs = 1
        lisp_numargs = -1073748200
        val = -1073746364
        backtrace = {
          next = 0xbfffe96c, 
          function = 0xbfffe780, 
          args = 0xbfffe784, 
          nargs = 1, 
          debug_on_exit = 0
        }
        internal_args = 0xbfffe9d4
        i = 136247142
#37 0x081f12fc in Fcall_interactively (function=143098898, record_flag=139059402, keys=139087581) at callint.c:852
        val = 0
        args = 0xbfffe780
        visargs = 0xbfffe760
        specs = 140159473
        filter_specs = 140159473
        teml = 0
        up_event = 139059402
        enable = 139059402
        speccount = 3
        next_event = 2
        prefix_arg = 139059402
        string = 0xbfffe7a0 "P"
        tem = 0x82a0b24 ""
        varies = 0xbfffe740 ""
        i = 2
        nargs = 2
        foo = 0
        arg_from_tty = 0
        gcpro1 = {
          next = 0x2000, 
          var = 0x0, 
          nvars = 0
        }
        gcpro2 = {
          next = 0xbfffef60, 
          var = 0xbfffee44, 
          nvars = -1073747864
        }
        gcpro3 = {
          next = 0x84d6fa0, 
          var = 0x849e0ca, 
          nvars = 2
        }
        gcpro4 = {
          next = 0xbfffe708, 
          var = 0x81dd6b3, 
          nvars = 2
        }
        gcpro5 = {
          next = 0x8e6d8b2, 
          var = 0xbfffe600, 
          nvars = 139059402
        }
        key_count = 2
        record_then_fail = 0
        save_this_command = 143098898
        save_last_command = 141353530
        save_this_original_command = 143098898
        save_real_this_command = 143098898
#38 0x081f5f53 in Ffuncall (nargs=4, args=0xbfffe9d0) at eval.c:3009
        fun = 138661093
        original_fun = 139138474
        funcar = 0
        numargs = 3
        lisp_numargs = 0
        val = 0
        backtrace = {
          next = 0x0, 
          function = 0xbfffe9d0, 
          args = 0xbfffe9d4, 
          nargs = 3, 
          debug_on_exit = 0
        }
        internal_args = 0xbfffe9d4
        i = 0
#39 0x081f5955 in call3 (fn=139138474, arg1=143098898, arg2=139059402, arg3=139059402) at eval.c:2802
        ret_ungc_val = 143099885
        gcpro1 = {
          next = 0xbba30fe, 
          var = 0x84a41d2, 
          nvars = 4
        }
        args = {139138474, 143098898, 139059402, 139059402}
#40 0x08181056 in Fcommand_execute (cmd=143098898, record_flag=139059402, keys=139059402, special=139059402)
    at keyboard.c:10330
        final = 143099885
        tem = 139059402
        prefixarg = 139059402
#41 0x08172bfa in command_loop_1 () at keyboard.c:1572
        scount = 2
        cmd = 143098898
        keybuf = {96, 68, 432, 139059402, 139059402, 137037113, 139090506, 1624030464, 134545255, -1208095424, -1073747272, 
          135733666, 171345286, 139059426, -1073747229, 139059402, 139573010, 173979777, 137311165, 141310408, 41, 0, 
          -1073747176, 135733223, 171345286, -1073747229, -1073747208, 136267767, 2, 173979777}
        i = 2
        prev_modiff = 1122
        prev_buffer = 0x9080900
        already_adjusted = 0
#42 0x081f3693 in internal_condition_case (bfun=0x817252d <command_loop_1>, handlers=139090482, hfun=0x8171eee <cmd_error>)
    at eval.c:1515
        val = 173979777
        c = {
          tag = 139059402, 
          val = 139059402, 
          next = 0xbfffec58, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {0, -1073746080, -1073746364, -1073746920, -83903857, 994410976}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {0, 0, 21296064, 21290996, 21296064, 0, 3221220368, 3221220296, 3221220308, 21290996, 1235224, 0, 
                  3221159938, 1175776, 134545966, 3086871872, 1232884, 19888620, 41, 3221220068, 1153284, 24466011, 
                  139550336, 24485876, 142652927, 139003616, 3221220612, 19906128, 3086871936, 2, 4294967295, 1232884}
              }
            }}, 
          backlist = 0x0, 
          handlerlist = 0x0, 
          lisp_eval_depth = 0, 
          pdlcount = 2, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0x0
        }
        h = {
          handler = 139090482, 
          var = 139059402, 
          chosen_clause = 139059426, 
          tag = 0xbfffeb30, 
          next = 0x0
        }
#43 0x0817227e in command_loop_2 (ignore=139059402) at keyboard.c:1160
        val = 0
#44 0x081f318f in internal_catch (tag=139088434, func=0x817225a <command_loop_2>, arg=139059402) at eval.c:1272
        c = {
          tag = 139088434, 
          val = 139059402, 
          next = 0x0, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {-1073745664, -1073746080, -1073746364, -1073746648, -84837745, 994769888}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {0 <repeats 17 times>, 20326718, 0, 0, 139059402, 3221220648, 136174460, 138675384, 139059402, 
                  139079152, 136610052, 142555276, 3221221632, 138675384, 139079152, 138675384}
              }
            }}, 
          backlist = 0x0, 
          handlerlist = 0x0, 
          lisp_eval_depth = 0, 
          pdlcount = 2, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0x0
        }
#45 0x0817223a in command_loop () at keyboard.c:1139
No locals.
#46 0x08171b27 in recursive_edit_1 () at keyboard.c:759
        count = 1
        val = -1073746504
#47 0x08171c78 in Frecursive_edit () at keyboard.c:823
        count = 0
        buffer = 139059402
#48 0x0817017e in main (argc=1, argv=0xbffff1a4) at emacs.c:1715
        dummy = -1073745672
        stack_bottom_variable = 8 '\b'
        do_initial_setlocale = 1
        skip_args = 0
        rlim = {
          rlim_cur = 8388608, 
          rlim_max = 18446744073709551615
        }
        no_loadup = 0
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0

Lisp Backtrace:
"process-send-string" (0xbfffcd54)
"byte-code" (0xbfffcfb0)
"erc-server-send-queue" (0xbfffd4a4)
"erc-server-send" (0xbfffd7c4)
"erc-kill-server" (0xbfffdb70)
"run-hooks" (0xbfffdc44)
"erc-kill-buffer-function" (0xbfffdfe0)
"kill-buffer" (0xbfffe114)
"ivan-erc-stop" (0xbfffe424)
"ivan-fun-kill-emacs" (0xbfffe784)
"call-interactively" (0xbfffe9d4)

-- 
Ivan Kanis
http://ivan.kanis.fr

People are like stained-glass windows. They sparkle and shine when the
sun is out, but when the darkness sets in, their true beauty is
revealed only if there is a light from within.
    -- Elizabeth Kubler-Ross




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Sun, 01 Apr 2012 16:21:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Kanis <ivan.kanis <at> googlemail.com>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: better backtrace
Date: Sun, 01 Apr 2012 19:19:56 +0300
> From: Ivan Kanis <ivan.kanis <at> googlemail.com>
> Date: Sun, 01 Apr 2012 12:41:01 +0200
> 
> Here is the full backtrace including the exception code and the lisp
> backtrace. Let me know what I can do further to identify the problem.
> 
> Program received signal SIGPIPE, Broken pipe.
> 0x0012e416 in __kernel_vsyscall ()
> 
> #1  0x010a3523 in __write_nocancel () from /lib/libpthread.so.0
> No symbol table info available.
> #2  0x0818e0fc in emacs_write (fildes=10, buf=0xa90b91c "QUIT :\002ERC\002 Version 5.3 (IRC client for Emacs)\r\n", nbyte=48)
>     at sysdep.c:1932
>         rtnval = 139703669
>         bytes_written = 0
> #3  0x08240a3d in send_process (proc=149853781, buf=0xa90b91c "QUIT :\002ERC\002 Version 5.3 (IRC client for Emacs)\r\n", 

AFAIK, SIGPIPE means that the other side of the pipe was closed.  Is
Emacs communicating with a program or with the network directly?  If
the former, please see why does the program exit; if the latter,
perhaps you have connectivity problems?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Sun, 01 Apr 2012 16:58:01 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: better backtrace
Date: Sun, 01 Apr 2012 18:57:23 +0200
Eli Zaretskii <eliz <at> gnu.org> wrote:

>> From: Ivan Kanis <ivan.kanis <at> googlemail.com>
>> Date: Sun, 01 Apr 2012 12:41:01 +0200
>> 
>> Here is the full backtrace including the exception code and the lisp
>> backtrace. Let me know what I can do further to identify the problem.
>> 
>> Program received signal SIGPIPE, Broken pipe.
>> 0x0012e416 in __kernel_vsyscall ()
>
> AFAIK, SIGPIPE means that the other side of the pipe was closed.  Is
> Emacs communicating with a program or with the network directly?  If
> the former, please see why does the program exit; if the latter,
> perhaps you have connectivity problems?

Correct if I am wrong, ERC is communicating directly with the network. I
don't have connectivity problem. This bug only happens when I shut down
emacs. To make things trickier, it doesn't happen all the time :(
-- 
Ivan Kanis
http://ivan.kanis.fr

Music is the shorthand of emotion.
    -- Leo Tolstoy




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Sun, 01 Apr 2012 17:04:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Kanis <ivan.kanis <at> googlemail.com>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: better backtrace
Date: Sun, 01 Apr 2012 20:02:21 +0300
> From: Ivan Kanis <ivan.kanis <at> googlemail.com>
> Cc: 10582 <at> debbugs.gnu.org
> Date: Sun, 01 Apr 2012 18:57:23 +0200
> 
> I don't have connectivity problem. This bug only happens when I
> shut down emacs.

Sorry, I forgot that.  So perhaps it's Emacs that shuts down the
connection too early, and then ERC tries to communicate?

> To make things trickier, it doesn't happen all the time :(

Timing issues?

Anyway, I'm talking way past my pay grade here.  Perhaps someone else
will have a clue that I don't.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Sun, 01 Apr 2012 20:14:02 GMT) Full text and rfc822 format available.

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

From: Troels Nielsen <bn.troels <at> gmail.com>
To: Ivan Kanis <ivan.kanis <at> googlemail.com>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: better backtrace
Date: Sun, 1 Apr 2012 22:13:15 +0200
Hi,

I think the default behavior of gdb is to simply stop on SIGPIPE, even
though emacs might have handled the signal just fine.

Maybe you could try issuing this command to gdb, before starting emacs:

handle SIGPIPE nostop

and see if there still is a problem.

(And maybe that command should go into in .gdbinit (?))

Regards
Troels




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Tue, 03 Apr 2012 17:59:01 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: Troels Nielsen <bn.troels <at> gmail.com>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: better backtrace
Date: Tue, 03 Apr 2012 19:58:15 +0200
Troels Nielsen <bn.troels <at> gmail.com> wrote:

> Maybe you could try issuing this command to gdb, before starting emacs:
>
> handle SIGPIPE nostop

I have added the line. I will let you know how it goes...
-- 
Ivan Kanis
http://ivan.kanis.fr

The average Ph.D. thesis is nothing but the transference of bones
from one graveyard to another.
    -- Frank J. Dobie




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Fri, 27 Apr 2012 06:24:02 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: Troels Nielsen <bn.troels <at> gmail.com>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: better backtrace
Date: Fri, 27 Apr 2012 08:22:07 +0200
Troels Nielsen <bn.troels <at> gmail.com> a écrit

> Maybe you could try issuing this command to gdb, before starting emacs:
> handle SIGPIPE nostop
> and see if there still is a problem.

It works, thanks!

> (And maybe that command should go into in .gdbinit (?))

It probably should...




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Sun, 07 Oct 2012 01:55:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Ivan Kanis <ivan.kanis <at> googlemail.com>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: better backtrace
Date: Sat, 06 Oct 2012 21:53:50 -0400
Ivan Kanis wrote:

> Troels Nielsen <bn.troels <at> gmail.com> a écrit
>
>> Maybe you could try issuing this command to gdb, before starting emacs:
>> handle SIGPIPE nostop
>> and see if there still is a problem.
>
> It works, thanks!

So IIUC, there is no Emacs bug here; it's all a side effect of running
Emacs under gdb? And the suggestion is to add the SIGPIPE line to
Emacs's .gdbinit? I can't comment on whether that is a good idea or not;
hopefully others will.




Changed bug title to 'Emacs under gdb stops on SIGPIPE' from '24.0.92; quiting erc causes crash' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 07 Oct 2012 01:56:01 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 07 Oct 2012 01:56:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10582; Package emacs. (Sun, 07 Oct 2012 10:00:02 GMT) Full text and rfc822 format available.

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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 10582 <at> debbugs.gnu.org
Subject: Re: bug#10582: better backtrace
Date: Sun, 07 Oct 2012 11:58:54 +0200
Glenn Morris <rgm <at> gnu.org> wrote:

> Ivan Kanis wrote:
>
>> Troels Nielsen <bn.troels <at> gmail.com> a écrit
>>
>>> Maybe you could try issuing this command to gdb, before starting emacs:
>>> handle SIGPIPE nostop
>>> and see if there still is a problem.
>>
>> It works, thanks!

Hi Glenn,

> So IIUC, there is no Emacs bug here; it's all a side effect of running
> Emacs under gdb? 

Yes

> And the suggestion is to add the SIGPIPE line to Emacs's .gdbinit?

I am not suggesting anything. I have setup my environment as Troels has
suggested.

> I can't comment on whether that is a good idea or not; hopefully
> others will.

I have no idea either.

Take care
-- 
Ivan Kanis
http://ivan.kanis.fr

Professor: Science is poetry Ms Sciuto. It's about making order...
Abby Sciuto: From chaos. Yeah, that's what I do everyday.
Professor: Then this book is in good hands.
    -- NCIS




Added tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 08 Oct 2012 07:26:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 10582 <at> debbugs.gnu.org and Ivan Kanis <ivan.kanis <at> googlemail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 08 Oct 2012 07:26: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. (Mon, 05 Nov 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 231 days ago.

Previous Next


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