text_props->info is NULL here when it happens

2011/4/19 Tom Hacohen <t...@stosb.com>

> raster mentioned the same issue, but odly enough, line 420 looks innocent.
>
> Here's the relevant piece of code:
> 419   const Eina_Unicode *text = text_props->info->shaped_text +
> 420      text_props->text_offset;
> if the first is ok, so should be the second, unless something very funky is
> happening...
>
> I'll try to take another look tomorrow, but, hm... weird...
>
> --
> Tom.
>
>
> On Tue, Apr 19, 2011 at 8:01 PM, Nicolas Aguirre <
> aguirre.nico...@gmail.com> wrote:
>
>> Hi another Segfault i found when using e17, i just go in the configuration
>> panel, and try to activate the illume-home module. Just after the click on
>> the list item e17 segfault.
>> I test with the default profile and by removing first the content of ~/.e
>>
>> Here the gdb backtrace :
>>
>>
>> (gdb) bt
>> #0  0x006c3832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
>> #1  0x00cfbdbb in __poll (fds=0xd92ff4, nfds=1, timeout=-1) at
>> ../sysdeps/unix/sysv/linux/poll.c:83
>> #2  0x00497d90 in ?? () from /usr/lib/libxcb.so.1
>> #3  0x00499707 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
>> #4  0x00b5e752 in ?? () from /usr/lib/libX11.so.6
>> #5  0x00b5eaa1 in ?? () from /usr/lib/libX11.so.6
>> #6  0x00b5f39b in _XReadEvents () from /usr/lib/libX11.so.6
>> #7  0x00b45678 in XNextEvent () from /usr/lib/libX11.so.6
>> #8  0x0807930d in e_alert_show ()
>> #9  0x08137a07 in e_sigseg_act ()
>> #10 <signal handler called>
>> #11 evas_common_font_draw_internal (dst=0x8f3f4b8, dc=0x99f65e8,
>> fn=0x8f0cd98, x=2, y=19, in_text=0x1875f4 L"", text_props=0x9cf0ba4,
>> func=0x991cfd <_op_blend_mas_c_dp_mmx>, ext_x=1, ext_y=0, ext_w=463,
>>    ext_h=30, fi=0x90d93c0, im_w=464, im_h=32) at evas_font_draw.c:420
>> #12 0x009a716e in evas_common_font_draw (dst=0x8f3f4b8, dc=0x99f65e8,
>> fn=0x8f0cd98, x=2, y=19, text=0x1875f4 L"", text_props=0x9cf0ba4) at
>> evas_font_draw.c:770
>> #13 0x0075c3df in eng_font_draw (data=0x95547b8, context=0x99f65e8,
>> surface=0x8f3f4b8, font=0x8f0cd98, x=2, y=19, w=0, h=16, ow=0, oh=16,
>> text=0x1875f4 L"", text_props=0x9cf0ba4) at evas_engine.c:812
>> #14 0x009665d3 in evas_object_textblock_render (obj=0x9720510,
>> output=0x95547b8, context=0x99f65e8, surface=0x8f3f4b8, x=-8, y=-662) at
>> evas_object_textblock.c:8129
>> #15 0x0096f424 in evas_render_mapped (e=0x9937b10, obj=0x9720510,
>> context=0x99f65e8, surface=0x8f3f4b8, off_x=-8, off_y=-662, mapped=0,
>> ecx=0,
>> ecy=0, ecw=464, ech=32) at evas_render.c:1039
>> #16 0x0097093e in evas_render_updates_internal (e=0x9937b10,
>> make_updates=1
>> '\001', do_draw=1 '\001') at evas_render.c:1356
>> #17 0x00970ee9 in evas_render_updates (e=0x9937b10) at evas_render.c:1493
>> #18 0x0053d435 in _ecore_evas_x_render () from
>> /opt/e17.i686/lib/libecore_evas.so.1
>> #19 0x00536422 in _ecore_evas_idle_enter () from
>> /opt/e17.i686/lib/libecore_evas.so.1
>> #20 0x00f88bba in _ecore_idle_enterer_call () from
>> /opt/e17.i686/lib/libecore.so.1
>> #21 0x00f8b104 in _ecore_main_loop_iterate_internal () from
>> /opt/e17.i686/lib/libecore.so.1
>> #22 0x00f89ebe in ecore_main_loop_begin () from
>> /opt/e17.i686/lib/libecore.so.1
>> #23 0x0806de19 in main ()
>> (gdb) bt full
>> #0  0x006c3832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
>> No symbol table info available.
>> #1  0x00cfbdbb in __poll (fds=0xd92ff4, nfds=1, timeout=-1) at
>> ../sysdeps/unix/sysv/linux/poll.c:83
>>        resultvar = <value optimized out>
>>        oldtype = <value optimized out>
>>        result = <value optimized out>
>> #2  0x00497d90 in ?? () from /usr/lib/libxcb.so.1
>> No symbol table info available.
>> #3  0x00499707 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
>> No symbol table info available.
>> #4  0x00b5e752 in ?? () from /usr/lib/libX11.so.6
>> No symbol table info available.
>> #5  0x00b5eaa1 in ?? () from /usr/lib/libX11.so.6
>> No symbol table info available.
>> #6  0x00b5f39b in _XReadEvents () from /usr/lib/libX11.so.6
>> No symbol table info available.
>> #7  0x00b45678 in XNextEvent () from /usr/lib/libX11.so.6
>> No symbol table info available.
>> #8  0x0807930d in e_alert_show ()
>> No symbol table info available.
>> #9  0x08137a07 in e_sigseg_act ()
>> No symbol table info available.
>> #10 <signal handler called>
>> No symbol table info available.
>> #11 evas_common_font_draw_internal (dst=0x8f3f4b8, dc=0x99f65e8,
>> fn=0x8f0cd98, x=2, y=19, in_text=0x1875f4 L"", text_props=0x9cf0ba4,
>> func=0x991cfd <_op_blend_mas_c_dp_mmx>, ext_x=1, ext_y=0, ext_w=463,
>>    ext_h=30, fi=0x90d93c0, im_w=464, im_h=32) at evas_font_draw.c:420
>>        text = 0x8f3f4b8 L"\x9ceb778"
>>        im = 0x80808080
>>        pface = 0x9996bf
>>        _pen_x = -1074178680
>>        _pen_y = 10289140
>>        char_index = 161570024
>> #12 0x009a716e in evas_common_font_draw (dst=0x8f3f4b8, dc=0x99f65e8,
>> fn=0x8f0cd98, x=2, y=19, text=0x1875f4 L"", text_props=0x9cf0ba4) at
>> evas_font_draw.c:770
>>        ext_x = 1
>>        ext_y = 0
>>        ext_w = 463
>>        ext_h = 30
>>        im_w = 464
>>        im_h = 32
>>        func = 0x991cfd <_op_blend_mas_c_dp_mmx>
>>        fi = 0x90d93c0
>>        rects = 0x13
>>        r = 0x12
>>        c = 17
>>        cx = 16
>>        cy = 15
>>        cw = 14
>>        ch = 13
>>        i = 12
>> #13 0x0075c3df in eng_font_draw (data=0x95547b8, context=0x99f65e8,
>> surface=0x8f3f4b8, font=0x8f0cd98, x=2, y=19, w=0, h=16, ow=0, oh=16,
>> text=0x1875f4 L"", text_props=0x9cf0ba4) at evas_engine.c:812
>> No locals.
>> #14 0x009665d3 in evas_object_textblock_render (obj=0x9720510,
>> output=0x95547b8, context=0x99f65e8, surface=0x8f3f4b8, x=-8, y=-662) at
>> evas_object_textblock.c:8129
>>        shad_dst = 1
>>        dx = 1
>>        haveshad = 1
>>        shad_sz = 0
>>        dy = 1
>>        ti = 0x9cf0b70
>>        yoff = 10
>>        itr = 0x9cf0b70
>> ---Type <return> to continue, or q <return> to quit---
>>        par = 0x9af9c50
>>        ln = 0x9aee3c8
>>        o = 0x951be80
>>        i = 7725044
>>        j = 158467344
>>        pbacking = 0
>>        backingx = 0
>>        punderline = 0
>>        underlinex = 0
>>        punderline2 = 0
>>        underline2x = 0
>>        pstrikethrough = 0
>>        strikethroughx = 0
>>        r = 0 '\000'
>>        g = 0 '\000'
>>        b = 0 '\000'
>>        a = 0 '\000'
>>        r2 = 0 '\000'
>>        g2 = 0 '\000'
>>        b2 = 0 '\000'
>>        a2 = 0 '\000'
>>        r3 = 0 '\000'
>>        g3 = 0 '\000'
>>        b3 = 0 '\000'
>>        a3 = 0 '\000'
>>        cx = 1
>>        cy = 0
>>        cw = 463
>>        ch = 30
>>        clip = 1
>>        vals = {"\000\001\002\001", "\001\003\004\003\001",
>> "\002\004\005\004\002", "\001\003\004\003\001", "\000\001\002\001"}
>> #15 0x0096f424 in evas_render_mapped (e=0x9937b10, obj=0x9720510,
>> context=0x99f65e8, surface=0x8f3f4b8, off_x=-8, off_y=-662, mapped=0,
>> ecx=0,
>> ecy=0, ecw=464, ech=32) at evas_render.c:1039
>>        ctx = 0x0
>>        obj2 = 0x1
>>        clean_them = 0 '\000'
>> #16 0x0097093e in evas_render_updates_internal (e=0x9937b10,
>> make_updates=1
>> '\001', do_draw=1 '\001') at evas_render.c:1356
>>        x = 1
>>        y = 0
>>        w = 463
>>        h = 30
>>        obj = 0x9720510
>>        off_x = -8
>>        off_y = -662
>>        offset = 2
>>        updates = 0x9b61a28
>>        ll = 0x0
>>        surface = 0x8f3f4b8
>>        clean_them = 0 '\000'
>>        alpha = 0 '\000'
>>        r = 0x0
>>        ux = 8
>>        uy = 662
>>        uw = 464
>>        uh = 32
>>        cx = 0
>>        cy = 0
>>        cw = 464
>>        ch = 32
>>        i = 237
>>        j = 2
>> ---Type <return> to continue, or q <return> to quit---
>>        haveup = 1
>>        redraw_all = 0
>>        __FUNCTION__ = "evas_render_updates_internal"
>> #17 0x00970ee9 in evas_render_updates (e=0x9937b10) at evas_render.c:1493
>> No locals.
>> #18 0x0053d435 in _ecore_evas_x_render () from
>> /opt/e17.i686/lib/libecore_evas.so.1
>> No symbol table info available.
>> #19 0x00536422 in _ecore_evas_idle_enter () from
>> /opt/e17.i686/lib/libecore_evas.so.1
>> No symbol table info available.
>> #20 0x00f88bba in _ecore_idle_enterer_call () from
>> /opt/e17.i686/lib/libecore.so.1
>> No symbol table info available.
>> #21 0x00f8b104 in _ecore_main_loop_iterate_internal () from
>> /opt/e17.i686/lib/libecore.so.1
>> No symbol table info available.
>> #22 0x00f89ebe in ecore_main_loop_begin () from
>> /opt/e17.i686/lib/libecore.so.1
>> No symbol table info available.
>> #23 0x0806de19 in main ()
>> No symbol table info available.
>>
>>
>> --
>> Nicolas Aguirre
>> Mail: aguirre.nico...@gmail.com
>> Web: http://enna.geexbox.org
>> Blog: http://dev.enlightenment.fr/~captainigloo/
>>
>> ------------------------------------------------------------------------------
>> Benefiting from Server Virtualization: Beyond Initial Workload
>> Consolidation -- Increasing the use of server virtualization is a top
>> priority.Virtualization can reduce costs, simplify management, and improve
>> application availability and disaster protection. Learn more about
>> boosting
>> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>> _______________________________________________
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
>
>
> --
> Tom.
>



-- 
Nicolas Aguirre
Mail: aguirre.nico...@gmail.com
Web: http://enna.geexbox.org
Blog: http://dev.enlightenment.fr/~captainigloo/
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to