http://bugs.winehq.org/show_bug.cgi?id=28420
Summary: serious problem in running schrankplaner.exe Product: Wine Version: unspecified Platform: x86 URL: javascript:downloahttp://www.schrankplaner.de/deu/4_Pl anen&Bestellen/41_GratisSoftware/45_Gratis-Software.ht ml?PHPSESSID=25bda3c1dc1d0b9440e7c516aaa00b46d('./soft ware_de/schrankplaner_setup.exe','1') OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: muemarco@gmail.com
after installing the program successfully by creating a .verb file and running it with the command winetricks schrankplaner.verb, the program crashes when I start it from the wine program list.
http://bugs.winehq.org/show_bug.cgi?id=28420
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL|javascript:downloahttp://ww |http://www.schrankplaner.de |w.schrankplaner.de/deu/4_Pl |/deu/4_Planen&Bestellen/41_ |anen&Bestellen/41_GratisSof |GratisSoftware/45_Gratis-So |tware/45_Gratis-Software.ht |ftware.html |ml?PHPSESSID=25bda3c1dc1d0b | |9440e7c516aaa00b46d('./soft | |ware_de/schrankplaner_setup | |.exe','1') |
--- Comment #1 from Austin English austinenglish@gmail.com 2011-09-19 13:43:49 CDT --- Wine version? Please attach terminal output.
http://bugs.winehq.org/show_bug.cgi?id=28420
--- Comment #2 from Marco muemarco@gmail.com 2011-09-23 10:33:41 CDT --- Wine Version 1.2.2.
There is no terminal Output, since I'm not running it from a terminal but rather from the wine application directly under Wine->Programs->Schrankplaner->Schrankplaner
It opens a Program Error Window that says: "Teh program Schrankplaner.exe has encountered a serious problem and needs to close. We are sorry for the invonvenience.
Further it says this can be caused by a problem in the program or a deficiency in Wine. The program actually works perfect in the windows 7 environment.
http://bugs.winehq.org/show_bug.cgi?id=28420
--- Comment #3 from Marco muemarco@gmail.com 2011-09-23 10:36:30 CDT --- ... after closing the Program Error Windows an other window pops up and says. Exception EExternalException in Modul ntdll.dll at 0002E8B8, Externe Exception C0000025.
http://bugs.winehq.org/show_bug.cgi?id=28420
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2011-09-23 13:15:28 CDT --- (In reply to comment #0)
after installing the program successfully by creating a .verb file and running it with the command winetricks schrankplaner.verb, the program crashes when I start it from the wine program list.
Could you explain a bit more clear how one should run this app? I tried running Schrankplaner.exe but for me it just exits instantly with:
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 128 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 27275 Current serial number in output stream: 27275
http://bugs.winehq.org/show_bug.cgi?id=28420
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.2.2
http://bugs.winehq.org/show_bug.cgi?id=28420
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|serious problem in running |Schrankplaner (german |schrankplaner.exe |cupboard/furniture planning | |software) crashes
--- Comment #5 from Anastasius Focht focht@gmx.net 2012-01-01 12:14:00 CST --- Hello,
can't reproduce the crash. Went through all steps, e.g. planning a cupboard. Please retest with _recent_ Wine version and describe exact steps to reproduce.
The rendering of the cupboard is broken for me (resize main window to see, looks more like X/graphics driver bugs).
$ sha1sum schrankplaner_setup.exe 8616add4d2a713a7cffda00b7e5061e06e676bdd schrankplaner_setup.exe
$ wine --version wine-1.3.36
Regards
https://bugs.winehq.org/show_bug.cgi?id=28420
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Schrankplaner (german |Schrankplaner (german |cupboard/furniture planning |cupboard/furniture planning |software) crashes |software) crashes on | |startup (OSMesa/OpenGL | |bitmap driver writes past | |DIB render buffer) Ever confirmed|0 |1
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting and confirming now.
It seems this is one of the few apps requiring OpenGL bitmap support (libOSMesa). Without OpenGL bitmap support enabled Wine you don't get the startup crash.
libOSMesa on my system: mesa-libOSMesa-9.2.4-1.20131128.fc19 (i686 and x86_64)
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+opengl wine ./Schrankplaner.exe >>log.txt 2>&1 ... 0025:Ret opengl32.wglMakeCurrent() retval=00000001 ret=10042672 0025:Call opengl32.glViewport(00000000,00000000,000005e0,00000359) ret=1004268d 0025:trace:opengl:glViewport (0, 0, 1504, 857) 0025:Ret opengl32.glViewport() retval=7ca85d7c ret=1004268d 0025:Call opengl32.glRenderMode(00001c00) ret=100426e7 0025:trace:opengl:glRenderMode (7168) 0025:Ret opengl32.glRenderMode() retval=00000000 ret=100426e7 0025:Call opengl32.glClear(00000100) ret=100426f7 0025:trace:opengl:glClear (256) 0025:Ret opengl32.glClear() retval=7ca78c40 ret=100426f7 ... 0025:Call opengl32.wglMakeCurrent(000202ad,00010001) ret=10038b33 0025:Call opengl32.wglGetPixelFormat(000202ad) ret=7ebf8713 0025:Call gdi32.__wine_get_wgl_driver(000202ad,0000000b) ret=7d3cf675 0025:Ret gdi32.__wine_get_wgl_driver() retval=7ec3b480 ret=7d3cf675 0025:Ret opengl32.wglGetPixelFormat() retval=00000001 ret=7ebf8713 0025:Ret opengl32.wglMakeCurrent() retval=00000001 ret=10038b33 0025:Call opengl32.glViewport(00000000,00000000,000005e0,00000359) ret=10038b4e 0025:trace:opengl:glViewport (0, 0, 1504, 857) 0025:Ret opengl32.glViewport() retval=7ca85d7c ret=10038b4e 0025:Call opengl32.glClearColor(3f800000,3f800000,3f800000,00000000) ret=10038bb6 0025:trace:opengl:glClearColor (1.000000, 1.000000, 1.000000, 0.000000) 0025:Ret opengl32.glClearColor() retval=7ca78c40 ret=10038bb6 0025:Call opengl32.glClear(00004000) ret=10038bc6 0025:trace:opengl:glClear (16384) 0025:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7b56cf97 ip=7b56cf97 tid=0025 0025:trace:seh:raise_exception info[0]=00000001 0025:trace:seh:raise_exception info[1]=08111000 0025:trace:seh:raise_exception eax=08111004 ebx=7b7e5000 ecx=00000283 edx=00ffffff esi=000005e0 edi=00001780 0025:trace:seh:raise_exception ebp=08111e00 esp=00e0cf50 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210287 0025:trace:seh:call_stack_handlers calling handler at 0x101ce5d6 code=c0000005 flags=0 0025:trace:seh:call_stack_handlers handler at 0x101ce5d6 returned 1 0025:trace:seh:call_stack_handlers calling handler at 0x73dc2e0a code=c0000005 flags=0 0025:trace:seh:call_stack_handlers handler at 0x73dc2e0a returned 1 0025:trace:seh:call_stack_handlers calling handler at 0x101ce470 code=c0000005 flags=0 0025:trace:seh:call_stack_handlers handler at 0x101ce470 returned 1 ... 0025:Call user32.MessageBoxA(00010090,04eed9c4 "Zugriffsverletzung bei Adresse 7B56CF97. Schreiben von Adresse 08111000.",072dfb9c "Schrankplaner",00000010) ret=004895eb --- snip ---
The crash happens in glClear(GL_ACCUM_BUFFER_BIT) The call is issued from 'vdpro.ocx' library and the mask is hard coded.
Using gdb proxy mode I gathered the following infos
--- snip --- $ winedbg --gdb ./Schrankplaner.exe ... Wine-gdb> handle SIGSEGV Signal Stop Print Pass to program Description SIGSEGV Yes Yes Yes Segmentation fault
Wine-gdb> c Continuing. fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
Program received signal SIGSEGV, Segmentation fault. 0x7b56cf97 in clear_rgba_buffer (colorMask=0x7ce00e14 '\377' <repeats 32 times>, "\004\004", rb=0x7cca7b40, ctx=0x7ce00008) at ../../src/mesa/swrast/s_clear.c:147 147 SIMPLE_TYPE_CLEAR(GLuint);
Wine-gdb> bt #0 0x7b56cf97 in clear_rgba_buffer (colorMask=0x7ce00e14 '\377' <repeats 32 times>, "\004\004", rb=0x7cca7b40, ctx=0x7ce00008) at ../../src/mesa/swrast/s_clear.c:147
#1 clear_color_buffers (ctx=<optimized out>) at ../../src/mesa/swrast/s_clear.c:190
#2 _swrast_Clear (ctx=0x7ce00008, buffers=1) at ../../src/mesa/swrast/s_clear.c:230
#3 0x7b4525d7 in _mesa_Clear (mask=<optimized out>) at ../../src/mesa/main/clear.c:202
#4 0x7b6584f6 in glClear (mask=16384) at ../../../src/mapi/glapi/glapi_mapi_tmp.h:2823
#5 0x7d30774a in glClear (mask=16384) at /home/focht/projects/wine/wine.repo/src/dlls/opengl32/opengl_norm.c:110
#6 0x10038bc6 in ?? ()
Wine-gdb> info locals row = <optimized out> pixel = 16777215 pixelMask = 2095054856 height = 857 width = 1504 pixelSize = 4 j = <optimized out> x = <optimized out> map = 0x6680680 "\377\377\377" rowStride = 6016 y = <optimized out> doMasking = <optimized out> clearColor = <optimized out> mapMode = <optimized out> i = 643
Wine-gdb> disas ... 0x7b56cf3f <+2191>: call 0x7b493330 <_mesa_pack_float_rgba_row> ... 0x7b56cf90 <+2272>: mov 0x60(%esp),%edx 0x7b56cf94 <+2276>: lea 0x4(%eax),%eax => 0x7b56cf97 <+2279>: mov %edx,-0x4(%eax)
Wine-gdb> p $eax-4 0x6681000 --- snip ---
--- snip --- $ cat /proc/32502/maps | grep 06681000 062d0000-06681000 rwxp 00000000 00:00 0 06681000-06690000 ---p 00000000 00:00 0 --- snip ---
Source code:
http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/swrast/s_clear.c?id=mesa...
http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/swrast/s_clear.c?id=mesa...
--- snip --- /* for 1, 2, 4-byte clearing */ #define SIMPLE_TYPE_CLEAR(TYPE) \ do { \ TYPE pixel, pixelMask; \ _mesa_pack_float_rgba_row(rb->Format, 1, clearColor, &pixel); \ if (doMasking) { \ _mesa_pack_colormask(rb->Format, colorMask, &pixelMask); \ pixel &= pixelMask; \ pixelMask = ~pixelMask; \ } \ for (i = 0; i < height; i++) { \ TYPE *row = (TYPE *) map; \ if (doMasking) { \ for (j = 0; j < width; j++) { \ row[j] = (row[j] & pixelMask) | pixel; \ } \ } \ else { \ for (j = 0; j < width; j++) { \ row[j] = pixel; \ } \ } \ map += rowStride; \ } \ } while (0) --- snip ---
From a quick calculation it seems the crash is caused by OSMesa code writing
past the end of render buffer so it seems Wine's gdi/dib driver allocates to small?
map (render buffer) = 0x062d0000 (range: 062d0000-06681000) height = 857 rowStride = 6016 (w=1504*bpp=4)
$ sha1sum schrankplaner_setup.exe 1ba6e22ba4f8e5be409337daff8a2d57db5d8723 schrankplaner_setup.exe
$ du -sh schrankplaner_setup.exe 36M schrankplaner_setup.exe
$ wine --version wine-1.7.14
Regards
https://bugs.winehq.org/show_bug.cgi?id=28420
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #7 from joaopa jeremielapuree@yahoo.fr --- For me, with wine-4.0-rc1 and the demo https://download.cnet.com/Schrankplaner/3000-6677_4-76145107.html everything is OK. I have an error message but the software works.
Can anyone confirm?
https://bugs.winehq.org/show_bug.cgi?id=28420
--- Comment #8 from Anastasius Focht focht@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@entry=0x7af366b0, src_format=src_format@entry=PIPE_FORMAT_R32_UINT, dst_format=dst_format@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
https://bugs.winehq.org/show_bug.cgi?id=28420
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #9 from temp82@luukku.com --- the download seems gone. the website has this message:
" "einfach GENIAL" Dreh bei schrankplaner.de
Der 11 jährige Phillip bekommt einen Schrank nach Maß ins Kinderzimmer. Von der Planung über die Fertigung bis zum aufgebauten Wunschmöbel hat ein Team des MDR gefilmt, wie ein Schrank entsteht.
Mittlerweile wird die Planung online über unseren 3D Konfigurator vorgenommen. Eine Software muss dafür nicht mehr auf den heimischen PC installiert werden. Sehen Sie in dem Video, wie genial das Schrankplaner Prinzip ist:".
I cant read german so well.