Opened 9 years ago

Last modified 5 years ago

#9333 new defect

pidgin crashes during "view log"

Reported by: vasiok Owned by: EionRobb
Milestone: Component: unclassified
Version: 2.5.6 Keywords:
Cc:

Description

Trying to search for some keyword in "view log" window. It crashes. it's running on OpenBSD -current. It happens even when no plugins are enabled.

(gdb) handle SIGPIPE nostop noprint
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        No      Yes             Broken pipe
(gdb) run
Starting program: /usr/obj/ports/pidgin-2.5.6/build-amd64/pidgin/.libs/pidgin 

Program received signal SIGSEGV, Segmentation fault.
[Switching to process 30021, thread 0x20fc06000]
0x000000020a8ded23 in g_utf8_prev_char () from /usr/local/lib/libglib-2.0.so.1800.1
(gdb) bt full
#0  0x000000020a8ded23 in g_utf8_prev_char () from /usr/local/lib/libglib-2.0.so.1800.1
No symbol table info available.
#1  0x00000000004a74cf in g_utf8_strrcasestr (haystack=0x201cd4200 "(13:13:18) AronStellman: i say if detroit loses this game, pens will have the trophey\n", needle=0x220e80950 "every") at /usr/obj/ports/pidgin-2.5.6/pidgin-2.5.6/pidgin/gtksourceiter.c:165
        needle_len = 5
        haystack_len = 86
        ret = (const gchar *) 0x0
        p = (gchar *) 0x209eea000 "(13:13:18) aronstellman: i say if detroit loses this game, pens will have the trophey\n"
        casefold = (gchar *) 0x201cd4d80 "(13:13:18) aronstellman: i say if detroit loses this game, pens will have the trophey\n"
        caseless_haystack = (gchar *) 0x209eea000 "(13:13:18) aronstellman: i say if detroit loses this game, pens will have the trophey\n"
        i = 0
#2  0x00000000004a7ec0 in backward_lines_match (start=0x7f7ffffd3530, lines=0x220e80810, visible_only=1, slice=1, match_start=0x7f7ffffd3590, match_end=0x7f7ffffd34d0) at /usr/obj/ports/pidgin-2.5.6/pidgin-2.5.6/pidgin/gtksourceiter.c:413
        line = {dummy1 = 0x2070c6100, dummy2 = 0x203215980, dummy3 = 0, dummy4 = 0, dummy5 = -1, dummy6 = -1, dummy7 = -11136358, dummy8 = -620199906, dummy9 = 0x204682600, dummy10 = 0x204682600, dummy11 = 0, dummy12 = 0, dummy13 = 833333507, dummy14 = 0x20469ce80}
        next = {dummy1 = 0x2070c6100, dummy2 = 0x2032155c0, dummy3 = 0, dummy4 = 0, dummy5 = -1, dummy6 = -1, dummy7 = -11136358, dummy8 = -620199906, dummy9 = 0x204682080, dummy10 = 0x204682080, dummy11 = 0, dummy12 = 0, dummy13 = 833333507, dummy14 = 0x20469ce80}
        line_text = (gchar *) 0x201cd4200 "(13:13:18) AronStellman: i say if detroit loses this game, pens will have the trophey\n"
        found = (const gchar *) 0x0
        offset = 32639
#3  0x00000000004a8b82 in gtk_source_iter_backward_search (iter=0x7f7ffffd36a0, str=0x2070c8120 "every", flags=5, match_start=0x7f7ffffd36a0, match_end=0x7f7ffffd3650, limit=0x0) at /usr/obj/ports/pidgin-2.5.6/pidgin-2.5.6/pidgin/gtksourceiter.c:726
        end = {dummy1 = 0x7f7ffffd3560, dummy2 = 0x20269cade, dummy3 = 118251776, dummy4 = 2, dummy5 = 175814016, dummy6 = 2, dummy7 = -1, dummy8 = 0, dummy9 = 0x5c0000115e, dummy10 = 0xdb088012ff56129a, dummy11 = 0, dummy12 = 0, dummy13 = 0, 
  dummy14 = 0xffffd8f0ffffd8f0}
        lines = (gchar **) 0x220e80810
        match = {dummy1 = 0x0, dummy2 = 0xffffd8f0ffffd8f0, dummy3 = 833333507, dummy4 = 1023722291, dummy5 = 74043008, dummy6 = 2, dummy7 = 118251776, dummy8 = 2, dummy9 = 0x209078740, dummy10 = 0x1b0000001b, dummy11 = -1, dummy12 = -1, dummy13 = -11136358, 
  dummy14 = 0x0}
        retval = 0
        search = {dummy1 = 0x2070c6100, dummy2 = 0x203215980, dummy3 = 0, dummy4 = 0, dummy5 = -1, dummy6 = -1, dummy7 = -11136358, dummy8 = -620199906, dummy9 = 0x204682600, dummy10 = 0x204682600, dummy11 = 0, dummy12 = 0, dummy13 = 833333507, dummy14 = 0x20469ce80}
        visible_only = 1
        slice = 1
