anagisela
2008-Jul-22 16:40 UTC
[Wine] Does anyone have install BobCad-Cam on Ubuntu using wine?
Hi, does anyone have install BobCad-Cam on Ubuntu using wine? I just want to know if it's possible to run this application on ubuntu. I already installed but when I try to run it, I can see the logo but then it chashes and send me this message: anagisela at anagisela-laptop:~$ env WINEPREFIX="/home/anagisela/.wine" wine "C:\Program Files\BobCAD-CAM\BobCAD-CAM V21\BobCAD21.exe" Seattle Debug: <<<<<<<<<< Created CSmCurve: 02430618 >>>>>>>>>> wine: Unhandled division by zero at address 0x7e558660 (thread 0009), starting debugger... Unhandled exception: divide by zero in 32-bit code (0x7e558660). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7e558660 ESP:0033efd4 EBP:0033f03c EFLAGS:00210287( - 00 RISP1C) EAX:ffffffff EBX:7e58323c ECX:00000000 EDX:ffffffff ESI:00000000 EDI:001653e0 Stack dump: 0x0033efd4: 0001007e 00000000 0033f338 0033f168 0x0033efe4: 00000010 b7eb1da4 7bc63c2b 7bc89464 0x0033eff4: 7bc89464 0033f040 0033f0bc 7bc541d4 0x0033f004: 00000001 0033f7a8 0001007e 00000000 0x0033f014: 00000000 00000000 001653e0 00000000 0x0033f024: 0001007e 00000003 7e55858d 7e58323c Backtrace: =>1 0x7e558660 in comctl32 (+0x78660) (0x0033f03c) 2 0x7e55ace0 in comctl32 (+0x7ace0) (0x0033f0fc) 3 0x7ebd29da WINPROC_wrapper+0x1a() in user32 (0x0033f12c) 4 0x7ebd30be WINPROC_wrapper+0x6fe() in user32 (0x0033f16c) 5 0x7ebd5ee1 in user32 (+0xb5ee1) (0x0033f62c) 6 0x7ebd84e2 in user32 (+0xb84e2) (0x0033f66c) 7 0x7eb9b27a in user32 (+0x7b27a) (0x0033f6dc) 8 0x7eb9e4fd in user32 (+0x7e4fd) (0x0033f73c) 9 0x7eb9e90e SendMessageA+0x4e() in user32 (0x0033f77c) 10 0x0057d816 in bobcad21 (+0x17d816) (0x0242c118) 11 0x00000002 (0x00c90418) 12 0x005617a0 in bobcad21 (+0x1617a0) (0x005618a0) 13 0x08244c8b (0x0c24448b) 0x7e558660: idivl 0xffffffd4(%ebp),%eax Modules: Module Address Debug info Name (119 modules) PE 340000- 3b3000 Deferred iges_nmtlibr PE 3c0000- 3e9000 Deferred sw_nmtlibr PE 400000- 17f1000 Export bobcad21 PE 1800000- 19c6000 Deferred nlibr PE 19d0000- 1b1e000 Deferred hw_nmtlib_corer PE 1b20000- 1cbb000 Deferred step_nmtlibr PE 1cc0000- 1dfe000 Deferred parasolid_nmtlibr PE 1e00000- 1f7d000 Deferred ncverifyr PE 1f80000- 1fb8000 Deferred glut32 PE 1fc0000- 1ffa000 Deferred on_nmtlibr PE 2000000- 2260000 Deferred opennurbs PE 2260000- 2301000 Deferred sat_nmtlibr PE 10000000-10459000 Deferred nmtlibr PE 70d00000-70ea0000 Deferred gdiplus ELF 7b800000-7b931000 Deferred kernel32<elf> \-PE 7b820000-7b931000 \ kernel32 ELF 7bc00000-7bca5000 Deferred ntdll<elf> \-PE 7bc10000-7bca5000 \ ntdll ELF 7bf00000-7bf03000 Deferred <wine-loader> PE 7c140000-7c243000 Deferred mfc71 PE 7c340000-7c396000 Deferred msvcr71 PE 7c3a0000-7c41b000 Deferred msvcp71 ELF 7c7ac000-7c7f9000 Deferred libgcrypt.so.11 ELF 7c7f9000-7c809000 Deferred libtasn1.so.3 ELF 7c809000-7c83b000 Deferred libcrypt.so.1 ELF 7c83b000-7c8b1000 Deferred libgnutls.so.13 ELF 7c8b1000-7c8d4000 Deferred libk5crypto.so.3 ELF 7d9dc000-7d9e0000 Deferred libgpg-error.so.0 ELF 7d9e0000-7d9e3000 Deferred libkeyutils.so.1 ELF 7d9e3000-7da70000 Deferred libkrb5.so.3 ELF 7da70000-7da99000 Deferred libgssapi_krb5.so.2 ELF 7da99000-7dacc000 Deferred libcups.so.2 ELF 7daf0000-7dbb3000 Deferred libasound.so.2 ELF 7dcb3000-7dcbb000 Deferred libkrb5support.so.0 ELF 7dccb000-7dcfe000 Deferred uxtheme<elf> \-PE 7dcd0000-7dcfe000 \ uxtheme ELF 7dcfe000-7dd12000 Deferred midimap<elf> \-PE 7dd00000-7dd12000 \ midimap ELF 7dd12000-7dd38000 Deferred msacm32<elf> \-PE 7dd20000-7dd38000 \ msacm32 ELF 7dd38000-7dd4f000 Deferred msacm32<elf> \-PE 7dd40000-7dd4f000 \ msacm32 ELF 7dd4f000-7dd84000 Deferred winealsa<elf> \-PE 7dd60000-7dd84000 \ winealsa ELF 7de39000-7e05a000 Deferred savage_dri.so ELF 7e05a000-7e063000 Deferred libxcursor.so.1 ELF 7e063000-7e066000 Deferred libxcomposite.so.1 ELF 7e066000-7e06c000 Deferred libxrandr.so.2 ELF 7e06c000-7e074000 Deferred libxrender.so.1 ELF 7e074000-7e077000 Deferred libxinerama.so.1 ELF 7e082000-7e085000 Deferred libcom_err.so.2 ELF 7e087000-7e0a7000 Deferred imm32<elf> \-PE 7e090000-7e0a7000 \ imm32 ELF 7e0a7000-7e13e000 Deferred winex11<elf> \-PE 7e0c0000-7e13e000 \ winex11 ELF 7e1da000-7e1fb000 Deferred libexpat.so.1 ELF 7e1fb000-7e225000 Deferred libfontconfig.so.1 ELF 7e235000-7e24a000 Deferred libz.so.1 ELF 7e24a000-7e2ba000 Deferred libfreetype.so.6 ELF 7e2ba000-7e2ef000 Deferred winspool<elf> \-PE 7e2c0000-7e2ef000 \ winspool ELF 7e2ef000-7e404000 Deferred shell32<elf> \-PE 7e300000-7e404000 \ shell32 ELF 7e404000-7e4af000 Deferred comdlg32<elf> \-PE 7e410000-7e4af000 \ comdlg32 ELF 7e4af000-7e4d6000 Deferred oledlg<elf> \-PE 7e4b0000-7e4d6000 \ oledlg ELF 7e4d6000-7e596000 Export comctl32<elf> \-PE 7e4e0000-7e596000 \ comctl32 ELF 7e596000-7e5bc000 Deferred odbc32<elf> \-PE 7e5a0000-7e5bc000 \ odbc32 ELF 7e5bc000-7e64e000 Deferred winmm<elf> \-PE 7e5d0000-7e64e000 \ winmm ELF 7e64e000-7e6a7000 Deferred shlwapi<elf> \-PE 7e660000-7e6a7000 \ shlwapi ELF 7e6a7000-7e74c000 Deferred oleaut32<elf> \-PE 7e6c0000-7e74c000 \ oleaut32 ELF 7e74c000-7e75f000 Deferred libresolv.so.2 ELF 7e75f000-7e77d000 Deferred iphlpapi<elf> \-PE 7e770000-7e77d000 \ iphlpapi ELF 7e77d000-7e7df000 Deferred rpcrt4<elf> \-PE 7e790000-7e7df000 \ rpcrt4 ELF 7e7df000-7e883000 Deferred ole32<elf> \-PE 7e7f0000-7e883000 \ ole32 ELF 7e883000-7e88e000 Deferred libgcc_s.so.1 ELF 7e981000-7ea04000 Deferred libglu.so.1 ELF 7ea04000-7ea1a000 Deferred glu32<elf> \-PE 7ea10000-7ea1a000 \ glu32 ELF 7ea1a000-7ea6c000 Deferred advapi32<elf> \-PE 7ea30000-7ea6c000 \ advapi32 ELF 7ea6c000-7eb0a000 Deferred gdi32<elf> \-PE 7ea80000-7eb0a000 \ gdi32 ELF 7eb0a000-7ec51000 Export user32<elf> \-PE 7eb20000-7ec51000 \ user32 ELF 7ec51000-7ec56000 Deferred libxdmcp.so.6 ELF 7ec56000-7ec60000 Deferred libdrm.so.2 ELF 7ec60000-7ec65000 Deferred libxfixes.so.3 ELF 7ec65000-7ec68000 Deferred libxdamage.so.1 ELF 7ec68000-7ec80000 Deferred libxcb.so.1 ELF 7ec80000-7ece2000 Deferred libgl.so.1 ELF 7ece2000-7edc9000 Deferred libx11.so.6 ELF 7edc9000-7edd7000 Deferred libxext.so.6 ELF 7edd7000-7edef000 Deferred libice.so.6 ELF 7edef000-7edf7000 Deferred libsm.so.6 ELF 7ee07000-7ee88000 Deferred opengl32<elf> \-PE 7ee20000-7ee88000 \ opengl32 ELF 7efa8000-7efb3000 Deferred libnss_files.so.2 ELF 7efb3000-7efcb000 Deferred libnsl.so.1 ELF 7efcb000-7eff0000 Deferred libm.so.6 ELF 7eff1000-7eff6000 Deferred libxxf86vm.so.1 ELF 7eff6000-7f000000 Deferred libnss_nis.so.2 ELF b7d20000-b7d22000 Deferred libxcb-xlib.so.0 ELF b7d22000-b7d25000 Deferred libxau.so.6 ELF b7d26000-b7d2f000 Deferred libnss_compat.so.2 ELF b7d30000-b7d34000 Deferred libdl.so.2 ELF b7d34000-b7e83000 Deferred libc.so.6 ELF b7e83000-b7e9b000 Deferred libpthread.so.0 ELF b7eab000-b7fe1000 Deferred libwine.so.1 ELF b7fe3000-b7fff000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 (D) C:\Program Files\BobCAD-CAM\BobCAD-CAM V21\BobCAD21.exe 00000009 0 <= 0000000c 00000012 0 0000000e 0 0000000d 0 0000000f 00000015 0 00000014 0 00000011 0 00000010 0 00000016 00000017 0 Backtrace: =>1 0x7e558660 in comctl32 (+0x78660) (0x0033f03c) 2 0x7e55ace0 in comctl32 (+0x7ace0) (0x0033f0fc) 3 0x7ebd29da WINPROC_wrapper+0x1a() in user32 (0x0033f12c) 4 0x7ebd30be WINPROC_wrapper+0x6fe() in user32 (0x0033f16c) 5 0x7ebd5ee1 in user32 (+0xb5ee1) (0x0033f62c) 6 0x7ebd84e2 in user32 (+0xb84e2) (0x0033f66c) 7 0x7eb9b27a in user32 (+0x7b27a) (0x0033f6dc) 8 0x7eb9e4fd in user32 (+0x7e4fd) (0x0033f73c) 9 0x7eb9e90e SendMessageA+0x4e() in user32 (0x0033f77c) 10 0x0057d816 in bobcad21 (+0x17d816) (0x0242c118) 11 0x00000002 (0x00c90418) 12 0x005617a0 in bobcad21 (+0x1617a0) (0x005618a0) 13 0x08244c8b (0x0c24448b) err:seh:raise_exception Unhandled exception code c0000094 flags 0 addr 0x7e558660
trevor
2008-Jul-23 21:19 UTC
[Wine] Re: Does anyone have install BobCad-Cam on Ubuntu using wine?
hello, I have BobCAD-CAM V21, and the short answer is that it doesn't currently run under wine. This is unfortunate because I use this program for work. However, I have a good knowledge of C and have been meaning to track down the root cause for this and try to fix it (I just haven't had the time yet). I have also been meaning to file a bug report about this issue, and put up an AppDB page (I should probably at least get around to doing these). The long answer: BobCAD crashes during startup because of an unhandled divide by zero at line 4988 in toolbar.c (part of comctl32.dll). The line is as follows: idealWrap = (infoPtr->nNumButtons - hidden + (rows-1)) / rows; rows ends up being zero for some reason, hence the divide by zero error. I have found that by compiling wine without this line I can get BobCAD to start up a little farther. However, it tries to call ole32.dll.OleCreateEx which is an unimplemented function. The program can be made to finish the startup process by using native DCOM. If this is done it will load up, and everything seems fine until you draw something. If you draw something the drawing area turns black and you can only see the entities (lines, arcs, etc) that were drawn if they are selected. The gcode generation does seem to work at that point, however it is tedious (you have to select all entities in the drawing to see them, and then deselect the ones that you don't want to cut). So, by following several fairly complex steps you can get the program to load, but because of the problems with the drawing area it is still not really usable at that point. Hope that answers your question. regards, Trevor