bugWeeChat - Bugs: bug #39094, Random crashes while scrolling in...

 
 

bug #39094: Random crashes while scrolling in /iset

Submitted by:  Mantas Mikulėnas <grawity>
Submitted on:  Tue 28 May 2013 12:04:31 PM UTC  
 
Category:  display Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Open/Closed:  Closed
Release:  0.4.1 IRC nick:  grawity

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 30 May 2013 06:18:19 PM UTC, comment #1: 

The bug should be fixed, feedback is welcome.

It was not only with iset.pl, but was happening for some mouse actions in a buffer with free content.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 28 May 2013 12:04:31 PM UTC, original submission:  

So far Weechat has crashed several times while scrolling in /iset using the mouse wheel (that looks like what triggers the bug, although I'm not 100% sure).

This time it actually crashed twice -- once while scrolling, then while printing the debug dump. Backtrace below.

Version: WeeChat 0.4.2-dev (git: v0.4.1-2-g2e43bac)

Reading symbols from /home/grawity/lib/weechat/bin/weechat-curses...done.
[New LWP 8221]
[New LWP 16471]
Cannot access memory at address 0x9
Cannot access memory at address 0x5
(gdb) bt
#0  0xb741e2f4 in ?? ()
#1  0x09f97b0c in ?? ()
#2  0xb743fdd0 in ?? ()
#3  0x09f97bac in ?? ()
#4  0x080ce935 in log_printf (
    message=0x80de814 "    items_content[%03d][%03d]: '%s' (item: '%s', num_lines: %d, refresh_needed: %d)") at /home/grawity/src/weechat/src/core/wee-log.c:142
#5  0x0807c35f in gui_bar_window_print_log (bar_window=0xd92b820)
    at /home/grawity/src/weechat/src/gui/gui-bar-window.c:1556
#6  0x0809b8e2 in gui_window_print_log ()
    at /home/grawity/src/weechat/src/gui/gui-window.c:1850
#7  0x0d92b820 in ?? ()
#8  0x080c0042 in debug_dump (crash=1) at /home/grawity/src/weechat/src/core/wee-debug.c:96
#9  0x080c00f8 in debug_sigsegv () at /home/grawity/src/weechat/src/core/wee-debug.c:151
#10 0xf57fe40c in ?? ()
#11 0x0000000b in ?? ()
#12 0x09f97d4c in ?? ()
#13 0x0807a16c in gui_bar_window_content_build_item (bar_window=0xd92b820, window=0xd6b1fc0,
    index_item=0, index_subitem=1) at /home/grawity/src/weechat/src/gui/gui-bar-window.c:569
#14 0x0807a32f in gui_bar_window_content_get (bar_window=0xd92b820, window=0xd6b1fc0,
    index_item=0, index_subitem=1) at /home/grawity/src/weechat/src/gui/gui-bar-window.c:627
#15 0x0807a4fa in gui_bar_window_content_get_with_filling (bar_window=0xd92b820,
    window=0xd6b1fc0) at /home/grawity/src/weechat/src/gui/gui-bar-window.c:695
#16 0x08063f8e in gui_bar_window_draw (bar_window=0xd92b820, window=0xd6b1fc0)
    at /home/grawity/src/weechat/src/gui/curses/gui-curses-bar-window.c:442
#17 0x080720e7 in gui_bar_draw (bar=0x9c5f248)
    at /home/grawity/src/weechat/src/gui/gui-bar.c:635
#18 0x0806c885 in gui_main_refreshs ()
    at /home/grawity/src/weechat/src/gui/curses/gui-curses-main.c:274
#19 0x0806cacb in gui_main_loop ()
    at /home/grawity/src/weechat/src/gui/curses/gui-curses-main.c:372
#20 0x080a2027 in main (argc=5, argv=0xbfdcf7b4)
    at /home/grawity/src/weechat/src/core/weechat.c:519
(gdb)

Full backtrace:

(gdb) bt full
#0  0xb741e2f4 in ?? ()
No symbol table info available.
#1  0x09f97b0c in ?? ()
No symbol table info available.
#2  0xb743fdd0 in ?? ()
No symbol table info available.
#3  0x09f97bac in ?? ()
No symbol table info available.
#4  0x080ce935 in log_printf (
    message=0x80de814 "    items_content[%03d][%03d]: '%s' (item: '%s', num_lines: %d, refresh_needed: %d)") at /home/grawity/src/weechat/src/core/wee-log.c:142
        ptr_buffer = 0xdc16a80 ""
        seconds = 0
        date_tmp = 0x9f97cc8
        argptr = 0x9f97c84 ""
        vaa_size = 1024
        vaa_num = 216
        vbuffer = 0xdc169a8 "    items_content[000][001]: '.F16buffers.color.whitelist_message_fg.bF: .F@00247message color of whitelist buffer name.bD [.bFdefault: .bD\".F05default.bD\".bD]' (item: 'isetbar_help', num_lines: 1, re"...
        vaa_buffer2 = 0x0
#5  0x0807c35f in gui_bar_window_print_log (bar_window=0xd92b820)
    at /home/grawity/src/weechat/src/gui/gui-bar-window.c:1556
        i = 0
        j = 1
#6  0x0809b8e2 in gui_window_print_log ()
    at /home/grawity/src/weechat/src/gui/gui-window.c:1850
        ptr_window = 0x0
        ptr_scroll = 0xb7538ff4
        ptr_bar_win = 0x7dd
#7  0x0d92b820 in ?? ()
No symbol table info available.
#8  0x080c0042 in debug_dump (crash=1) at /home/grawity/src/weechat/src/core/wee-debug.c:96
No locals.
#9  0x080c00f8 in debug_sigsegv () at /home/grawity/src/weechat/src/core/wee-debug.c:151
No locals.
#10 0xf57fe40c in ?? ()
No symbol table info available.
#11 0x0000000b in ?? ()
No symbol table info available.
#12 0x09f97d4c in ?? ()
No symbol table info available.
#13 0x0807a16c in gui_bar_window_content_build_item (bar_window=0xd92b820, window=0xd6b1fc0,
    index_item=0, index_subitem=1) at /home/grawity/src/weechat/src/gui/gui-bar-window.c:569
No locals.
#14 0x0807a32f in gui_bar_window_content_get (bar_window=0xd92b820, window=0xd6b1fc0,
    index_item=0, index_subitem=1) at /home/grawity/src/weechat/src/gui/gui-bar-window.c:627
No locals.
#15 0x0807a4fa in gui_bar_window_content_get_with_filling (bar_window=0xd92b820,
    window=0xd6b1fc0) at /home/grawity/src/weechat/src/gui/gui-bar-window.c:695
        filling = GUI_BAR_FILLING_HORIZONTAL
        ptr_content = 0xdcc1b10 "\031F16buffers.color.whitelist_message_fg\031bF: \031F@00247message color of whitelist buffer name\031bD [\031bFdefault: \031bD\"\031F05default\031bD\"\031bD]"
        content = 0xd4c3040 "\034\031bi\031F16buffers.color.whitelist_message_fg\031bF: \031F@00247message color of whitelist buffer name\031bD [\031bFdefault: \031bD\"\031F05default\031bD\"\031bD]"
        content2 = 0xd4c3040 "\034\031bi\031F16buffers.color.whitelist_message_fg\031bF: \031F@00247message color of whitelist buffer name\031bD [\031bFdefault: \031bD\"\031F05default\031bD\"\031bD]"
        str_reinit_color = "\034\000a\267\003\000\000\000\354\206^\267\230\364ܿ\204M\307\r\350\335\305\r\226\301D\267@\000\000"
        str_reinit_color_space = "\034 \000\267\000\000\000\000\226\301D\267\230\364ܿ\262\003`\267`\250\340\t\000\000\000\000>\000\000"
        str_reinit_color_space_start_line = "\034 \031bl\000\000\000\001\000\000\000l\363ܿ@\000\000\000\000\000\000\000?\000\000\000X\363ܿ"
        str_start_item = "\031bi\000\003\000\000\000\364\257a\267\003\000\000\000\221\326`\267\001\000\000\000\003\000\000\000 \000\000"
        item_value = 0xdddddd0 "\370\356\335\rp\244S\267ers.color.whitelist_message_fg\031bF: \031F@00247message color of whitelist buffer name\031bD [\031bFdefault: \031bD\"\031F05default\031bD\"\031bD\210"
        item_value2 = 0xdddddd0 "\370\356\335\rp\244S\267ers.color.whitelist_message_fg\031bF: \031F@00247message color of whitelist buffer name\031bD [\031bFdefault: \031bD\"\031F05default\031bD\"\031bD\210"
        split_items = 0x5e
        linear_items = 0x3e
        index_content = -1220216803
        content_length = 135
        i = 0
        j = -1076038504
        k = -1218541844
        sub = 1
        index = 134721574
        at_least_one_item = 1
        first_sub_item = 0
        length_reinit_color_space = 2
        length_start_item = 3
        length = 0
        max_length = -1076038236
        max_length_screen = -955450368
        total_items = 165705952
        columns = -1220216803
        lines = -1076038760
