bugWeeChat - Bugs: bug #39419, SIGSEGV on startup

 
 

bug #39419: SIGSEGV on startup

Submitter:  None
Submitted:  Sun 07 Jul 2013 06:50:05 AM UTC
   
 
Category:  core commands Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Jason Originator Email:  * -email is unavailable-
Open/Closed:  Closed Release:  * 0.4.1
IRC nick:  JustAPerson
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 08 Jul 2013 01:54:11 PM UTC, comment #6: 

Sorry, commit 3744787ec01660f903228423f2281ef056f15784 does in fact fix the problem.

I built and installed WeeChat from a second shell and then tested it back the first shell. For some reason an older version was still being used. Once I ensured that the right version of WeeChat was being used, the bug no longer occurs.

Anonymous
Mon 08 Jul 2013 07:39:06 AM UTC, comment #5: 

Please double check that you are using latest git, weechat-curses -h should show: v0.4.1-70-g3744787 (or command /v in WeeChat), if you compiled from the directory with git repository.

For me, the problem is fixed when I used such condition in a bar (and a crash happened before the commit).

Sebastien Helleu <flashcode>
Group administrator
Mon 08 Jul 2013 07:02:52 AM UTC, comment #4: 

The problem with using "${buffer.title}" in a condition still persists even after this commit 3744787ec01660f903228423f2281ef056f15784

WeeChat still crashes upon startup.

Here is the WeeChat backtrace:
======= WeeChat backtrace =======
(written by WeeChat 0.4.2-dev, compiled on Jul  2 2013 20:03:27)
001  /home/jason/prog/src/weechat/src/core/wee-debug.c:404 [function debug_hdata_map_cb]
002  /home/jason/prog/src/weechat/src/core/wee-command.c:3962 [function command_proxy_list]
003  ??:0 [function ??]
004  ??:0 [function ??]
005  ??:0 [function ??]
006  /home/jason/prog/src/weechat/src/core/wee-command.c:4273 [function command_repeat_timer_cb]
007  /home/jason/prog/src/weechat/src/core/wee-command.c:4334 [function command_repeat]
008  /home/jason/prog/src/weechat/src/core/wee-config-file.c:1325 [function config_file_option_set]
009  /home/jason/prog/src/weechat/src/core/wee-command.c:4419 [function command_save]
010  /home/jason/prog/src/weechat/src/core/wee-command.c:4494 (discriminator 23) [function command_set_display_option]
011  /home/jason/prog/src/weechat/src/core/wee-command.c:4494 (discriminator 30) [function command_set_display_option]
012  /home/jason/prog/src/weechat/src/core/wee-command.c:4537 (discriminator 20) [function command_set_display_option]
013  /home/jason/prog/src/weechat/src/gui/curses/gui-curses-window.c:1161 (discriminator 1) [function gui_window_switch_to_buffer]
014  /home/jason/prog/src/weechat/src/gui/gui-bar-item.c:792 [function gui_bar_item_default_input_text]
015  /home/jason/prog/src/weechat/src/gui/curses/gui-curses-mouse.c:335 [function gui_mouse_event_code2key]
016  /home/jason/prog/src/weechat/src/gui/gui-bar-window.c:476 [function gui_bar_window_content_alloc]
addr2line: '0x54fb4': No such file
addr2line: '0x55ea7': No such file
addr2line: '0x10170': No such file
020  /home/jason/prog/src/weechat/src/gui/gui-key.c:1387 [function gui_key_buffer_optimize]
021  /home/jason/prog/src/weechat/src/core/wee-config-file.c:3157 (discriminator 1) [function config_file_print_log]
022  /home/jason/prog/src/weechat/src/gui/gui-key.c:629 [function gui_key_new]
023  /home/jason/prog/src/weechat/src/gui/gui-key.c:1788 [function gui_key_hdata_key_cb]
024  /home/jason/prog/src/weechat/src/gui/curses/gui-curses-bar-window.c:133 [function gui_bar_window_create_win]
025  ??:0 [function ??]
026  /home/jason/prog/src/weechat/src/gui/curses/gui-curses-bar-window.c:181 [function gui_bar_window_print_string]
======= End of  backtrace =======
Aborted (core dumped)

