emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gtk3, emacs 24 and gnome shell


From: Rasmus
Subject: Re: gtk3, emacs 24 and gnome shell
Date: Thu, 03 Nov 2011 01:08:59 +0000
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Michael Welsh Duggan <address@hidden> writes:

n> Rasmus Pank Roulund <address@hidden> writes:
>
>> Tassilo Horn <address@hidden> writes:
>>
>>> Hi Rasmus,
>>>
>>>>> Run it in gdb.  Compile it without optimizations and -ggdb in
>>>>> CFLAGS and
>>>>> then run it like so:
>>>>>
>>>>>   $ cd path/to/emacs/src/
>>>>>   $ gdb emacs
>>>>>   gdb> run


Here is a backtrace where Emacs seems to have broken.  In this specific
case my computer was playing back music while I was reading an article.
When I got back Emacs had crashed.

(gdb) bt full
#0  abort () at emacs.c:386
No locals.
#1  0x000000000044d214 in redisplay_internal () at xdisp.c:12644
        w = 0x576e090
        sw = 0x77
        fr = 0x7fffffffb800
        pending = 0
        must_finish = 0
        tlbufpos = {
          charpos = 1, 
          bytepos = 12848690
        }
        tlendpos = {
          charpos = 140737488336720, 
          bytepos = 6182231
        }
        number_of_visible_frames = 0
        count = 32767
        count1 = 0
        sf = 0x7ffff7fcc4c8
        polling_stopped_here = 0
        old_frame = 20073637
        consider_all_windows_p = 0
#2  0x000000000044ee42 in redisplay_preserve_echo_area (from_where=13) at 
xdisp.c:13385
No locals.
#3  0x0000000000651732 in Fdelete_process (process=91333653) at process.c:758
        p = 0x571a410
#4  0x000000000065e620 in kill_buffer_processes (buffer=12716498) at 
process.c:7085
        tail = 70305974
        proc = 91333653
#5  0x0000000000560e2a in shut_down_emacs (sig=0, no_x=0, stuff=12716498) at 
emacs.c:2068
No locals.
#6  0x0000000000503d95 in x_connection_closed (dpy=0xff6830, 
error_message=0x7fffffffbc60 "X protocol error: BadMatch (invalid parameter 
attributes) on protocol request 42") at xterm.c:7799
        dpyinfo = 0x10e4600
        frame = 20073637
        tail = 12716498
        idx = 3
#7  0x00000000005042cd in x_error_quitter (display=0xff6830, 
event=0x7fffffffbf10) at xterm.c:7893
        buf = "BadMatch (invalid parameter attributes)", '\000' <repeats 216 
times>
        buf1 = "X protocol error: BadMatch (invalid parameter attributes) on 
protocol request 42", '\000' <repeats 23 times>"\200, \377?", '\000' <repeats 
12 times>, "0\215˿", '\000' <repeats 16 times>"\377, 
\000\000\000\000\000\377\377\377\377\377\377\377\377\377\377\000\000\377\377\000\000-mnemonics\000Gtk/V-mne\000\000\000\000\022\000\000\000\000\000\000\000K\000\000\000\000\000\000\000\240\311\373\367\377\177\000\000\006\062\003g\000\000\000\000\002u\336\367\377\177\000\000\006\000\000\000\000\000\000\000\000\277\377\377\377\177\000\000\377\377\377\377\000\000\000\000\264.\342\364\377\177\000\000о\377\377\377\177"...
#8  0x000000000050422e in x_error_handler (display=0xff6830, 
event=0x7fffffffbf10) at xterm.c:7863
No locals.
#9  0x00007ffff4e68083 in _XError () from /usr/lib/libX11.so.6
No symbol table info available.
#10 0x00007ffff4e64ed1 in ?? () from /usr/lib/libX11.so.6
No symbol table info available.
#11 0x00007ffff4e64f15 in ?? () from /usr/lib/libX11.so.6
No symbol table info available.
#12 0x00007ffff4e65d20 in _XReply () from /usr/lib/libX11.so.6
No symbol table info available.
#13 0x00007ffff4e5b000 in XQueryPointer () from /usr/lib/libX11.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#14 0x00007ffff7552fef in ?? () from /usr/lib/libgdk-3.so.0
No symbol table info available.
#15 0x00007ffff756cb23 in ?? () from /usr/lib/libgdk-3.so.0
No symbol table info available.
#16 0x00007ffff7547f9b in gdk_window_get_device_position () from 
/usr/lib/libgdk-3.so.0
No symbol table info available.
#17 0x00007ffff75532aa in ?? () from /usr/lib/libgdk-3.so.0
No symbol table info available.
#18 0x00007ffff7a32832 in ?? () from /usr/lib/libgtk-3.so.0
No symbol table info available.
#19 0x00007ffff78e8828 in ?? () from /usr/lib/libgtk-3.so.0
No symbol table info available.
#20 0x00007ffff65f80e4 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0x00007ffff6609e9f in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0x00007ffff66134c3 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
No symbol table info available.
#23 0x00007ffff6613892 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#24 0x00007ffff7a152b9 in ?? () from /usr/lib/libgtk-3.so.0
No symbol table info available.
#25 0x00007ffff78e8683 in gtk_main_do_event () from /usr/lib/libgtk-3.so.0
No symbol table info available.
#26 0x00007ffff7561512 in ?? () from /usr/lib/libgdk-3.so.0
No symbol table info available.
#27 0x00007ffff63387fd in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#28 0x00007ffff6338ff8 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#29 0x00007ffff63391c9 in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0
No symbol table info available.
#30 0x00007ffff78e78a5 in gtk_main_iteration () from /usr/lib/libgtk-3.so.0
No symbol table info available.
#31 0x000000000050269e in XTread_socket (terminal=0x10e1450, expected=1, 
hold_quit=0x7fffffffc9a0) at xterm.c:7157
        count = 0
        event_found = 0
