[Mesa-dev] [Bug 86195] Lightswork video editor segfaults

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 12 04:56:34 PST 2014


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

            Bug ID: 86195
           Summary: Lightswork video editor segfaults
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: minor
          Priority: low
         Component: Drivers/Gallium/radeonsi
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: pontostroy at gmail.com

This app is very unstable with radeonsi, but works fine on intel.

HD 7790
mesa-git\llvm-svn 11.10.14


Program received signal SIGSEGV, Segmentation fault.
0x00007dfa9b7807c8 in std::vector<llvm::MachineOperand*,
std::allocator<llvm::MachineOperand*>
>::_M_fill_insert(__gnu_cxx::__normal_iterator<llvm::MachineOperand**,
std::vector<llvm::MachineOperand*, std::allocator<llvm::MachineOperand*> > >,
unsigned long, llvm::MachineOperand* const&) ()
   from /usr/lib64/libLLVM-3.6svn.so
(gdb) bt
#0  0x00007dfa9b7807c8 in std::vector<llvm::MachineOperand*,
std::allocator<llvm::MachineOperand*>
>::_M_fill_insert(__gnu_cxx::__normal_iterator<llvm::MachineOperand**,
std::vector<llvm::MachineOperand*, std::allocator<llvm::MachineOperand*> > >,
unsigned long, llvm::MachineOperand* const&) ()
    at /usr/lib64/libLLVM-3.6svn.so
#1  0x00007dfa9b780f41 in
llvm::MachineRegisterInfo::MachineRegisterInfo(llvm::MachineFunction const*) ()
at /usr/lib64/libLLVM-3.6svn.so
#2  0x00007dfa9b74c99a in llvm::MachineFunction::MachineFunction(llvm::Function
const*, llvm::TargetMachine const&, unsigned int, llvm::MachineModuleInfo&) ()
at /usr/lib64/libLLVM-3.6svn.so
#3  0x00007dfa9b7508cb in
llvm::MachineFunctionAnalysis::runOnFunction(llvm::Function&) () at
/usr/lib64/libLLVM-3.6svn.so
#4  0x00007dfa9b46caef in llvm::FPPassManager::runOnFunction(llvm::Function&)
() at /usr/lib64/libLLVM-3.6svn.so
#5  0x00007dfa9b46cb7b in llvm::FPPassManager::runOnModule(llvm::Module&) () at
/usr/lib64/libLLVM-3.6svn.so
#6  0x00007dfa9b46f225 in llvm::legacy::PassManagerImpl::run(llvm::Module&) ()
at /usr/lib64/libLLVM-3.6svn.so
#7  0x00007dfa9b8ff303 in  () at /usr/lib64/libLLVM-3.6svn.so
#8  0x00007dfa9b8ff510 in LLVMTargetMachineEmitToMemoryBuffer () at
/usr/lib64/libLLVM-3.6svn.so
#9  0x00007dfa9d0458af in radeon_llvm_compile (M=0x7ffaa0a17bc4,
binary=0x7fff319ca220, gpu_family=0x7dfa9d1589b5 "bonaire", dump=0)
    at radeon_llvm_emit.c:185
#10 0x00007dfa9cfa96a0 in si_compile_llvm (sscreen=0x18a02b0, shader=0x1be6900,
mod=0x7ffaa0a17bc4) at si_shader.c:2601
#11 0x00007dfa9cfa9d8e in si_shader_create (sscreen=0x18a02b0,
shader=0x1be6900) at si_shader.c:2800
#12 0x00007dfa9cfafa19 in si_shader_select (ctx=0x1988d20, sel=0x1bd8800) at
si_state.c:2279
#13 0x00007dfa9cfb1bb8 in si_update_derived_state (sctx=0x1988d20) at
si_state_draw.c:652
#14 0x00007dfa9cfb1dda in si_draw_vbo (ctx=0x1988d20, info=0x7fff319d17f0) at
si_state_draw.c:919
#15 0x00007dfa9ccb7fc9 in blitter_draw (ctx=
    0x19b2c30, x1=<optimized out>, y1=<optimized out>, x2=<optimized out>,
y2=<optimized out>, depth=<optimized out>, num_instances=1)
    at ./util/u_draw.h:99
#16 0x00007dfa9ccb80e1 in util_blitter_draw_rectangle (blitter=
    0x19b2c30, x1=0, y1=0, x2=1920, y2=1080, depth=0, type=<optimized out>,
attrib=0x7fff319d19f0) at util/u_blitter.c:1156
#17 0x00007dfa9d038fe2 in r600_draw_rectangle (blitter=
    0x19b2c30, x1=0, y1=0, x2=1920, y2=1080, depth=0, type=<optimized out>,