When I attempt to run WeeChat under GDB in order to get a full backtrace, the problem does not occur.

Furthermore, when I attempt to use the core dump generated from the original crash, I get a completely different backtrace and a different signal (6, ABORT) causing the termination.
GDB full backtrace from core dump:
(gdb) bt full
#0  0x00007fe817335037 in ?? ()
No symbol table info available.
#1  0x00007fe817338698 in ?? ()
No symbol table info available.
#2  0x0000000000000020 in ?? ()
No symbol table info available.
#3  0x0000000000000000 in ?? ()
No symbol table info available.

I have attached the most recent weechat_crash.log

(file #28509)

Anonymous
Sun 07 Jul 2013 06:31:06 PM UTC, comment #3: 

#0  0x00007ffff69aac51 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007ffff69aa8c6 in strdup () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x0000000000488574 in eval_hdata_get_value (hdata=0xb2f520, pointer=0xd9a3a0, path=0xd9b527 "title") at /home/jason/prog/src/weechat/src/core/wee-eval.c:129
        value = 0x0
        old_value = 0xd9b220 "buffer"
        var_name = 0xd9b560 "title"
        str_value = "@\265\331\000\000\000\000\000 \260\331\000\000\000\000\000~\227\262\214v\005\000\000F\265\331\000\000\000\000\000p\304\377\377\377\177\000\000\021\242H\000\000\000\000\000@\265\331", '\000' <repeats 13 times>, "@\265\331\000\000\000\000\000 \260\331\000\000\000\000\000\240\304\377\377\036\000\000\000\340\261\331\000\000\000\000\000\240\304\377\377\377\177\000\000J\242H\000\000\000\000\000@\265\331\000\000\000\000\000 \260\331\000\000\000\000"
        pos = 0x0
        ptr_value = 0x4899b8 <hashtable_keycmp_default_cb+131> "\211E\374\353hH\213E\340H;E\330s\t\307E\374\377\377\377\377\353QH\213E\340H;E\330vG\307E\374\001"
        hdata_name = 0x7ffff26f6c30 ""
        type = 4
        hashtable = 0x7fffffffc430
#3  0x0000000000488d4d in eval_replace_vars_cb (data=0x7fffffffc630, text=0xd9b520 "buffer.title") at /home/jason/prog/src/weechat/src/core/wee-eval.c:322
        pointers = 0xd9b020
        extra_vars = 0xd9b240
        ptr_option = 0x0
        ptr_buffer = 0xd9a3a0
        str_value = "\000\000\000\000\000\000\000\000\200E\232\366\377\177\000\000\020\000\000\000\000\000\000\000\340\344\377\377\000\000\000\000\200\305\377\377\377\177\000\000i\317I\000\000\000\000\000\000\000\000\000\f\000\000\000\342\264\331\000\000\000\000"
        value = 0x0
        pos = 0xd9b526 ".title"
        pos1 = 0x0
        pos2 = 0x0
        hdata_name = 0xd9b540 "buffer"
        list_name = 0x0
        tmp = 0x7fffffffe5f0 "\002"
        ptr_value = 0x0
        hdata = 0xb2f520
        pointer = 0xd9a3a0
#4  0x00000000004a0a3c in string_replace_with_callback (string=0xd9b4e0 "${buffer.title}", callback=0x48890a <eval_replace_vars_cb>, callback_data=0x7fffffffc630, errors=0x7fffffffc62c)
    at /home/jason/prog/src/weechat/src/core/wee-string.c:2071
        length = 16
        length_value = 32767
        index_string = 0
        index_result = 0
        result = 0xd9b500 ""
        result2 = 0x0
        key = 0xd9b520 "buffer.title"
        value = 0x7fffffffe5f0 "\002"
        pos_end_name = 0xd9b4ee "}"
#5  0x0000000000488dff in eval_replace_vars (expr=0xd9b4e0 "${buffer.title}", pointers=0xd9b020, extra_vars=0xd9b240) at /home/jason/prog/src/weechat/src/core/wee-eval.c:347
        errors = 0
        ptr = {0xd9b020, 0xd9b240}
#6  0x000000000048966f in eval_expression_internal (expr=0xd9b4c0 "${buffer.title}", pointers=0xd9b020, extra_vars=0xd9b240, keep_parentheses=0)
    at /home/jason/prog/src/weechat/src/core/wee-eval.c:641
        logic = 2
        comp = 8
        length = 0
        level = 0
        rc = 0
        pos_end = 0xd9b4ce "}"
        expr2 = 0xd9b4e0 "${buffer.title}"
        sub_expr = 0x49cf69 <string_strndup+105> "\213E\344Hc\320H\213E\370H\001\320", <incomplete sequence \306>
        pos = 0x0
        value = 0x0
        tmp_value = 0xf00000009 <Address 0xf00000009 out of bounds>
        tmp_value2 = 0xd9aeb0 "${buffer.title} !~ ^[^#]+mon"
#7  0x000000000048959f in eval_expression_internal (expr=0x70f1f0 "${buffer.title} !~ ^[^#]+mon", pointers=0xd9b020, extra_vars=0xd9b240, keep_parentheses=0)
    at /home/jason/prog/src/weechat/src/core/wee-eval.c:618
        logic = 2
        comp = 7
        length = 14267512
        level = 0
        rc = 0
        pos_end = 0xd9aebe "} !~ ^[^#]+mon"
        expr2 = 0xd9aeb0 "${buffer.title} !~ ^[^#]+mon"
        sub_expr = 0xd9b4c0 "${buffer.title}"
        pos = 0xd9aec0 "!~ ^[^#]+mon"
        value = 0x0
        tmp_value = 0x7fffffffc780 "\320\307\377\377\377\177"
        tmp_value2 = 0x48a28e <hashtable_has_key+40> "H\205\300\017\225\300\017\266\300\311\303UH\211\345H\203\354\020\211}\374H\211u\360\203}\374\005\017\207\215"
#8  0x00000000004897f6 in eval_expression (expr=0x70f1f0 "${buffer.title} !~ ^[^#]+mon", pointers=0xd9b020, extra_vars=0xd9b240) at /home/jason/prog/src/weechat/src/core/wee-eval.c:736
        pointers_created = 0
        extra_vars_created = 0
        value = 0xd9b240 " "
        window = 0x4a9888
#9  0x000000000042e9fa in gui_bar_check_conditions_for_window (bar=0x70e820, window=0xb208b0) at /home/jason/prog/src/weechat/src/gui/gui-bar.c:429
        rc = 32767
        str_modifier = "\320\310\377\377\377\177\000\000\321PJ\000\000\000\000\000@\000\000\000\000\000\000\000\020Q\327", '\000' <repeats 13 times>, "p\000\000\000\001\000\000\000@", '\000' <repeats 47 times>, "\002\000\000\000\060\000\000\000[\000\000\000n\000\000\000w\000\000\000|\000\000\000\060\311\377\377\377\177\000\000P\311\377\377\377\177\000\000\246C\235\366\377\177\000\000`\311\377\377\377\177\000\000i\024H\000\000\000\000\000@", '\000' <repeats 31 times>, "irc.free"...
        str_window = '\000' <repeats 16 times>, "\200\312\377\377\377\177\000\000\b֖\362\377\177\000\000\360\345\377\377\377\177\000\000\260|\327", '\000' <repeats 14 times>, "\375\261\000\000\000\000\000server.freenode\000\000\000\000\000\000\000\000\000\020a\327\000\000\000\000\000\020Q\327\000\000\000\000\000\240\310\377\377\377\177\000\000\346QJ\000\000\000\000\000\020Q\327\000\000\000\000"
        str_displayed = 0x0
        result = 0x2ffffc830 <Address 0x2ffffc830 out of bounds>
        conditions = 0x70f1f0 "${buffer.title} !~ ^[^#]+mon"
        pointers = 0xd9b020
        extra_vars = 0xd9b240
#10 0x000000000043a265 in gui_bar_window_remove_unused_bars (window=0xb208b0) at /home/jason/prog/src/weechat/src/gui/gui-bar-window.c:1294
        rc = 0
        ptr_bar_win = 0xb20a20
        next_bar_win = 0xcb3930
#11 0x000000000042bb0d in gui_window_switch_to_buffer (window=0xb208b0, buffer=0xd9a3a0, set_last_read=0) at /home/jason/prog/src/weechat/src/gui/curses/gui-curses-window.c:1120
        ptr_bar_window = 0x4ab411
        old_buffer = 0xb1fd00
#12 0x000000000043dc6e in gui_buffer_set (buffer=0xd9a3a0, property=0x7ffff2988ed6 "display", value=0x7ffff2988ed1 "auto") at /home/jason/prog/src/weechat/src/gui/gui-buffer.c:1524
        number = 4294960352
        error = 0x40 <Address 0x40 out of bounds>
#13 0x00007ffff296e61d in irc_server_connect (server=0xd77cb0) at /home/jason/prog/src/weechat/src/plugins/irc/irc-server.c:3752
        length = 0
        option_name = 0x0
        proxy_type = 0x0
        proxy_ipv6 = 0x0
        proxy_address = 0xd9a310
        proxy_port = 0x7fffffffcb50
        proxy = 0xd <Address 0xd out of bounds>
        str_proxy_type = 0x48d428 <hook_add_to_list+50> "H\211E\370H\203", <incomplete sequence \370>
        str_proxy_address = 0xe <Address 0xe out of bounds>
#14 0x00007ffff296f9ef in irc_server_auto_connect (auto_connect=1) at /home/jason/prog/src/weechat/src/plugins/irc/irc-server.c:3979
        ptr_server = 0xd77cb0
#15 0x00007ffff29120f3 in weechat_plugin_init (plugin=0xd6a3d0, argc=0, argv=0x0) at /home/jason/prog/src/weechat/src/plugins/irc/irc.c:239
        i = 0
        auto_connect = 1
        upgrading = 0
#16 0x0000000000460aa8 in plugin_load (filename=0xd68dd0 "/home/jason/prog/src/weechat/build/src/plugins/irc/irc.so", argc=0, argv=0x0)
    at /home/jason/prog/src/weechat/src/plugins/plugin.c:828
        handle = 0xd69f00
        name = 0x7ffff2b92bc0 <weechat_plugin_name> "irc"
        api_version = 0x7ffff2b92bc4 <weechat_plugin_api_version> "20130421-01"
        author = 0x7ffff2b92c20 <weechat_plugin_author> "Sebastien Helleu <flashcode@flashtux.org>"
        description = 0x7ffff2b92be0 <weechat_plugin_description> "IRC (Internet Relay Chat) protocol"
        version = 0x7ffff2b92c4a <weechat_plugin_version> "0.4.2-dev"
        license = 0x7ffff2b92c54 <weechat_plugin_license> "GPL3"
        charset = 0x0
        init_func = 0x7ffff2911c18 <weechat_plugin_init>
        rc = 0
        i = 32767
        plugin_argc = 0
        plugin_argv = 0x0
        new_plugin = 0xd6a3d0
        ptr_option = 0x0
#17 0x00000000004705ac in command_plugin (data=0x0, buffer=0xb1fd00, argc=3, argv=0xd694a0, argv_eol=0xd69470) at /home/jason/prog/src/weechat/src/core/wee-command.c:3898
        plugin_argc = 0
        plugin_argv = 0x0
        full_name = 0xd68dd0 "/home/jason/prog/src/weechat/build/src/plugins/irc/irc.so"
#18 0x000000000048e608 in hook_command_exec (buffer=0xb1fd00, any_plugin=1, plugin=0x0, string=0xd5cb30 "/plugin load ~/prog/src/weechat/build/src/plugins/irc/irc.so")
    at /home/jason/prog/src/weechat/src/core/wee-hook.c:774
        ptr_hook = 0x6e8c70
        next_hook = 0x0
        hook_plugin = 0x6e8c70
        hook_other_plugin = 0x0
        hook_other_plugin2 = 0x0
        argv = 0xd694a0
        argv_eol = 0xd69470
        ptr_command_name = 0xd69ee1 "plugin"
        argc = 3
        rc = -1
        count_other_plugin = 0
#19 0x0000000000497373 in input_exec_command (buffer=0xb1fd00, any_plugin=1, plugin=0x0, string=0xd671f0 "/plugin load ~/prog/src/weechat/build/src/plugins/irc/irc.so")
    at /home/jason/prog/src/weechat/src/core/wee-input.c:91
        rc = 0
        command = 0xd5cb30 "/plugin load ~/prog/src/weechat/build/src/plugins/irc/irc.so"
        pos = 0xd5cb6b "o"
        ptr_args = 0x0
#20 0x00000000004977f6 in input_data (buffer=0xb1fd00, data=0xd68d60 "/plugin load ~/prog/src/weechat/build/src/plugins/irc/irc.so")
    at /home/jason/prog/src/weechat/src/core/wee-input.c:211
        pos = 0x0
        buf = 0xd69ee0 "/plugin"
        str_buffer = "0xb1fd00\000\344\377\377\000\000\000\000\260\032K\000\000\000\000\000\320\316\377\377\377\177\000\000\346QJ\000\000\000\000\000\340\344\377\377\000\000\000\000\020\317\377\377\377\177\000\000\000\000\000\000\000\000\000\000\360\345\377\377\377\177", '\000' <repeats 18 times>, "\301\004D\000\000\000\000\000\240\224\326\000\000\000\000\000\000\375\261\000\000\000\000\000\060\317\377\377\377\177\000\000\000\375\261\000\000\000\000"
        new_data = 0xd671f0 "/plugin load ~/prog/src/weechat/build/src/plugins/irc/irc.so"
        ptr_data = 0xd671f0 "/plugin load ~/prog/src/weechat/build/src/plugins/irc/irc.so"
        ptr_data_for_buffer = 0x0
        length = 32767
        char_size = -12496
#21 0x000000000044dad0 in gui_input_return (buffer=0xb1fd00) at /home/jason/prog/src/weechat/src/gui/gui-input.c:407
        window = 0xb208b0
        command = 0xd68d60 "/plugin load ~/prog/src/weechat/build/src/plugins/irc/irc.so"
#22 0x000000000046c70e in command_input (data=0x0, buffer=0xb1fd00, argc=2, argv=0xb20ad0, argv_eol=0xd67000) at /home/jason/prog/src/weechat/src/core/wee-command.c:2441
No locals.
#23 0x000000000048e608 in hook_command_exec (buffer=0xb1fd00, any_plugin=1, plugin=0x0, string=0xd4f510 "/input return") at /home/jason/prog/src/weechat/src/core/wee-hook.c:774
        ptr_hook = 0x6e4100
        next_hook = 0x0
        hook_plugin = 0x6e4100
        hook_other_plugin = 0x0
        hook_other_plugin2 = 0x0
        argv = 0xb20ad0
        argv_eol = 0xd67000
        ptr_command_name = 0xd1e4f1 "input"
        argc = 2
        rc = -1
        count_other_plugin = 0
#24 0x0000000000497373 in input_exec_command (buffer=0xb1fd00, any_plugin=1, plugin=0x0, string=0xd1ccf0 "/input return") at /home/jason/prog/src/weechat/src/core/wee-input.c:91
        rc = 0
        command = 0xd4f510 "/input return"
        pos = 0xd4f51c "n"
        ptr_args = 0x0
#25 0x00000000004977f6 in input_data (buffer=0xb1fd00, data=0xd1e2d0 "/input return") at /home/jason/prog/src/weechat/src/core/wee-input.c:211
        pos = 0x0
        buf = 0xd66f70 "\320\342", <incomplete sequence \321>
        str_buffer = "0xb1fd00\000\000\000\000\000\000\000\000\360\345\377\377\377\177", '\000' <repeats 18 times>, "r\370I\000\000\000\000\000b\242m\000;\000\000\000`\330q\000\000\000\000\000\200\321\377\377\377\177\000\000\001\000\000\000\001\000\000\000\r\000\000\000\000\000\000\000\360\314\321\000\000\000\000\000m\330q\000\000\000\000\000po\326\000\000\000\000\000\360\314\321\000\000\000\000\000po\326\000\000\000\000"
        new_data = 0xd1ccf0 "/input return"
        ptr_data = 0xd1ccf0 "/input return"
        ptr_data_for_buffer = 0x0
        length = 0
        char_size = 32
#26 0x0000000000451ff1 in gui_key_pressed (key_str=0x6d83a0 <key_str.10496> "\001M") at /home/jason/prog/src/weechat/src/gui/gui-key.c:1300
        i = 0
        first_key = 1
        context = 0
        length = 0
        length_key = 2
        ptr_key = 0x71d810
        commands = 0xd66f70
        pos = 0x0
#27 0x00000000004280ec in gui_key_flush (paste=0) at /home/jason/prog/src/weechat/src/gui/curses/gui-curses-key.c:415
        i = 0
        key = 13
        last_key_used = -1
        insert_ok = 0
        undo_done = 0
        key_str = "\001M", '\000' <repeats 61 times>
        length_key_str = 2
        key_temp = "\001"
        key_utf = 0x10070e820 <Address 0x10070e820 out of bounds>
        input_old = 0x0
        ptr_char = 0x6d83a0 <key_str.10496> "\001M"
        next_char = 0xb00000000 <Address 0xb00000000 out of bounds>
        ptr_error = 0x1 <Address 0x1 out of bounds>
        utf_partial_char = "\000\322\377\377\377\177\000\000$'E\000\000\000\000"
        old_buffer = 0xb1fd00
#28 0x000000000042864a in gui_key_read_cb (data=0x0, fd=0) at /home/jason/prog/src/weechat/src/gui/curses/gui-curses-key.c:583
        ret = 1
        i = 1
        accept_paste = 0
        cancel_paste = 0
        text_added_to_buffer = 1
        pos = -1
        buffer = "\r\332\377\377\377\177\000\000B\251\226\366\377\177\000\000@\331\377\377\377\177\000\000\344\361\226\366\377\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000B\251\226\366\377\177\000\000x\332\377\377\377\177\000\000\344\361\226\366\377\177\000\000 \000\000\000\060\000\000\000p\331\377\377\377\177\000\000\260\330\377\377\377\177\000\000\001\000\000\000\000\000\000\000\240\331\377\377\377\177\000\000\000\000\000\000\000\000\000\000\260\331\377\377\377\177\000\000\240\331\377\377\377\177\000\000\060f\321\000\000\000\000\000\062f\321\000\000\000\000\000\330\332\377\377\377\177\000\000B\251\226\366\377\177\000\000\000\000\000\000\000\000\000\000\344\361\226\366\377\177\000\000\000\000\000\000\000\000\000\000"...
#29 0x000000000048f5d7 in hook_fd_exec (read_fds=0x7fffffffe360, write_fds=0x7fffffffe3e0, exception_fds=0x7fffffffe460) at /home/jason/prog/src/weechat/src/core/wee-hook.c:1326
        ptr_hook = 0xd161b0
        next_hook = 0x0
#30 0x0000000000428ef0 in gui_main_loop () at /home/jason/prog/src/weechat/src/gui/curses/gui-curses-main.c:384
        hook_fd_keyboard = 0xd161b0
        tv_timeout = {tv_sec = 0, tv_usec = 224917}
        read_fds = {fds_bits = {1, 0 <repeats 15 times>}}
        write_fds = {fds_bits = {0 <repeats 16 times>}}
        except_fds = {fds_bits = {0 <repeats 16 times>}}
        max_fd = 0
        ready = 1
#31 0x0000000000465925 in main (argc=2, argv=0x7fffffffe5f8) at /home/jason/prog/src/weechat/src/core/weechat.c:468
No locals.

Anonymous
Sun 07 Jul 2013 11:21:08 AM UTC, comment #2: 

Hi,

I'm unable to reproduce the crash in my weechat.

Can you try to enable debug for weechat compilation (if not already done), and get a full backtrace with gdb (bt full) ?
So that I can see exactly on which line in source code the problem happens, and the value of variables when it crashes.

Thank you.

Sebastien Helleu <flashcode>
Group administrator
Sun 07 Jul 2013 06:58:31 AM UTC, comment #1: 

My apologies.

Changing ${buffer.title} to ${buffer.name} (as I had originally intended but mistyped) in the relevant bar conditions seems to prevent this issue.

However, a crash resulting from this is still unexpected.

Anonymous
Sun 07 Jul 2013 06:50:05 AM UTC, original submission:  

I first recieved a SIGSEGV when attempting to /join #hurp. Weechat immediately crashed. Upon trying to restart weechat, I recieve the same problem.

Here is the backtrace.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff69aac51 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff69aac51 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff69aa8c6 in strdup () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000000047059a in eval_hdata_get_value ()
#3  0x000000000047086a in eval_replace_vars_cb ()
#4  0x0000000000482645 in string_replace_with_callback ()
#5  0x0000000000470a0f in eval_replace_vars ()
#6  0x0000000000470e43 in eval_expression_internal ()
#7  0x0000000000470eed in eval_expression_internal ()
#8  0x0000000000471147 in eval_expression ()
#9  0x000000000042ba05 in gui_bar_check_conditions_for_window ()
#10 0x00000000004344c4 in gui_bar_window_remove_unused_bars ()
#11 0x00000000004293ac in gui_window_switch_to_buffer ()
#12 0x0000000000437ebb in gui_buffer_set ()
#13 0x00007ffff1579bc0 in irc_server_connect () from /usr/lib/weechat/plugins/irc.so
#14 0x00007ffff157aa77 in irc_server_auto_connect () from /usr/lib/weechat/plugins/irc.so
#15 0x00007ffff1535018 in weechat_plugin_init () from /usr/lib/weechat/plugins/irc.so
#16 0x0000000000451bab in plugin_load ()
#17 0x00000000004868a3 in util_exec_on_files ()
#18 0x0000000000450779 in plugin_auto_load ()
#19 0x000000000045248a in plugin_init ()
#20 0x000000000041e9fc in main ()
(gdb)

From this I believe that is a problem with the condition of one of my bars. I had previously set new conditions only 30-60 minutes prior, and while they worked at the time, they now appear to be causing severe problems.

I have some of the following conditions:
"${buffer.title} !~ ^[^#]+mon"
"${active} && ${buffer.title} !~ ^[^#]+mon"
"${inactive} && ${buffer.title} !~ ^[^#]+mon"
"${active}"
"${inactive}"

Additionally, I have attached the weechat_crash.log

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28509:  weechat_crash_20130708_14843.log added by None (2MiB - text/x-log)
file #28501:  weechat_crash_20130707_13579.log added by None (964KiB - text/x-log)

 

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 None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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-08 None Attached File- Added weechat_crash_20130708_14843.log, #28509
    2013-07-08 flashcode StatusNeed Info Fixed
        Release3.3-dev 0.4.1
    2013-07-07 flashcode StatusNone Need Info
        Assigned toNone flashcode
    2013-07-07 None Attached File- Added weechat_crash_20130707_13579.log, #28501

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code