[Bug 28420] Schrankplaner (german cupboard/furniture planning software) crashes on startup (OSMesa/ OpenGL bitmap driver writes past DIB render buffer)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 16 05:55:49 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=28420

--- Comment #8 from Anastasius Focht <focht at gmx.net> ---
Hello joaopa,

no, still crashes for me although it seems to be another Mesa/OSMesa problem.

Really make sure your Wine was built OpenGL bitmap support (libOSMesa), see my
comment #6 - otherwise it's pointless to test.

--- snip ---
...
0009:Call
gdi32.CreateDIBSection(000c02eb,00e0e8a0,00000000,00e0e86c,00000000,00000000)
ret=1003451b
0009:Ret  gdi32.CreateDIBSection() retval=000202f2 ret=1003451b
...
0009:Call opengl32.wglGetPixelFormat(000402ed) ret=7e793dd0
0009:Call gdi32.__wine_get_wgl_driver(000402ed,00000013) ret=7a8b3848
0009:Ret  gdi32.__wine_get_wgl_driver() retval=7e7d67a0 ret=7a8b3848
0009:Ret  opengl32.wglGetPixelFormat() retval=00000001 ret=7e793dd0
0009:trace:seh:raise_exception code=c0000090 flags=0 addr=0x786e27a8
ip=786e27ac tid=0009
0009:trace:seh:raise_exception  eax=00000000 ebx=7ad1a9f0 ecx=00000000
edx=00000004 esi=78994954 edi=7afcf468
0009:trace:seh:raise_exception  ebp=00e0de9c esp=00e0de30 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010247
0009:trace:seh:call_stack_handlers calling handler at 0x101bab90 code=c0000090
flags=0
0009:trace:seh:cxx_frame_handler handling C exception code c0000090  rec
0xe0ddd8 frame 0xe0e7dc trylevel 0 descr 0x101e6e60 nested_frame (nil)
0009:trace:seh:call_catch_block found catch(...) block
0009:trace:seh:_CreateFrameInfo (0xe0d8ec, (nil)) 
--- snip ---

--- snip ---
$ winedbg --gdb ./Schrankplaner.exe

Thread 1 received signal SIGFPE, Arithmetic exception.
0x786e27ac in lp_build_tgsi_info (tokens=<optimized out>, info=<optimized out>)
at gallivm/lp_bld_tgsi_info.c:584
584                      if (value < 0.0f || value > 1.0f) {

Wine-gdb> bt
#0  0x786e27ac in lp_build_tgsi_info (tokens=<optimized out>, info=<optimized
out>) at gallivm/lp_bld_tgsi_info.c:584
#1  0x7873b7dc in llvmpipe_create_fs_state (pipe=0x7aec9c90, templ=0xe0e0a4) at
lp_state_fs.c:2915
#2  0x786513c8 in ureg_create_shader (ureg=0x7af37b10, pipe=0x7aec9c90, so=0x0)
at tgsi/tgsi_ureg.c:2129
#3  0x786745b2 in ureg_create_shader_with_so_and_destroy (so=0x0,
pipe=0x7aec9c90, p=0x7af37b10) at ./tgsi/tgsi_ureg.h:153
#4  ureg_create_shader_and_destroy (pipe=0x7aec9c90, p=0x7af37b10) at
./tgsi/tgsi_ureg.h:153
#5  util_make_fragment_tex_shader_writemask (pipe=0x7aec9c90, tex_target=1,
interp_mode=1, writemask=15, stype=TGSI_RETURN_TYPE_UINT,
dtype=TGSI_RETURN_TYPE_SINT, load_level_zero=false, 
    use_txf=false) at util/u_simple_shaders.c:306
#6  0x78674b5e in util_make_fragment_tex_shader (pipe=0x7aec9c90, tex_target=1,
interp_mode=1, stype=TGSI_RETURN_TYPE_UINT, dtype=TGSI_RETURN_TYPE_SINT,
load_level_zero=false, use_txf=false)
    at util/u_simple_shaders.c:323
#7  0x78659924 in blitter_get_fs_texfetch_col (ctx=ctx at entry=0x7af366b0,
src_format=src_format at entry=PIPE_FORMAT_R32_UINT,
dst_format=dst_format at entry=PIPE_FORMAT_R32_SINT, 
    target=PIPE_TEXTURE_1D, src_nr_samples=1, dst_nr_samples=1, filter=0,
use_txf=false) at util/u_blitter.c:963
#8  0x7865b6b3 in util_blitter_cache_all_shaders (blitter=0x7af366b0) at
util/u_blitter.c:1160
#9  0x787230bd in llvmpipe_create_context (screen=<optimized out>,
priv=<optimized out>, flags=<optimized out>) at lp_context.c:213
#10 0x784b79f3 in st_api_create_context (stapi=0x7896a140 <st_gl_api>,
smapi=0x7af66660, attribs=0xe0e5e0, error=0xe0e5dc, shared_stctxi=0x0) at
state_tracker/st_manager.c:888
#11 0x7871e049 in OSMesaCreateContextAttribs (attribList=0xe0e66c,
sharelist=0x0) at osmesa.c:700
#12 0x7871e35a in OSMesaCreateContextExt (format=1, depthBits=32,
stencilBits=8, accumBits=16, sharelist=0x0) at osmesa.c:572
#13 0x7e73a132 in dibdrv_wglCreateContext (hdc=0x402ed) at
/home/focht/projects/wine/mainline-src/dlls/gdi32/dibdrv/opengl.c:202
#14 0x7a8b31c9 in wglCreateContext (hdc=<optimized out>) at
/home/focht/projects/wine/mainline-src/dlls/opengl32/wgl.c:411
#15 0x100231f9 in ?? ()
#16 0x10023381 in ?? ()
--- snip ---

sha1sum schrankplaner_setup.exe 
1ba6e22ba4f8e5be409337daff8a2d57db5d8723  schrankplaner_setup.exe
n550[~/Downloads] wine --version
wine-4.0-rc2-3-g81bccb371f

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list