Subject: bug#1186 closed by Michael Albinus <[email-masked]> (Re: bug#1186: 23.0.60; Abort trap when loading dbus in tty)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1186: 23.0.60; Abort trap when loading dbus in tty

It has been closed by Michael Albinus <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Michael Albinus <[email-masked]> by
replying to this email.

-- 
1186: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1186
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Thu Oct 23 21:23:28 2008
From: Michael Albinus <[email-masked]>
To: [email-masked]
Subject: Re: bug#1186: 23.0.60; Abort trap when loading dbus in tty
Date: Fri, 24 Oct 2008 06:23:17 +0200

Magnus Henoch <[email-masked]> writes:

> Michael Albinus <[email-masked]> writes:
>
>> Could you, please, check the appended patch? It ought to prevent Fsignal
>> calls in this case.
>
> The patch fixes the problem for me.  Thanks!

Committed to CVS.

> Magnus

Best regards, Michael.

>From [email-masked] Thu Oct 16 14:23:52 2008
From: Magnus Henoch <[email-masked]>
To: [email-masked]
Subject: 23.0.60; Abort trap when loading dbus in tty
Date: Thu, 16 Oct 2008 23:23:20 +0200

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

emacs -Q -nw
M-x load-library RET dbus RET

At this point, Emacs aborts.

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'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/23.0.60/etc/DEBUG for instructions.

#0  abort () at /media/e/src/emacs/src/emacs.c:424
No locals.
#1  0x01946e80 in Fsignal (error_symbol=29046529, data=43871725)
    at /media/e/src/emacs/src/eval.c:1651
        clause = <value optimized out>
        allhandlers = (struct handler *) 0xffffc5a8
        conditions = <value optimized out>
        real_error_symbol = <value optimized out>
        bp = <value optimized out>
#2  0x01946fb4 in xsignal (error_symbol=29046529, data=43871725)
    at /media/e/src/emacs/src/eval.c:1750
No locals.
#3  0x019476b0 in xsignal1 (error_symbol=29046529, arg=<value optimized out>)
    at /media/e/src/emacs/src/eval.c:1767
No locals.
#4  0x018c368c in xd_initialize (bus=<value optimized out>)
    at /media/e/src/emacs/src/dbusbind.c:688
        s = "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection w"...
        connection = <value optimized out>
        derror = {
  name = 0x0, 
  message = 0x0, 
  dummy1 = 1, 
  dummy2 = 1, 
  dummy3 = 1, 
  dummy4 = 1, 
  dummy5 = 1, 
  padding1 = 0xef7989a0
}
#5  0x018c451c in xd_read_message (bus=29046529)
    at /media/e/src/emacs/src/dbusbind.c:1410
        args = <value optimized out>
        key = <value optimized out>
        value = <value optimized out>
        event = {
  kind = 4018006256, 
  code = -16160, 
  part = 4294951184, 
  modifiers = -277592956, 
  x = 0, 
  y = -277144216, 
  timestamp = 4294951200, 
  padding = {0x2a7, 0x20cb500}, 
  frame_or_window = -16128, 
  arg = -15984
}
        connection = <value optimized out>
        dmessage = <value optimized out>
        iter = {
  dummy1 = 0x20cb500, 
  dummy2 = 0xef7de8f0, 
  dummy3 = 4294951184, 
  dummy4 = -16032, 
  dummy5 = -277598920, 
  dummy6 = -276954060, 
  dummy7 = -16096, 
  dummy8 = -16064, 
  dummy9 = -277296100, 
  dummy10 = 34387200, 
  dummy11 = 29675520, 
  pad1 = 0, 
  pad2 = 0, 
  pad3 = 0xef7e0434
}
        mtype = <value optimized out>
        serial = <value optimized out>
        uname = <value optimized out>
        path = <value optimized out>
        interface = <value optimized out>
        member = <value optimized out>
        __PRETTY_FUNCTION__ = "xd_read_message"