#4  0x0000000000479098 in gtk_imhtml_search_find (imhtml=0x2055bdc00, text=0x2070c8100 "every") at /usr/obj/ports/pidgin-2.5.6/pidgin-2.5.6/pidgin/gtkimhtml.c:4024
        iter = {dummy1 = 0x2070c6100, dummy2 = 0x20a7ab580, dummy3 = -1, dummy4 = 0, dummy5 = 4446, dummy6 = -1, dummy7 = -11136358, dummy8 = -620199918, dummy9 = 0x0, dummy10 = 0x0, dummy11 = -10000, dummy12 = -10000, dummy13 = 833333507, dummy14 = 0x20469ce80}
        start = {dummy1 = 0x2070c6100, dummy2 = 0x209078740, dummy3 = 27, dummy4 = 27, dummy5 = -1, dummy6 = -1, dummy7 = -11136358, dummy8 = -620199918, dummy9 = 0x0, dummy10 = 0x0, dummy11 = -10000, dummy12 = -10000, dummy13 = 833333507, dummy14 = 0x20469ce80}
        end = {dummy1 = 0x2070c6100, dummy2 = 0x209078740, dummy3 = 32, dummy4 = 32, dummy5 = -1, dummy6 = -1, dummy7 = -11136358, dummy8 = -620199918, dummy9 = 0x0, dummy10 = 0x0, dummy11 = -10000, dummy12 = -10000, dummy13 = 833333507, dummy14 = 0x20469ce80}
        new_search = 1
        start_mark = (GtkTextMark *) 0x209099c20
#5  0x0000000000483cd0 in search_find_cb (data=0x208066680) at /usr/obj/ports/pidgin-2.5.6/pidgin-2.5.6/pidgin/gtklog.c:425
        viewer = (PidginLogViewer *) 0x208066680
#6  0x000000020a8b98fe in g_child_watch_add () from /usr/local/lib/libglib-2.0.so.1800.1
No symbol table info available.
#7  0x000000020a8b69c3 in g_source_is_destroyed () from /usr/local/lib/libglib-2.0.so.1800.1
No symbol table info available.
#8  0x000000020a8b7a08 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.1800.1
No symbol table info available.
#9  0x000000020a8b7cdc in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.1800.1
No symbol table info available.
#10 0x000000020a8b81d9 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.1800.1
No symbol table info available.
#11 0x0000000202608be1 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.so.1400.1
No symbol table info available.
#12 0x0000000000486329 in main (argc=1, argv=0x7f7ffffd3f88) at /usr/obj/ports/pidgin-2.5.6/pidgin-2.5.6/pidgin/gtkmain.c:885
        opt_help = 0
        opt_login = 0
        opt_nologin = 0
        opt_nocrash = 0
        opt_version = 0
        opt_si = 1
        opt_config_dir_arg = 0x0
        opt_login_arg = 0x0
        opt_session_arg = 0x0
        search_path = 0x2030f4540 "/purple/logging/format"
        accounts = (GList *) 0x0
        sig_indx = 1
        sigset = 541703
        prev_sig_disp = (void (*)(int)) 0x1
        errmsg = "ÿÿÿÿ\000\000\000\000\000\000\000\000\002", '\0' <repeats 11 times>, " \004Ø\a\002\000\000\000\000`À\017\002\000\000\000@ßÇ\a\002\000\000\000Ñ# \n\002\000\000\000G\002\000\000\000\000\000\000`.a\a\002", '\0' <repeats 11 times>, "\200\000\000\000\000\000\000\000 \004Ø\a\002\000\000\000@ßÇ\a\002\000\000\000à\000\000\000\000\000\000\000`.a\a\002\000\000\000\000`À\017\002\000\000\000\006\002\000\000\000\000\000\000\2000#\f \000\000\0000\031À\017\002\000\000\000@C\023\a\002\000\000\000µØ\006\000\000\000\000\0000", '\0' <repeats 15 times>, "\2000#\f\002\000\000\000+@ \n\002\000\000\0008<ýÿ\177\177\000"...
        segfault_message_tmp = 0x20d33b400 "`6¸\001\002"
        error = (GError *) 0x0
        opt = -1
        gui_check = 1
        debug_enabled = 0
        migration_failed = 0
        active_accounts = (GList *) 0x20be0eac0
        long_options = {{name = 0x5d19fb "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x5d1a02 "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x5d1a08 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x5d1a0d "login", has_arg = 2, flag = 0x0, 
    val = 108}, {name = 0x5d1a13 "multiple", has_arg = 0, flag = 0x0, val = 109}, {name = 0x5d1a1c "nologin", has_arg = 0, flag = 0x0, val = 110}, {name = 0x5d1a24 "nocrash", has_arg = 0, flag = 0x0, val = 120}, {name = 0x5d1a2c "session", has_arg = 1, flag = 0x0, 
    val = 115}, {name = 0x5d170a "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x5d1a34 "display", has_arg = 1, flag = 0x0, val = 68}, {name = 0x5d1a3c "sync", has_arg = 0, flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
(gdb) 

Change History (1)

comment:1 Changed 5 years ago by rekkanoryo

  • Owner changed from rekkanoryo to EionRobb
Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!