attrib=0x7fff319d19f0) at r600_pipe_common.c:56
#18 0x00007dfa9ccbaab2 in util_blitter_blit_generic (blitter=
    0x19b2c30, dst=0x1bd8470, dstbox=0x7fff319d1b10, src=0x1be23e0,
srcbox=0x7fff319d1cf0, src_width0=1920, src_height0=1080, mask=63, filter=0,
scissor=0x0) at util/u_blitter.c:1619
#19 0x00007dfa9cf9d81a in si_resource_copy_region (ctx=0x1988d20,
dst=0x1be34f0, dst_level=0, dstx=0, dsty=0, dstz=0, src=0x1be4370, src_level=0,
src_box=0x7fff319d1cf0) at si_blit.c:664
#20 0x00007dfa9cfa2e7c in si_dma_copy (ctx=0x1988d20, dst=0x1be34f0,
dst_level=0, dstx=0, dsty=0, dstz=0, src=0x1be4370, src_level=0,
src_box=0x7fff319d1cf0) at si_dma.c:322
#21 0x00007dfa9d03e063 in r600_copy_from_staging_texture (ctx=<optimized out>,
rtransfer=<optimized out>) at r600_texture.c:105
#22 0x00007dfa9d03e683 in r600_texture_transfer_unmap (ctx=0x1988d20,
transfer=0x1be79a0) at r600_texture.c:1079
#23 0x00007dfa9ccd5f42 in u_transfer_unmap_vtbl (pipe=<optimized out>,
transfer=<optimized out>) at util/u_transfer.c:138
#24 0x00007dfa9cb98877 in st_texture_image_unmap (st=<optimized out>,
stImage=<optimized out>, slice=<optimized out>)
    at ../../src/gallium/auxiliary/util/u_inlines.h:481
#25 0x00007dfa9cb6ea59 in st_UnmapTextureImage (ctx=<optimized out>,
texImage=0x1be78d0, slice=0)
    at ../../src/mesa/state_tracker/st_cb_texture.c:283
#26 0x00007dfa9cb1a32f in store_texsubimage (ctx=0x7dfa99d41010,
texImage=0x1be78d0, xoffset=0, yoffset=0, zoffset=<optimized out>, width=1920,
height=1080, depth=<optimized out>, format=32993, type=5121, pixels=0x251deb0,
packing=0x7dfa99d5c6e0, caller=0x7dfa9d07287f "glTexSubImage")
    at ../../src/mesa/main/texstore.c:2026
#27 0x00007dfa9cb1a4fb in _mesa_store_texsubimage (ctx=<optimized out>,
dims=<optimized out>, texImage=<optimized out>, xoffset=<optimized out>,
yoffset=<optimized out>, zoffset=<optimized out>, width=1920, height=1080,
depth=1, format=32993, type=5121, pixels=0x251deb0, packing=0x7dfa99d5c6e0)
    at ../../src/mesa/main/texstore.c:2083
#28 0x00007dfa9cb72be3 in st_TexSubImage (ctx=0x7dfa99d41010, dims=2,
texImage=0x1be78d0, xoffset=0, yoffset=0, zoffset=0, width=1920, height=1080,
depth=1, format=32993, type=5121, pixels=0x251deb0, unpack=0x7dfa99d5c6e0) at
../../src/mesa/state_tracker/st_cb_texture.c:852
#29 0x00007dfa9cb72cd8 in st_TexImage (ctx=0x7dfa99d41010, dims=2,
texImage=0x1be78d0, format=32993, type=5121, pixels=0x251deb0,
unpack=0x7dfa99d5c6e0) at ../../src/mesa/state_tracker/st_cb_texture.c:876
#30 0x00007dfa9cb0b658 in teximage (ctx=0x7dfa99d41010, compressed=<optimized
out>, dims=2, target=3553, level=0, internalFormat=6408, width=1920,
height=1080, depth=1, border=0, format=32993, type=5121, imageSize=0,
pixels=0x251deb0) at ../../src/mesa/main/teximage.c:3326
#31 0x00007dfa9cb0c222 in _mesa_TexImage2D (target=<optimized out>,
level=<optimized out>, internalFormat=<optimized out>, width=<optimized out>,
height=<optimized out>, border=<optimized out>, format=32993, type=5121,
pixels=0x251deb0) at ../../src/mesa/main/teximage.c:3365
#32 0x00007ffaa969ca94 in OpenGLImage::allocTexture(XY<int> const&, void*) ()
at /usr/lib/lightworks/libOS.so
#33 0x00007ffaa969d063 in OpenGLImage::OpenGLImage(Lw::Ptr<iHostImage,
Lw::DtorTraits, Lw::InternalRefCountTraits>, iGPUImage::eFormat) ()

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141112/074d97fd/attachment.html>


More information about the mesa-dev mailing list