! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Crash when opening day with repeated event
Status:
CLOSED: FIXED

Comments

Description Christian Weiske 2010-06-24 09:37:03 CEST
I have an event that spans several weeks. When opening a (bold marked) day that is withing the time span, I get a crash.

Attached is the backtrace and full backtrace.

Version of orage is 4.6.1 on Gentoo Linux.

(gdb) bt
#0  0x00007ffff117b315 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff117c811 in *__GI_abort () at abort.c:88
#2  0x00007ffff11b7158 in __libc_message (do_abort=2, fmt=
    0x7ffff1269a18 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#3  0x00007ffff11bc808 in malloc_printerr (action=2, str=0x7ffff1266ce0 "free(): invalid pointer", 
    ptr=<value optimized out>) at malloc.c:6197
#4  0x00007ffff11c124c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3716
#5  0x0000000000417153 in start_time_data_func (col=<value optimized out>, rend=0xb322c0, model=0x6e1800, iter=
    0x7fffffffd860, user_data=<value optimized out>) at event-list.c:306
#6  0x00007ffff6b9b547 in IA__gtk_tree_view_column_cell_set_cell_data (tree_column=0xb32a50, tree_model=
    0x6e1800, iter=0x7fffffffd860, is_expander=0, is_expanded=0) at gtktreeviewcolumn.c:2592
#7  0x00007ffff6b93da3 in validate_row (tree_view=0xb28060, tree=0xb2fb40, node=0xb4d010, iter=0x7fffffffd860, 
    path=<value optimized out>) at gtktreeview.c:5650
#8  0x00007ffff6b956d9 in validate_visible_area (tree_view=0xb28060) at gtktreeview.c:5863
#9  0x00007ffff6b9578c in do_presize_handler (tree_view=0xb28060) at gtktreeview.c:6300
#10 0x00007ffff6b95814 in presize_handler_callback (data=0x13e1) at gtktreeview.c:6322
#11 0x00007ffff62d802a in gdk_threads_dispatch (data=0x77ed80) at gdk.c:506
#12 0x00007ffff14d9093 in g_main_dispatch (context=0x6ac340) at gmain.c:1960
#13 IA__g_main_context_dispatch (context=0x6ac340) at gmain.c:2513
#14 0x00007ffff14dc18c in g_main_context_iterate (context=0x6ac340, block=1, dispatch=1, 
    self=<value optimized out>) at gmain.c:2591
#15 0x00007ffff14dc5b2 in IA__g_main_loop_run (loop=0x99ea60) at gmain.c:2799
#16 0x00007ffff6ab6875 in IA__gtk_main () at gtkmain.c:1218
#17 0x0000000000427836 in main (argc=1, argv=0x7fffffffdbf8) at main.c:491



(gdb) bt full
#0  0x00007ffff117b315 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        pid = <value optimized out>
        selftid = <value optimized out>
#1  0x00007ffff117c811 in *__GI_abort () at abort.c:88
        act = {__sigaction_handler = {sa_handler = 0x7fffffffcb20, sa_sigaction = 0x7fffffffcb20}, sa_mask = {
            __val = {140737488341936, 38654705664, 140737488342000, 140737488346903, 14, 140737239220592, 3, 
    140737488341994, 6, 140737239220596, 2, 140737488341982, 2, 140737239211861, 1, 140737239220592}}, 
          sa_flags = 3, sa_restorer = 0x7fffffffcbe4}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff11b7158 in __libc_message (do_abort=2, fmt=
    0x7ffff1269a18 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
        ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffd540, reg_save_area = 
    0x7fffffffd450}}
        ap_copy = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffd540, reg_save_area = 
    0x7fffffffd450}}
        fd = 9
        on_2 = <value optimized out>
        list = <value optimized out>
        nlist = <value optimized out>
        cp = <value optimized out>
        written = 6
#3  0x00007ffff11bc808 in malloc_printerr (action=2, str=0x7ffff1266ce0 "free(): invalid pointer", 
    ptr=<value optimized out>) at malloc.c:6197
        buf = "0000000000b4e081"
        cp = <value optimized out>
#4  0x00007ffff11c124c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3716
        ar_ptr = 0x7ffff149de60
        p = 0x6
#5  0x0000000000417153 in start_time_data_func (col=<value optimized out>, rend=0xb322c0, model=0x6e1800, iter=
    0x7fffffffd860, user_data=<value optimized out>) at event-list.c:306
        el = 0xae4f54
        stime = 0xb4e081 "00:00 - 24:00+"
        stime2 = <value optimized out>
        start_time = "\340\003x\361\377\177\000\000\200\356{\000\000\000\000\000"
        end_time = "\001\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000"