#32 0x000000000056e783 in read_avail_input (expected=1) at keyboard.c:6821
        nr = 1
        hold_quit = {
          kind = NO_EVENT, 
          code = 0, 
          part = scroll_bar_above_handle, 
          modifiers = 0, 
          x = 0, 
          y = 0, 
          timestamp = 0, 
          padding = {0x0, 0x0}, 
          frame_or_window = 0, 
          arg = 0
        }
        next = 0x0
        nread = 0
        err = 0
        t = 0x10e1450
---Type <return> to continue, or q <return> to quit---
#33 0x000000000056f0dd in handle_async_input () at keyboard.c:7149
        nread = 32767
#34 0x000000000056f0fc in process_pending_signals () at keyboard.c:7165
No locals.
#35 0x0000000000658785 in wait_reading_process_output (time_limit=0, 
microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=12716498, wait_proc=0x0, 
just_wait_proc=0) at process.c:4332
        timeout_reduced_for_timers = 0
        channel = 62
        nfds = 1
        Available = {
          fds_bits = {128, 0 <repeats 15 times>}
        }
        Writeok = {
          fds_bits = {0 <repeats 16 times>}
        }
        check_write = 1
        check_delay = 3
        no_avail = 0
        xerrno = 11
        proc = 66387093
        timeout = {
          tv_sec = 0, 
          tv_usec = 0
        }
        end_time = {
          tv_sec = 0, 
          tv_usec = 5666740
        }
        wait_channel = -1
        got_some_input = 1
        count = 2
#36 0x000000000056854a in kbd_buffer_get_event (kbp=0x7fffffffcf80, 
used_mouse_menu=0x7fffffffd594, end_time=0x0) at keyboard.c:3850
        c = 0
        obj = 0
#37 0x0000000000565f2e in read_char (commandflag=1, nmaps=7, 
maps=0x7fffffffd300, prev_event=12716498, used_mouse_menu=0x7fffffffd594, 
end_time=0x0) at keyboard.c:2796
        kb = 0x578ddc0
        c = 12716498
        jmpcount = 2
        local_getcjmp = {{
            __jmpbuf = {0, 1489677321743271225, 4274192, 140737488347408, 0, 0, 
1489677321384658233, -1489676684761332423}, 
            __mask_was_saved = 0, 
            __saved_mask = {
              __val = {274887369285, 64, 3, 12716498, 140737488334416, 
12716498, 16109281, 3, 140737488347408, 140737488335024, 34048, 93423686, 
1489677321789408569, 4274192, 140737488347408, 0}
            }
          }}
        save_jump = {{
            __jmpbuf = {12716498, 1489677320759706937, 3, 140737488347408, 0, 
0, 1489677320342373689, -1489676684761332423}, 
            __mask_was_saved = 0, 
            __saved_mask = {
              __val = {12839202, 40237510, 16109857, 13754082, 8, 40237510, 
274887369285, 64, 3, 12716498, 140737488334416, 12716498, 16109281, 3, 
140737488347408, 140737488335024}
            }
          }}
        key_already_recorded = 0
        tem = 12750578
        save = 140737488343696
        previous_echo_area_message = 12716498
---Type <return> to continue, or q <return> to quit---
        also_record = 12716498
        reread = 0
        gcpro1 = {
          next = 0x1ffffd330, 
          var = 0x5356a15, 
          nvars = 12716498
        }
        gcpro2 = {
          next = 0x0, 
          var = 0x1, 
          nvars = 140737488342976
        }
        polling_stopped_here = 1
        orig_kboard = 0x10e6aa0
