[Bug 28284] New: [r300, r600] celestia core dumps - Assertion `dstRowStride' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 27 13:07:54 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28284

           Summary: [r300, r600] celestia core dumps - Assertion
                    `dstRowStride' failed.
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: rankincj at googlemail.com


I am getting the following core dump with my Radeon 9550 and Mesa-git. (My
HD4890 seems affected too.)

Core was generated by `/usr/bin/celestia'.
Program terminated with signal 6, Aborted.
#0  0xb77e7424 in __kernel_vsyscall ()

Thread 1 (Thread 26350):
#0  0xb77e7424 in __kernel_vsyscall ()
No symbol table info available.
#1  0x466c3a81 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <value optimized out>
        resultvar = <value optimized out>
        pid = 1182830580
        selftid = 26350
#2  0x466c534a in abort () at abort.c:92
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x4680a380 <main_arena>, 
            sa_sigaction = 0x4680a380 <main_arena>}, sa_mask = {__val = {
    1182830580, 96, 1, 3218383328, 3218383116, 0, 104, 89, 1182835584, 
    1182830580, 89, 88, 3218383288, 1181745554, 156360952, 89, 3218383328, 
    156360952, 0, 4222451712, 156360952, 156360952, 156360952, 156360952, 
    156361040, 156361052, 156360952, 156361052, 0, 0, 0, 0}}, sa_flags = 0, 
          sa_restorer = 0}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0x466bcbd8 in __assert_fail (assertion=0xb697b153 "dstRowStride", file=
    0xb697b0e8 "radeon_texture.c", line=703, function=
    0xb697b1c9 "radeon_store_teximage") at assert.c:81
        buf = 
    0x951e0f8 "celestia: radeon_texture.c:703: radeon_store_teximage: Assertion
`dstRowStride' failed.\n"
#4  0xb67d5c76 in radeon_store_teximage (ctx=0x91c6288, dims=2, xoffset=0, 
    yoffset=0, zoffset=0, width=8, height=8, depth=1, imageSize=0, format=
    6407, type=5121, pixels=0x95750d0, packing=0x91d5058, texObj=0x957ad28, 
    texImage=0x93a4360, compressed=0) at radeon_texture.c:703
        rmesa = <value optimized out>
        image = 0x93a4360
        dstRowStride = 26350
        dstImageOffsets = <value optimized out>
        __func__ = "radeon_store_teximage"
        __PRETTY_FUNCTION__ = "radeon_store_teximage"
#5  0xb67d62d3 in radeon_teximage (ctx=0x91c6288, dims=2, target=3553, level=
    3, internalFormat=3, width=8, height=8, depth=1, imageSize=0, format=
    6407, type=5121, pixels=0x95750d0, packing=0x91d5058, texObj=0x957ad28, 
    texImage=0x93a4360, compressed=0) at radeon_texture.c:847
        rmesa = 0x91c04d8
        t = 0x957ad28
        image = 0x93a4360
        postConvWidth = 8
        postConvHeight = 8
        face = 0
        __func__ = "radeon_teximage"
        __PRETTY_FUNCTION__ = "radeon_teximage"
#6  0xb67d67a7 in radeonTexImage2D (ctx=0x91c6288, target=3553, level=3, 
    internalFormat=3, width=8, height=8, border=0, format=6407, type=5121, 
    pixels=0x95750d0, packing=0x91d5058, texObj=0x957ad28, texImage=0x93a4360)
    at radeon_texture.c:880
No locals.
#7  0xb68594bc in _mesa_TexImage2D (target=3553, level=3, 
    internalFormat=<value optimized out>, width=8, height=8, border=0, format=
    6407, type=5121, pixels=0x95750d0) at main/teximage.c:2251
        texObj = 0x957ad28
        texImage = <value optimized out>
        face = 0
        postConvWidth = 8
        postConvHeight = 8
        ctx = 0x91c6288
#8  0xb776718d in gluBuild2DMipmapLevelsCore (target=3553, internalFormat=3, 
    width=64, height=64, widthPowerOf2=64, heightPowerOf2=64, format=6407, 
    type=5121, userLevel=0, baseLevel=0, maxLevel=6, data=0x95b7988)
    at libutil/mipmap.c:4494
        rowPad = <value optimized out>
        newwidth = 8
        newheight = 8
        level = <value optimized out>
        levels = 6
        usersImage = 0xb775cf70
        srcImage = 0x95750d0
        dstImage = 0x95ba990
        tmpImage = 0x95ba990
        memreq = <value optimized out>
        cmpts = 24
        myswap_bytes = 0
        groups_per_line = <value optimized out>
        element_size = 1
        group_size = 3
        rowsize = 24
        padding = <value optimized out>
        psm = {pack_alignment = 4, pack_row_length = 0, pack_skip_rows = 0, 
          pack_skip_pixels = 0, pack_lsb_first = 0, pack_swap_bytes = 0, 
          pack_skip_images = -1076583004, pack_image_height = 3553, 
          unpack_alignment = 4, unpack_row_length = 0, unpack_skip_rows = 0, 
          unpack_skip_pixels = 0, unpack_lsb_first = 0, unpack_swap_bytes = 
    0, unpack_skip_images = 32, unpack_image_height = 32}