#6  0x01944afc in internal_condition_case_1 (bfun=0x18c44b4 <xd_read_message>, 
    arg=29046553, handlers=28778737, hfun=0x194b314 <Fidentity>)
    at /media/e/src/emacs/src/eval.c:1559
        val = 29046529
        c = {
  tag = 28715009, 
  val = 28715009, 
  next = 0xffffd10c, 
  gcpro = 0x0, 
  jmp = {0, -14848, 27090908, -14944, 26495604, 1149517858, 28452672, 0, 31, 
    30, 28442624, 28442624, 28442624, 28715009, 28442624, 1, 28442624, 
    28442624, 28854276, 0, 1, 28442624, 28715009, 26522388, 25969844, 0, 20, 
    8, -13576, -13584, 25381160, 0 <repeats 47 times>, 1140858914, 0, 31, 
    28442624, 28442624, 28753920, 28442624, 28442624, 28442624, 0, 1, 30, 
    28442624, 1, 28442624, 28442624, 28442624, 26522388, 25969844, -14000, 
    1140858914, 0}, 
  backlist = 0x0, 
  handlerlist = 0xffffd0f8, 
  lisp_eval_depth = 0, 
  pdlcount = 3, 
  poll_suppress_count = 0, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
        h = {
  handler = 28778737, 
  var = 28715009, 
  chosen_clause = -14880, 
  tag = 0xffffc5bc, 
  next = 0xffffd0f8
}
#7  0x018c352c in xd_read_queued_messages ()
    at /media/e/src/emacs/src/dbusbind.c:1561
No locals.
#8  0x018dc204 in gobble_input (expected=29046529)
    at /media/e/src/emacs/src/keyboard.c:6898
        mask = {
  __bits = {28778737, 28715009, 28715057, 4294952956}
}
#9  0x018dd77c in get_input_pending (addr=0x1b1b838, flags=0)
    at /media/e/src/emacs/src/keyboard.c:6886
No locals.
#10 0x018dd9bc in detect_input_pending ()
    at /media/e/src/emacs/src/keyboard.c:10506
No locals.
#11 0x019867e4 in wait_reading_process_output (time_limit=30, microsecs=0, 
    read_kbd=<value optimized out>, do_display=1, wait_for_cell=28715009, 
    wait_proc=0x0, just_wait_proc=0) at /media/e/src/emacs/src/process.c:4768
        Atemp = {
  fds_bits = {0, 0, 0, 0, 28442624, 28442624, 0, 0}
}
        Ctemp = {
  fds_bits = {0, 0, -13960, 0, 29749760, -13824, 26064712, 0}
}
        timeout_reduced_for_timers = 1
        channel = 0
        nfds = 0
        Available = {
  fds_bits = {32, 0, 0, 0, 0, 0, 0, 0}
}
        Connecting = {
  fds_bits = {0, 0, 0, 0, 0, 0, 0, 0}
}
        check_connect = 0
        check_delay = 0
        no_avail = 28854276
        xerrno = <value optimized out>
        proc = <value optimized out>
        timeout = {
  tv_sec = 0, 
  tv_usec = 479420
}
        end_time = {
  tv_sec = 1224192003, 
  tv_usec = 980558
}
        wait_channel = -1
        got_some_input = 0
#12 0x0180c1c4 in sit_for (timeout=28442624, reading=0, do_display=0)
    at /media/e/src/emacs/src/dispnew.c:6637
        sec = 479420
        usec = 1
#13 0x018e2ac0 in read_char (commandflag=1, nmaps=2, maps=0xffffcf00, 
    prev_event=28715009, used_mouse_menu=0xffffcf70, end_time=0x0)
    at /media/e/src/emacs/src/keyboard.c:2892
        tem0 = <value optimized out>
        delay_level = 4
        buffer_size = <value optimized out>
        c = 28715009
        local_getcjmp = {0, 0, 27090908, -13632, 26090416, 603979842, 
  28452672, 0, 31, 28442624, 28442624, 28753920, 28442624, 28442624, 28442624, 
  0, 28715009, 30, 28442624, 28442624, 28442624, 28442624, 28442624, 38684676, 
  28442624, -1, 20, 20, -1, -1, -1, -1, 0 <repeats 33 times>, 28715009, 
  0 <repeats 34 times>}
        save_jump = {0 <repeats 100 times>}
        key_already_recorded = 0
        tem = <value optimized out>
        save = 28442624
        previous_echo_area_message = 28715009
        also_record = 28715009
        reread = 0
        polling_stopped_here = <value optimized out>
        orig_kboard = (struct kboard *) 0x1b9ac80
#14 0x018e3ecc in read_key_sequence (keybuf=0xffffd018, bufsize=30, 
    prompt=28715009, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at /media/e/src/emacs/src/keyboard.c:9343
        interrupted_kboard = (KBOARD *) 0x1b9ac80
        key = 28442624
        used_mouse_menu = 0
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        local_first_binding = 0
        from_string = 28715009
        count = 2
        t = 0
        echo_start = 0
        keys_start = 0
        nmaps = 2
        nmaps_allocated = 2
        defs = (Lisp_Object * volatile) 0xffffcee0
        submaps = (Lisp_Object * volatile) 0xffffcf00
        orig_local_map = 43769325
        orig_keymap = 28715009
        localized_local_map = 0
        first_binding = 0
        first_unbound = 31
        mock_input = 0
        fkey = {
  parent = 29131685, 
  map = 29131685, 
  start = 0, 
  end = 0
}
        keytran = {
  parent = 28704637, 
  map = 28704637, 
  start = 0, 
  end = 0
}
        indec = {
  parent = 29131725, 
  map = 29131725, 
  start = 0, 
  end = 0
}
        shift_translated = 0
        delayed_switch_frame = 28715009
        original_uppercase = 32
        original_uppercase_position = -1
        starting_buffer = (struct buffer *) 0x1b6c000
        fake_prefixed_keys = 28715009
#15 0x018e5fc8 in command_loop_1 () at /media/e/src/emacs/src/keyboard.c:1621
        cmd = 31272960
        lose = <value optimized out>
        nonundocount = 28442624
        keybuf = {216, 960, -12192, 26502348, 1, -12240, -12192, 26502160, 
  28904265, 27369765, 536870978, 0, 28442624, 0, 28442624, 27402024, 28442624, 
  -12192, -12064, 26499764, 37967665, 28715009, 0, -12184, -12240, 0, 46801, 
  37820137, 28442624, 28442624}
        i = <value optimized out>
        prev_modiff = 11
        prev_buffer = (struct buffer *) 0x1b6c000
        already_adjusted = 0