#6  0x00007ffff6b9b547 in IA__gtk_tree_view_column_cell_set_cell_data (tree_column=0xb32a50, tree_model=
---Type <return> to continue, or q <return> to quit---
    0x6e1800, iter=0x7fffffffd860, is_expander=0, is_expanded=0) at gtktreeviewcolumn.c:2592
        info = 0xb27620
        cell = 0xb322c0
        list = 0x0
        value = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, 
              v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, 
              v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        cell_list = 0x780940 = {0xb27620}
        __PRETTY_FUNCTION__ = "IA__gtk_tree_view_column_cell_set_cell_data"
#7  0x00007ffff6b93da3 in validate_row (tree_view=0xb28060, tree=0xb2fb40, node=0xb4d010, iter=0x7fffffffd860, 
    path=<value optimized out>) at gtktreeview.c:5650
        tmp_width = 11698272
        tmp_height = 0
        column = 0xb32a50
        list = 0x787520 = {0xb32a50, 0xb00270, 0xb003f0, 0xb00570, 0xb006f0, 0xb328d0}
        first_column = 0x787520 = {0xb32a50, 0xb00270, 0xb003f0, 0xb00570, 0xb006f0, 0xb328d0}
        last_column = 0x7808e0 = {0xb003f0, 0xb00570, 0xb006f0, 0xb328d0}
        height = 0
        horizontal_separator = 2
        vertical_separator = 0
        focus_line_width = 1
        depth = 1
        retval = 0
        is_separator = 0
        draw_hgrid_lines = 0
        focus_pad = 1
        grid_line_width = 1
        wide_separators = 0
        separator_height = 0
#8  0x00007ffff6b956d9 in validate_visible_area (tree_view=0xb28060) at gtktreeview.c:5863
        offset = 0
        path = 0x7be3c0
        above_path = <value optimized out>
        iter = {stamp = 26578211, user_data = 0xb49870, user_data2 = 0x0, user_data3 = 0x0}
        tree = 0xb2fb40
        node = 0xb4d010
---Type <return> to continue, or q <return> to quit---
        need_redraw = <value optimized out>
        size_changed = <value optimized out>
        total_height = 169
        area_above = <value optimized out>
        area_below = <value optimized out>
        __PRETTY_FUNCTION__ = "validate_visible_area"
#9  0x00007ffff6b9578c in do_presize_handler (tree_view=0xb28060) at gtktreeview.c:6300
No locals.
#10 0x00007ffff6b95814 in presize_handler_callback (data=0x13e1) at gtktreeview.c:6322
No locals.
#11 0x00007ffff62d802a in gdk_threads_dispatch (data=0x77ed80) at gdk.c:506
        ret = <value optimized out>
#12 0x00007ffff14d9093 in g_main_dispatch (context=0x6ac340) at gmain.c:1960
        __PRETTY_FUNCTION__ = "g_main_dispatch"
#13 IA__g_main_context_dispatch (context=0x6ac340) at gmain.c:2513
No locals.
#14 0x00007ffff14dc18c in g_main_context_iterate (context=0x6ac340, block=1, dispatch=1, 
    self=<value optimized out>) at gmain.c:2591
        max_priority = 108
        timeout = 0
        some_ready = 1
        nfds = 3
        allocated_nfds = <value optimized out>
        fds = 0x9a3e40
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#15 0x00007ffff14dc5b2 in IA__g_main_loop_run (loop=0x99ea60) at gmain.c:2799
        self = 0x6cc910
        __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#16 0x00007ffff6ab6875 in IA__gtk_main () at gtkmain.c:1218
        tmp_list = 0x0
        functions = 0x0
        init = 0x6e2d20
        loop = 0x99ea60
#17 0x0000000000427836 in main (argc=1, argv=0x7fffffffdbf8) at main.c:491
        running = 0
Comment 1 juha editbugs 2010-06-24 09:55:28 CEST
Would it be possible to get that event? Either the full orage.ics file or just export from that event.

The parameters seems to be corrupted but as some are missing, I think the real error happened already earlier and it would help to be able to reproduce the error in my system.
Comment 2 juha editbugs 2010-07-02 12:49:43 CEST
This was fixed in Orage 4.7.1 after finding some memory leaks.
Comment 3 juha editbugs 2010-07-02 12:50:31 CEST
*** Bug 6200 has been marked as a duplicate of this bug. ***
Comment 4 juha editbugs 2011-01-18 14:17:23 CET
in 4.8.0

Bug #6520

Reported by:
Christian Weiske
Reported on: 2010-06-24
Last modified on: 2011-01-18
Duplicates (1):
  • 6200 orage assert failure: *** glibc detected *** /usr/bin/orage: free(): invalid pointer: 0x09eae0e8 ***

People

CC List:
1 user

Version

Attachments

Additional information