hi,

I'm trying to run this code[1] but it continually segfaults. It worked
previously and I really can't recall what's changed. Here's the
backtrace. Can someone please point me to the thing that's breaking?


> Starting program: /usr/bin/python Splash.py
> [Thread debugging using libthread_db enabled]
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007fffedc4bbf8 in do_row (datatype=<value optimized out>, comps=<value 
> optimized out>, srcWidth=<value optimized out>, srcRowA=0x7ffff7f35000, 
> srcRowB=
>     0x7ffff7f35100, dstWidth=<value optimized out>, dstRow=0x10000) at 
> main/mipmap.c:194
> 194              dst[i] = (rowA[j] + rowA[k] + rowB[j] + rowB[k]) >> 2;
> (gdb) bt
> #0  0x00007fffedc4bbf8 in do_row (datatype=<value optimized out>, 
> comps=<value optimized out>, srcWidth=<value optimized out>, 
> srcRowA=0x7ffff7f35000, 
>     srcRowB=0x7ffff7f35100, dstWidth=<value optimized out>, dstRow=0x10000) 
> at main/mipmap.c:194
> #1  0x00007fffedc4cd8c in make_2d_mipmap (datatype=5121, comps=1, border=0, 
> srcWidth=256, srcHeight=256, srcPtr=
>     0x7ffff7f35000 <Address 0x7ffff7f35000 out of bounds>, srcRowStride=256, 
> dstWidth=128, dstHeight=128, dstPtr=0x10000 <Address 0x10000 out of bounds>, 
>     dstRowStride=256) at main/mipmap.c:1019
> #2  0x00007fffedbe876f in fallback_generate_mipmap (ctx=0xc76040, 
> target=3553, texObj=0xd3a620) at state_tracker/st_gen_mipmap.c:151
> #3  st_generate_mipmap (ctx=0xc76040, target=3553, texObj=0xd3a620) at 
> state_tracker/st_gen_mipmap.c:269
> #4  0x00007fffedc17310 in _mesa_GenerateMipmapEXT (target=3553) at 
> main/fbobject.c:2014
> #5  0x00000030df69d067 in _cogl_texture_2d_ensure_mipmaps (tex=0xd3b230) at 
> ./cogl-texture-2d.c:423
> #6  0x00000030df68ee37 in _cogl_rectangles_with_multitexture_coords 
> (rects=0x7fffffffc5f0, n_rects=1) at ./cogl-primitives.c:391
> #7  0x00000030df68f2cc in cogl_rectangle_with_texture_coords (x_1=<value 
> optimized out>, y_1=<value optimized out>, x_2=<value optimized out>, 
>     y_2=<value optimized out>, tx_1=<value optimized out>, ty_1=<value 
> optimized out>, tx_2=<value optimized out>, ty_2=<value optimized out>)
>     at ./cogl-primitives.c:593
> #8  0x00000030df6a82b0 in _cogl_pango_display_list_render_texture (dl=<value 
> optimized out>, color=0x7fffffffc7e0, glyph_material=0xbf5640, solid_material=
>     0xbf56f0) at cogl-pango-display-list.c:263
> #9  _cogl_pango_display_list_render (dl=<value optimized out>, 
> color=0x7fffffffc7e0, glyph_material=0xbf5640, solid_material=0xbf56f0)
>     at cogl-pango-display-list.c:352
> #10 0x00000030df6a8fab in cogl_pango_render_layout_subpixel (layout=0xcfeb70, 
> x=0, y=0, color=0x7fffffffc7e0, flags=<value optimized out>)
>     at cogl-pango-render.c:273
> #11 0x00000030df684be4 in clutter_text_paint (self=<value optimized out>) at 
> ./clutter-text.c:1821
> #12 0x00000030cb60b8d9 in IA__g_closure_invoke (closure=0xbf43a0, 
> return_value=0x0, n_param_values=1, param_values=0xd4ad60, 
> invocation_hint=0x7fffffffc990)
>     at gclosure.c:767
> #13 0x00000030cb61f59c in signal_emit_unlocked_R (node=<value optimized out>, 
> detail=0, instance=0xd02040, emission_return=0x0, instance_and_params=
>     0xd4ad60) at gsignal.c:3286
> #14 0x00000030cb620de6 in IA__g_signal_emit_valist (instance=<value optimized 
> out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=
>     0x7fffffffcb80) at gsignal.c:2981
> #15 0x00000030cb6213a3 in IA__g_signal_emit (instance=<value optimized out>, 
> signal_id=<value optimized out>, detail=<value optimized out>)
>     at gsignal.c:3038
> #16 0x00000030df6350ce in clutter_actor_paint (self=0xd02040 [ClutterText]) 
> at ./clutter-actor.c:2560
> #17 0x00000030caa3958c in IA__g_list_foreach (list=<value optimized out>, 
> func=0x30df634fb0 <clutter_actor_paint>, user_data=0x0) at glist.c:918
> #18 0x00000030df65f482 in clutter_group_real_paint (actor=0xcf0020 
> [ClutterStage]) at ./clutter-group.c:281
> #19 0x00000030df67b6ed in clutter_stage_paint (self=0xcf0020 [ClutterStage]) 
> at ./clutter-stage.c:325


[1] https://fedorahosted.org/fedora-tour/browser/src/Splash.py

I'd be more than happy to provide any extra info that you'd need. 

Thank you,

regards,
Ankur

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com

Reply via email to