#38 0x0000000000573849 in read_key_sequence (keybuf=0x7fffffffd800, bufsize=30, 
prompt=12716498, dont_downcase_last=0, can_return_switch_frame=1, 
fix_current_buffer=1) at keyboard.c:9290
        interrupted_kboard = 0x10e6aa0
        interrupted_frame = 0x1324ca0
        key = 92096341
        used_mouse_menu = 0
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        local_first_binding = 0
        from_string = 12716498
        count = 2
        t = 0
        echo_start = 0
        keys_start = 0
        nmaps = 7
        nmaps_allocated = 7
        defs = 0x7fffffffd2b0
        submaps = 0x7fffffffd300
        orig_local_map = 26498966
        orig_keymap = 12716498
        localized_local_map = 0
        first_binding = 0
        first_unbound = 31
        mock_input = 0
        fkey = {
          parent = 18987686, 
          map = 18987686, 
          start = 0, 
          end = 0
        }
        keytran = {
          parent = 12695974, 
          map = 12695974, 
          start = 0, 
          end = 0
        }
        indec = {
          parent = 18987670, 
          map = 18987670, 
          start = 0, 
          end = 0
---Type <return> to continue, or q <return> to quit---
        }
        shift_translated = 0
        delayed_switch_frame = 12716498
        original_uppercase = 3026
        original_uppercase_position = -1
        dummyflag = 0
        starting_buffer = 0x5356a10
        fake_prefixed_keys = 12716498
        outer_gcpro1 = {
          next = 0x57d4755, 
          var = 0x100000001, 
          nvars = 0
        }
#39 0x000000000056333a in command_loop_1 () at keyboard.c:1447
        cmd = 12769746
        keybuf = {13433074, 24, 3070, 16, 12856386, 140737488345344, 12716546, 
56453718, 140737488345184, 5228472, 4307683794, 20073632, 9382806, 12769698, 
140737488345072, 9410481, 4294956768, 
          12716498, 12716498, 9382817, 140737488345312, 5647192, 
140737488345344, 56453718, 0, 20073632, 140737488345376, 0, 140737488345424, 
5646701}
        i = 1
        prev_modiff = 2
        prev_buffer = 0x57d4750
        already_adjusted = 0
#40 0x00000000005fe9ff in internal_condition_case (bfun=0x562f55 
<command_loop_1>, handlers=12768690, hfun=0x56283d <cmd_error>) at eval.c:1499
        val = 0
        c = {
          tag = 12716498, 
          val = 12716498, 
          next = 0x7fffffffdb30, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {0, 1489677322020095289, 4274192, 140737488347408, 0, 
0, 1489677322131244345, -1489676756818950855}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {16957067316890600761, 0, 140737354130504, 13194630, 0, 
9329144, 0, 0, 0, 0, 140737351954612, 140733193388033, 0, 0, 140737265632968, 
140737353862184}
              }
            }}, 
          backlist = 0x0, 
          handlerlist = 0x0, 
          lisp_eval_depth = 0, 
          pdlcount = 2, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0x0
        }
        h = {
          handler = 12768690, 
          var = 12716498, 
          chosen_clause = 12716546, 
          tag = 0x7fffffffd9b0, 
          next = 0x0
        }
#41 0x0000000000562c44 in command_loop_2 (ignore=12716498) at keyboard.c:1158
        val = 0
#42 0x00000000005fe389 in internal_catch (tag=12764482, func=0x562c1e 
<command_loop_2>, arg=12716498) at eval.c:1256
        c = {
          tag = 12764482, 
---Type <return> to continue, or q <return> to quit---
          val = 12716498, 
          next = 0x0, 
          gcpro = 0x0, 
          jmp = {{
              __jmpbuf = {0, 1489677321967666489, 4274192, 140737488347408, 0, 
0, 1489677322062038329, -1489676757153708743}, 
              __mask_was_saved = 0, 
              __saved_mask = {
                __val = {6183610, 144, 4294967296, 0, 0, 12114560, 12744544, 
384, 0, 140737488346128, 12942256, 14, 0, 4274192, 140737488347408, 
140737488346208}
              }
            }}, 
          backlist = 0x0, 
          handlerlist = 0x0, 
          lisp_eval_depth = 0, 
          pdlcount = 2, 
          poll_suppress_count = 1, 
          interrupt_input_blocked = 0, 
          byte_stack = 0x0
        }
#43 0x0000000000562bf7 in command_loop () at keyboard.c:1137
No locals.
#44 0x0000000000562381 in recursive_edit_1 () at keyboard.c:757
        count = 1
        val = 12716498
#45 0x0000000000562524 in Frecursive_edit () at keyboard.c:821
        count = 0
        buffer = 12716498
#46 0x00000000005605e2 in main (argc=1, argv=0x7fffffffe118) at emacs.c:1706
        dummy = 4234711
        stack_bottom_variable = 0 '\000'
        do_initial_setlocale = 1
        skip_args = 0
        rlim = {
          rlim_cur = 8720000, 
          rlim_max = 18446744073709551615
        }
        no_loadup = 0
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x7ffff2b92c80 ""



-- 
Sent from my Emacs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]