help for hire? wine crashes when running http://www.verydoc

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
snacht
Level 1
Level 1
Posts: 8
Joined: Tue Sep 02, 2008 4:53 am

help for hire? wine crashes when running http://www.verydoc

Post by snacht »

Hello,

I’m willing to pay $500 to the person that can help me. Of course, free help would be even better :-)
I want to get the software at http://www.verydoc.com/dwg-to-vector.htm to run under wine. This program converts dwg to swf (flash). It’s a command line program that I want to integrate it into a web app.

I can get the conversion tool to give me it’s help message by running “wine dwg2vec”. But when I run “wine dwg2vec.exe test1.dwg tst1.swf” it crashes with a segmentation fault. One important detail: My server is headless. If I can avoid installing an X server, that would be nice. If I can’t, please help with that to. I got this far by using Xvfb.

For payment you can bid on http://www.rentacoder.com/RentACoder/mi ... 4484128264 or via whatever channel you like.

I’m running Linux 2.6.22.14-72.fc6 #1 SMP Wed Nov 21 13:44:07 EST 2007 i686 i686 i386 GNU/Linux
And wine-0.9.46.

Pllllllllease!
Stefaan
www.c-gix.nl
John Drescher

help for hire? wine crashes when running http://www.verydoc

Post by John Drescher »

I'm running Linux 2.6.22.14-72.fc6 #1 SMP Wed Nov 21 13:44:07 EST 2007 i686 i686 i386 GNU/Linux
And wine-0.9.46.
I would at least try a current version of wine. Your wine version is
several years old and there have been many fixes since then.

John
snacht
Level 1
Level 1
Posts: 8
Joined: Tue Sep 02, 2008 4:53 am

Post by snacht »

Thanks John,
I tried upgrading. yum only has 0.9.46. I could not find more recent rpms for fedora anywhere. Do you have any idea how I could go about upgrading to 1.0?
Thanks.
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

snacht wrote:Thanks John,
I tried upgrading. yum only has 0.9.46. I could not find more recent rpms for fedora anywhere. Do you have any idea how I could go about upgrading to 1.0?
Thanks.
The latest version of Wine will still crash, I've tested it and I'm looking at why right now.
snacht
Level 1
Level 1
Posts: 8
Joined: Tue Sep 02, 2008 4:53 am

Post by snacht »

Great! thanks. :D
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

snacht wrote:Great! thanks. :D
did you test this tool on windows before asking?

After spending some time trying to figure out why this wasn't working, I tested the program on windows and it doesn't work either, converting dwg to swf it says "Conversion fail", the same message I can reproduce on Wine.

Attempting some of the other conversions on windows the program crashes.
snacht
Level 1
Level 1
Posts: 8
Joined: Tue Sep 02, 2008 4:53 am

Post by snacht »

I did check beforehand. And I just checked again.
This is what I get:

Code: Select all

C:\devel\vr\dwg2vector>dwg2vec.exe test1.dwg testx.swf
You have 481 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> testx.swf

C:\devel\vr\dwg2vector>
That's on windows XP 2002 SP 3. A dir of the folder which was an unzip of the downloaded file verydoc_dwg2vector_cmd.zip is as follows:

Code: Select all

04-09-2008  19:30    <DIR>          .
04-09-2008  19:30    <DIR>          ..
03-03-2006  14:54           323.072 cimage.dll
14-08-2008  19:08         4.636.672 dwg2vec.exe
02-09-2008  09:10    <DIR>          fonts
14-08-2008  18:16             1.255 readme.txt
04-07-2006  15:32            16.086 romans.shx
25-06-2007  14:17         1.078.784 swfsdk.dll
14-08-2008  19:22               781 test.bat
26-09-2006  15:16            43.849 test1.dwg
01-05-2008  12:04           245.023 test2.dwg
04-09-2008  19:30           125.747 testx.swf
04-07-2006  15:32           146.006 text.dwg
02-09-2008  09:19         1.922.544 _test1-0001.svg
02-09-2008  09:19           273.690 _test1.eps
02-09-2008  09:20           294.414 _test1.pcl
02-09-2008  09:19            66.487 _test1.pdf
02-09-2008  09:20           555.475 _test1.plt
02-09-2008  09:19           273.690 _test1.ps
02-09-2008  09:26           125.747 _test1.swf
02-09-2008  09:20         1.922.544 _test1_bw-0001.svg
02-09-2008  09:20           125.221 _test1_bw.swf
02-09-2008  09:19           855.916 _test1_emf-0001.emf
02-09-2008  09:19         1.154.572 _test1_wmf-0001.wmf
02-09-2008  09:26         2.490.368 _test2.pcl
02-09-2008  09:20           942.993 _test2.pdf
              23 File(s)     17.620.936 bytes
               3 Dir(s)  14.399.479.808 bytes free