#16 0x01944df4 in internal_condition_case (bfun=0x18e5da4 <command_loop_1>, 
    handlers=28778737, hfun=0x18e0558 <cmd_error>)
    at /media/e/src/emacs/src/eval.c:1511
        val = 29046529
        c = {
  tag = 28715009, 
  val = 28715009, 
  next = 0xffffd318, 
  gcpro = 0x0, 
  jmp = {28442624, 28442624, 27090908, -12048, 26496372, 603979906, 28452672, 
    28442624, 29417472, 29417472, 28442624, 28442624, 28442624, 1, -10852, 3, 
    -10864, 28715009, 0, 0, 0, 26083328, 28715009, 26083328, 28442624, 
    37946453, 28794049, 43762509, 0, -11776, 1140858946, 28323107, 0, -11904, 
    27349995, 28323102, 27350012, -11544, -11244, 28442624, 1, -11776, 
    28947393, -11808, -11760, -11776, 25273008, 28442624, 27349964, 1, 
    27349960, -11580, 28442624, 0, 0, 27349960, 28715009, -11696, 26501732, 
    25272624, -11760, -11696, 603988002, 29417488, 29417472, 28442624, -11244, 
    28442624, 28442624, 1, 28442624, -11580, 0, 1, 38052369, 27349960, -11696, 
    -11600, 26503196, -11352, -11584, -11664, 0, 0, -11352, -11600, 2, 5, 0, 
    -11600, -11244, 28442624, 28442624, 28442624, 3, 27066368, 27369680, 36, 
    0, -11588}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 0, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
        h = {
  handler = 28778737, 
  var = 28715009, 
  chosen_clause = 29417472, 
  tag = 0xffffd10c, 
  next = 0x0
}
#17 0x018df9d8 in command_loop_2 () at /media/e/src/emacs/src/keyboard.c:1338
No locals.
  var = 28715009, 
  chosen_clause = 29417472, 
  tag = 0xffffd10c, 
  next = 0x0
}
#17 0x018df9d8 in command_loop_2 () at /media/e/src/emacs/src/keyboard.c:1338
No locals.
---Type <return> to continue, or q <return> to quit---
#18 0x01944f04 in internal_catch (tag=<value optimized out>, 
    func=0x18df99c <command_loop_2>, arg=29046529)
    at /media/e/src/emacs/src/eval.c:1247
        c = {
  tag = 28774809, 
  val = 28715009, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {1, 27369604, 27090908, -11504, 26496744, 603979906, 28452672, 
    28442624, 29417472, 29417472, 28442624, 28442624, 28442624, 1, -10852, 3, 
    -10864, 28715009, 0, 0, 0, 0, 0, 28442624, 28442624, 1, 1, 28948553, 
    27369600, -11360, -11264, 26503196, -11032, -11248, -11244, 1, 65535, 56, 
    -11264, -10852, 3, 0, -11264, -10932, 28442624, 28442624, 28442624, 0, 
    27066368, 27371408, 27371400, 28780361, -11248, -11232, -11120, 26736872, 
    3, 8512, 28715009, 28854788, 0, -11096, -11120, 28442624, 28251291, 0, 
    -11248, 27371387, 28251279, 27371404, 0, 25696332, 29197316, 28442624, 
    -11152, 80, 0, 28853760, -11152, 25236688, 28442624, 27371364, 1, 
    27371360, -10932, 28442624, 0, 0, 27371360, 28715009, -11072, 26501732, 
    28442624, 28442624, -11040, 1140858946, 28715009, 28753920, 28990113, 
    28964032}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 0, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#19 0x018e0354 in command_loop () at /media/e/src/emacs/src/keyboard.c:1317
No locals.
#20 0x018e0778 in recursive_edit_1 () at /media/e/src/emacs/src/keyboard.c:942
        val = <value optimized out>
#21 0x018e0910 in Frecursive_edit () at /media/e/src/emacs/src/keyboard.c:1004
        buffer = 28715009
#22 0x018d43f4 in main (argc=<value optimized out>, argv=0xffffd6b4)
    at /media/e/src/emacs/src/emacs.c:1728
        newlim = <value optimized out>
        dummy = 0
        stack_bottom_variable = 0 '\0'
        do_initial_setlocale = <value optimized out>
        skip_args = 1
        rlim = {
  rlim_cur = 4440064, 
  rlim_max = 33554432
}
        no_loadup = 0
        junk = 0x0

In GNU Emacs 23.0.60.2 (powerpc-unknown-netbsd4.99.72, X toolkit, Xaw3d scroll bars)
 of 2008-10-16 on zemdatav
Windowing system distributor `The NetBSD Foundation', version 11.0.10402000
configured using `configure  '--with-x-toolkit=athena' '--enable-maintainer-mode''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: eo
  value of $LC_MONETARY: sv_SE
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t