#16 0x08063f8e in gui_bar_window_draw (bar_window=0xd92b820, window=0xd6b1fc0)
    at /home/grawity/src/weechat/src/gui/curses/gui-curses-bar-window.c:442
        x = 93
        y = 0
        items_count = 1
        num_lines = 135026221
        line = 1
        filling = GUI_BAR_FILLING_HORIZONTAL
        content = 0xd6a9ab8 "ФS\267ФS\267*message_fg*\031F00 | 3 | alt + space: toggle, +/-: increase/decrease, enter: change, ir: reset, iu: unset, v: toggle help bar | Mouse: left: select, right: toggle/set, right + drag left/right: i"...
        items = 0xd396d30
        str_start_input = "z\000@\000{\000@\000|\000@\000}\000@"
        str_start_input_hidden = "\177\000@\000\377\177\000\000\000\000\000\000\031b_"
        str_cursor = "\000\000\000\000\000\000\000\000\003\000\000\000\031b-"
        pos_start_input = 0x0
        pos_after_start_input = 0xbfdcf458 "\210\364ܿ\331U\f\b\001"
        pos_cursor = 0xbfdcf488 "\001"
        buf = 0xb753a3c0 ""
        new_start_input = 0xbfdcf5a4 ""
        ptr_string = 0x9c42068 ">>"
        length_start_input = 4194430
        length_start_input_hidden = 0
        length_on_screen = 163888968
        chars_available = -1076038236
        index = 2
        size = -1219260428
        length_screen_before_cursor = 1
        length_screen_after_cursor = 0
        diff = 229708104
        max_length = 135312514
        optimal_number_of_lines = 0
        some_data_not_displayed = 1
        separator_horizontal = 135026137
        separator_vertical = -1076038520
        index_item = -1
        index_subitem = -1
        index_line = 0
#17 0x080720e7 in gui_bar_draw (bar=0x9c5f248)
    at /home/grawity/src/weechat/src/gui/gui-bar.c:635
        ptr_win = 0xd6b1fc0
        ptr_bar_win = 0xd92b820
#18 0x0806c885 in gui_main_refreshs ()
    at /home/grawity/src/weechat/src/gui/curses/gui-curses-main.c:274
        ptr_win = 0x0
        ptr_buffer = 0x0
        ptr_bar = 0x9c5f248
#19 0x0806cacb in gui_main_loop ()
    at /home/grawity/src/weechat/src/gui/curses/gui-curses-main.c:372
        hook_fd_keyboard = 0xab74e18
        tv_timeout = {tv_sec = 0, tv_usec = 0}
        read_fds = {fds_bits = {0 <repeats 32 times>}}
        write_fds = {fds_bits = {0 <repeats 32 times>}}
        except_fds = {fds_bits = {0 <repeats 32 times>}}
        max_fd = 81
        ready = 0
#20 0x080a2027 in main (argc=5, argv=0xbfdcf7b4)
    at /home/grawity/src/weechat/src/core/weechat.c:519
No locals.

Mantas Mikulėnas <grawity>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by grawity (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-06 flashcode Open/ClosedOpen => Closed
    2013-07-20 flashcode StatusReady For Test => Fixed
    2013-05-30 flashcode CategoryNone => display
        Item GroupNone => crash
        StatusNone => Ready For Test
        Assigned toNone => flashcode
        Release2.4-dev => 0.4.1

    Back to the top


    Powered by Savane 3.5