All the files are generated when you run the test.bat file.
Thanks for looking into this.
Stefaan
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

running the test after an unzip of the program onto my windows 2003 desktop

something seems bugged with the program...
C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1.pdf
You have 485 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1.pdf
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1_wmf.wmf
You have 484 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1_wmf.wmf
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1_emf.emf
You have 483 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1_emf.emf
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1.ps
You have 482 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1.ps
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1.eps
You have 481 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1.eps
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1.svg
You have 480 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1.svg
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1.swf
You have 479 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1.swf
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1.pcl
You have 478 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1.pcl
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1.plt
You have 477 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1.plt
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test1.dwg _test1.xps
You have 476 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1.xps
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe -colormode 1 test1.dwg _test1_bw.svg
You have 475 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1_bw.svg
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe -colormode 1 test1.dwg _test1_bw.swf
You have 474 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> _test1_bw.swf
Conversion fail (test1.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test2.dwg _test2.pdf
You have 473 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test2.dwg ==> _test2.pdf
Conversion fail (test2.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test2.dwg _test2.xps
You have 472 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test2.dwg ==> _test2.xps
Conversion fail (test2.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test2.dwg _test2.pcl
You have 471 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test2.dwg ==> _test2.pcl
Conversion fail (test2.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test2.dwg _test2_wmf.wmf
You have 470 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test2.dwg ==> _test2_wmf.wmf
Conversion fail (test2.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test2.dwg _test2_emf.emf
You have 469 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test2.dwg ==> _test2_emf.emf
Conversion fail (test2.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe test2.dwg _test2.ps
You have 468 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test2.dwg ==> _test2.ps
Conversion fail (test2.dwg).

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe -colormode 1 -byview -width 792 -height 612 test2.dwg _test2_byview.pdf

C:\Documents and Settings\Administrator\Desktop\v\verydoc_dwg2vector_cmd>dwg2vec.exe text.dwg _text.pdf
You have 466 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
text.dwg ==> _text.pdf
Conversion fail (text.dwg).
snacht
Level 1
Level 1
Posts: 8
Joined: Tue Sep 02, 2008 4:53 am

Post by snacht »

Mhh...2003 server to desktop conversion. Could it be you are missing a dll.
I have used a tool called Dependency Walker. It's reports the following dll dependencies:
c:\windows\system32\GDI32.DLL
c:\windows\system32\WINSPOOL.DRV
c:\windows\system32\ADVAPI32.DLL
c:\windows\system32\OLEAUT32.DLL
c:\windows\system32\MSVCRT.DLL
c:\devel\vr\dwg2vector\CIMAGE.DLL
c:\windows\system32\MSVCP60.DLL
Does that shed any light?
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

snacht wrote:Mhh...2003 server to desktop conversion. Could it be you are missing a dll.
I have used a tool called Dependency Walker. It's reports the following dll dependencies:
c:\windows\system32\GDI32.DLL
c:\windows\system32\WINSPOOL.DRV
c:\windows\system32\ADVAPI32.DLL
c:\windows\system32\OLEAUT32.DLL
c:\windows\system32\MSVCRT.DLL
c:\devel\vr\dwg2vector\CIMAGE.DLL
c:\windows\system32\MSVCP60.DLL
Does that shed any light?
Yes, none of those are missing otherwise it would produce a messagebox saying they're missing.

I sent an email to the support@ address asking why it doesn't work on windows 2003.

in theory, it should be no different to xp for something as simple as this
Rico
Moderator
Moderator
Posts: 91
Joined: Sat Feb 23, 2008 12:10 pm

Post by Rico »

I got the same error message on wine like you on windows 2003.

WINEPREFIX=~/.wine_dxf wine dwg2vec.exe test1.dwg kliitest1.pdf
You have 496 time to evaluate this product, you may purchase a full version from http://www.verypdf.com or http://www.verydoc.com web site.
test1.dwg ==> kliitest1.pdf
fixme:atl:AtlModuleInit SEMI-STUB (0x11aeec8 0x114bcd0 0x980000)
Conversion fail (test1.dwg).
snacht
Level 1
Level 1
Posts: 8
Joined: Tue Sep 02, 2008 4:53 am

Post by snacht »

Jeff,
In the mean time, do you have suggestions on what I can do to figure out how I can get it to work. What is the usual plan of attack when an app does not work? Is it usually missing dependencies? What can I do to learn more?
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

snacht wrote:Jeff,
In the mean time, do you have suggestions on what I can do to figure out how I can get it to work. What is the usual plan of attack when an app does not work? Is it usually missing dependencies? What can I do to learn more?
When a program does not work as expected under Wine, it's a bug in wine, it needs to be investigated to figure out where things are going wrong. In this case, it also doesn't work on Windows (2003 atleast) so it's a little trickier because it means that in some circumstances it should not run under Wine.

It's not missing dependencies, it's usually incompatibility, Windows does one thing when running the app and Wine does another. I'll take another look today.
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

snatcht,

I've debugged this further and it appears that the program only works by chance on Windows XP and fails by chance on 2003. The program appears to corrupt itself when running due to programmer error, the nature of "undefined behaviour" when programming in C or C++ is that if you make a mistake, things may or may not work correctly.

In this case, the program appears to overwrite its own instructions with garbage on windows 2003. When it executes the garbage instructions the program page faults, which is probably handled by the programs exception handler and the "Conversion fail" message is printed.

It's likely that on XP where you say this program works, it may corrupt other sections of the running program that are not important and so it runs fine for you.

So, if this is the case, it's virtually impossible to "fix" Wine for this program to run, since it the behaviour it exhibits is beyond normal.

I've sent some details to the support@ email address, describing the crash and error on Windows 2003.

It's likely that if they fix the program to run reliably on Windows then it will run reliably on Wine.
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

Verydoc say they will install Windows 2003 and investigate the issue with their program.
Dotan Cohen

help for hire? wine crashes when running http://www.verydoc

Post by Dotan Cohen »

Moderator: All the spam removed and nothing meaningful left. Poster please consider what you posting. Or all you posts will be removed from the forum.
snacht
Level 1
Level 1
Posts: 8
Joined: Tue Sep 02, 2008 4:53 am

Post by snacht »

Thanks Dotan,
Already in the works!

Stefaan
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Re: help for hire? wine crashes when running http://www.very

Post by jeffz »

Dotan Cohen wrote:2008/9/4 snacht <[email protected]>:
I'm willing to pay $500 to the person that can help me. Of course,
free help would be even better :-)
That's what these guys do:
http://www.codeweavers.com/

In fact, they port their improvements back to Wine, so you are in fact
helping support Wine when you pay them.

In any case, write to the author of the Windows software and let them
know that there is interest in using their applications under Linux.
If we don't ask, then the software devs won't know that is what we
want.

--
Dotan Cohen
Dotan

I've already offered to help and I do contribute to Wine. Harassing developers over rewriting their software isn't helpful, especially since Wine provides a way for Windows applications to run on GNU/Linux, your comment makes less sense.

Please read the thread before posting your spam.
Dotan Cohen

help for hire? wine crashes when running http://www.verydoc

Post by Dotan Cohen »

2008/9/5 jeffz <[email protected]>:
I've already offered to help and I do contribute to Wine. Harassing
developers over rewriting their software isn't helpful, especially since
Wine provides a way for Windows applications to run on GNU/Linux,
your comment makes less sense.
Wine provides a way for _some_ Windows applications to run on
GNU/Linux. Software that does not run in Wine, and which does not have
a native Linux version available, cannot currently run on Linux. So
why do you discourage users from contacting the developers of the
software that they want to use? Would you discourage a user from
filing bugs with Wine? Do you consider that harassment as well?


Please read the thread before posting your spam.
I did read the thread. I answered to OP with an answer relevant to his question.

Please tell me why you feel that my message was unsolicited, or under
what definitions of bulk a single message fall under. You may want to
understand what the term spam means before you use it. Not all
messages that you do not like for one reason or another are spam.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
×
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: help for hire? wine crashes when running http://www.very

Post by vitamin »

Dotan Cohen wrote:Please tell me why you feel that my message was unsolicited, or under
what definitions of bulk a single message fall under. You may want to
understand what the term spam means before you use it. Not all
messages that you do not like for one reason or another are spam.
Codewavers already have enough advertisement all over Wine. Adding more doesn't help. And comments like that will discourage some developers from getting into Wine.
Telling every company to write their software for Linux doesn't help to solve a problem at hand - non-working application on Wine.

Please refrain from posts like that in the future.
snacht
Level 1
Level 1
Posts: 8
Joined: Tue Sep 02, 2008 4:53 am

Post by snacht »

At the risk of getting on someone's shit list, let me, the person who originally posted the problem, share the following.

Before I posted, I actually contacted codeweavers and asked for their help (also $500). The reply was a minimum of $2500. "No" was the answer to "is that no cure/no pay".

My take: let "supply and demand" do its work.

Stefaan
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

snacht wrote:At the risk of getting on someone's shit list, let me, the person who originally posted the problem, share the following.

Before I posted, I actually contacted codeweavers and asked for their help (also $500). The reply was a minimum of $2500. "No" was the answer to "is that no cure/no pay".

My take: let "supply and demand" do its work.

Stefaan
Correct, they are business and they have lots of business expenses. $500 won't be enough to pay even for an hour of their time.

Same thing about telling companies to rewrite their software for Linux. And they will do what with it? Give it away for free? Sell it to 2 people who actually does use Linux? It's not a browser that everyone needs.

At the same time number of "free" developers might pick the challenge and try to fix it. After all $500 is a big money in some places.
Locked