#9  0xb776e8bb in gluBuild2DMipmaps (target=3553, internalFormat=3, width=64, 
    height=64, format=6407, type=5121, data=0x95b7988)
    at libutil/mipmap.c:4606
        widthPowerOf2 = 64
        heightPowerOf2 = 64
        level = 26350
        levels = <value optimized out>
        rc = <value optimized out>
#10 0x081699fe in ImageTexture::ImageTexture(Image&, Texture::AddressMode,
Texture::MipMapMode) ()
No symbol table info available.
#11 0x08169dbe in CreateProceduralTexture(int, int, int, void (*)(float, float,
float, unsigned char*), Texture::AddressMode, Texture::MipMapMode) ()
No symbol table info available.
#12 0x0812ccbb in Renderer::init(GLContext*, int, int,
Renderer::DetailOptions&) ()
No symbol table info available.
#13 0x0809561a in CelestiaCore::initRenderer() ()
No symbol table info available.
#14 0x080c9df7 in ?? ()
No symbol table info available.
#15 0x46b2d2d4 in IA__g_cclosure_marshal_VOID__VOID (closure=0x90bbe88, 
    return_value=0x0, n_param_values=1, param_values=0x90d8280, 
    invocation_hint=0xbfd4aa50, marshal_data=0x0) at gmarshal.c:77
        callback = 0x80c9de0
        cc = 0x90bbe88
        data1 = <value optimized out>
        data2 = <value optimized out>
        __PRETTY_FUNCTION__ = "IA__g_cclosure_marshal_VOID__VOID"
#16 0x46b1f5b3 in IA__g_closure_invoke (closure=0x90bbe88, return_value=0x0, 
    n_param_values=1, param_values=0x90d8280, invocation_hint=0xbfd4aa50)
    at gclosure.c:767
        marshal = <value optimized out>
        marshal_data = <value optimized out>
        in_marshal = 151829248
        __PRETTY_FUNCTION__ = "IA__g_closure_invoke"
#17 0x46b35118 in signal_emit_unlocked_R (node=0x85da6c8, detail=0, instance=
    0x862f908, emission_return=0x0, instance_and_params=0x90d8280)
    at gsignal.c:3247
        tmp = <value optimized out>
        handler = 0x8ef2d60
        accumulator = 0x0
        emission = {next = 0xbfd4ae98, instance = 0x862f908, ihint = {
            signal_id = 16, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
          state = EMISSION_RUN, chain_type = 4}
        class_closure = 0x85bba78
        handler_list = 0x8ef30c0
        return_accu = 0x0
        accu = {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}}}
        signal_id = 16
        max_sequential_handler_number = 569
        return_value_altered = 1
#18 0x46b3647d in IA__g_signal_emit_valist (instance=0x862f908, signal_id=16, 
    detail=0, var_args=<value optimized out>) at gsignal.c:2980
        instance_and_params = 0x90d8280
        signal_return_type = 4
        param_values = 0x90d8294
        node = <value optimized out>
        i = <value optimized out>
        n_params = 0
        __PRETTY_FUNCTION__ = "IA__g_signal_emit_valist"
#19 0x46b36907 in IA__g_signal_emit (instance=0x862f908, signal_id=16, detail=
    0) at gsignal.c:3037
        var_args = <value optimized out>
#20 0x471d353e in IA__gtk_widget_realize (widget=0x862f908 [GtkDrawingArea])
    at gtkwidget.c:3336
        mode = <value optimized out>
        shape_info = <value optimized out>
        __PRETTY_FUNCTION__ = "IA__gtk_widget_realize"
#21 0x471d3f48 in IA__gtk_widget_map (widget=0x862f908 [GtkDrawingArea])
    at gtkwidget.c:3210
        __PRETTY_FUNCTION__ = "IA__gtk_widget_map"
#22 0x46fabb2d in gtk_box_forall (container=0x90bc068 [GtkVBox], 
    include_internals=1, callback=0x46fe91b0 <gtk_container_map_child>, 
    callback_data=0x0) at gtkbox.c:1249
        box = 0x90bc068 [GtkVBox]
        child = <value optimized out>
        children = <value optimized out>
#23 0x46fe6c34 in IA__gtk_container_forall (container=0x90bc068 [GtkVBox], 
    callback=0x46fe91b0 <gtk_container_map_child>, callback_data=0x0)
    at gtkcontainer.c:1499
        class = 0x906bf18
        __PRETTY_FUNCTION__ = "IA__gtk_container_forall"
#24 0x46fe9183 in gtk_container_map (widget=0x90bc068 [GtkVBox])
    at gtkcontainer.c:2665
No locals.
#25 0x46b2d2d4 in IA__g_cclosure_marshal_VOID__VOID (closure=0x85d7b10, 
    return_value=0x0, n_param_values=1, param_values=0x90d8038, 
    invocation_hint=0xbfd4aea0, marshal_data=0x46fe9120) at gmarshal.c:77
        callback = 0x46fe9120 <gtk_container_map>
        cc = 0x85d7b10
        data1 = <value optimized out>
        data2 = <value optimized out>
        __PRETTY_FUNCTION__ = "IA__g_cclosure_marshal_VOID__VOID"
#26 0x46b1dc0a in g_type_class_meta_marshal (closure=0x85d7b10, return_value=
    0x0, n_param_values=1, param_values=0x90d8038, invocation_hint=
    0xbfd4aea0, marshal_data=0x6c) at gclosure.c:878
        class = Cannot access memory at address 0x0


More information about the dri-devel mailing list