Author Topic: DB 2.48.27 crashes on Wine under Mac  (Read 10018 times)

Offline EnderCrypt

  • Bot Builder
  • **
  • Posts: 61
    • View Profile
DB 2.48.27 crashes on Wine under Mac
« on: January 01, 2016, 04:28:05 PM »
Darwinbots crashes while running on mac (el capitan) through wine (and winebottler?)
was asked by Numsgil to post this here
Darwinbots launches properly whitout any issues, further clicking [start new simulation]
and then [start new] causes this error to occur


clicking [ok] causes the application to crash

trying to restart the application (through DBlaunch.exe) causes this popup to apper



now, i couldnt find those 4 files except the "lastran.set" file, which i have uploaded to http://tempsend.com/D2065347C6
now tempsend doesent allow files to stay forever, so this file will get deleted in a month automatically im assuming, i doubt this will have any affect, but im just saying ^_^

anyways, im happy to help further and test stuff if required :)

good luck
WARNING: Found unknown Windows version: Windows 7

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #1 on: January 02, 2016, 12:16:50 AM »
have you tried loading the lastran sim?

as for uploading the actual files i think sim files are a bit tricky to upload, (if you don't know) at the bottom of the text box when posting there's a plus with attachments and other options, click to open this menu and there will be an attach section, you can either click browse... for the file or click and drag the file to it. now here's the part that may get confusing, either sim files or setting files you have to put in either a file or zipped file to be able to attach it so it may be easier just to put all those types of sets/sims in a single file when posting them here.

hope this helps. now there won't be a time limit on the post, just in case bots doesn't get back in time to check it out.

Offline EnderCrypt

  • Bot Builder
  • **
  • Posts: 61
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #2 on: January 02, 2016, 08:23:17 AM »
i started DB



i dont think that was suppose to happen..

loaded lastran, [start new]

exactly the same problem as before

ah, just didnt notice the "Attachments and other options" before this, lol
WARNING: Found unknown Windows version: Windows 7

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #3 on: January 02, 2016, 09:45:58 AM »
Works fine on my side with just the settings file. Some vegys is what I see. However, there is an overflow error that I did not bother tracking down because I did a "run and forget" on my current experiment. A quick fix for it is to simply disable safemode, that is what I did. Disable safemode will activate automatic error ignore.  If that does not help there is a good chance you have a corrupted file and need a fresh install.

When I get back from my winter break there is a good chance I will be restarting my own evolution experiment and this time I will run it from vb to try to catch this overflow error.

P.S.

When this will actually take place depends on my results, might be the end of the month. I really want this thing to prove its worth, otherwise I wasted 3 months on an idea that did not really work. However, I will give you guys a full report with my current results so it does not feel like a complete waste of time.
« Last Edit: January 02, 2016, 09:56:41 AM by Botsareus »

Offline EnderCrypt

  • Bot Builder
  • **
  • Posts: 61
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #4 on: January 02, 2016, 11:06:38 AM »
how do i disable safemode?

also, if theres any other way i can help, tell me :)
WARNING: Found unknown Windows version: Windows 7

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #5 on: January 02, 2016, 11:13:39 AM »
Go to settings, click on "global settings" and uncheck "use safe mode"

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #6 on: January 02, 2016, 11:17:29 AM »
Quote
also, if theres any other way i can help, tell me

It will be cool if you can recreate the error from vb6 since you are trying to port db2 into java. I generally will not attempt to port anything "by eye" even if I knew the language well. Installing vb6 will help you learn how db2 actually works. Problem is, it is a pain to install and find these days.

Offline EnderCrypt

  • Bot Builder
  • **
  • Posts: 61
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #7 on: January 02, 2016, 11:26:22 AM »
yeah, i tried finding VB6 for running on wine, but nothing, hmm.. isnt there any error reports that DB2 generates?

i tried running DB2 through wine's DOS terminal and didnt see any debug prints

no autogenerated error log that could help you trace the error?
WARNING: Found unknown Windows version: Windows 7

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #8 on: January 02, 2016, 11:38:00 AM »
There is a reason vb6 is pretty much dead. It has one of the most god awful debug schema on the planet. Other issues include lack of modern apis. But it is easier to learn then Java. I started writing vb6 17 years ago.

Offline EnderCrypt

  • Bot Builder
  • **
  • Posts: 61
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #9 on: January 02, 2016, 12:01:20 PM »
dont you have any plans to officially port over DB to some other language like C++ or something? wait, didnt you already do that? i think i read something about a C++ port on DB?
WARNING: Found unknown Windows version: Windows 7

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #10 on: January 02, 2016, 02:49:26 PM »
Yes, a while back Numsgil started a port to C++. I was not trilled about the idea at the time mainly because I was working on some reasonably advanced stuff and using vb to do it was easier than learning a new language. I think he got a good chunk of physics and DNA execution ported. Not really sure why he switched over to c# other then to attract new age devs. and start fresh. Something I kinda wanted to ask him actually.

The thing with C++ is that it is not the best language to try new stuff in. I guess that was one of the reasons to use c#.

Honestly, If I knew how much hard time I will be having debugging in vb6 I would have considered a port to something like Java a long time ago. I become aware of the concept of stack tracing about 3 years ago studying for a MCPD exam. I think C++ also has better debugging than vb6 but will need to wait for Numsgil to confirm.

Really, the way I expected everything to go was Numsgil finishing his port to c++ and then me sticking my features in and be done with it. But, I found out on more than one occasion life never turns out the way one expects it to turn out. I digress, I expected to be making real video games for a big time company by now, but in reality all I have is a technical institute certificate that may or may not help me skip some introduction to programming classes in a Uni.
« Last Edit: January 02, 2016, 03:38:45 PM by Botsareus »

Offline EnderCrypt

  • Bot Builder
  • **
  • Posts: 61
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #11 on: January 02, 2016, 04:17:55 PM »
yeah its really ashame that life doesent progress as expected hmm... i wish i had C/++ skills, sadly at the moment i just know webdev/java/lua, nothing fancy really

but yeah, what options for debugging are there in VB6? i mean, i would thought that even a slightly older language would have had some sort of error tracking? is there no way to catch errors and where they occured?
WARNING: Found unknown Windows version: Windows 7

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #12 on: January 02, 2016, 04:25:50 PM »
The error tracking is good and user friendly and all but it only works if you run the project from vb6. Once you compile and distribute the exe all bets are off. Especially with something like db2 where something may go wrong after running it for a very long time and enough possible things that can go wrong it really becomes like rocket science. Once you transfer from a simulation into a real life you really hope it will not end up like the space shuttle program.

Offline EnderCrypt

  • Bot Builder
  • **
  • Posts: 61
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #13 on: January 02, 2016, 04:59:41 PM »
hmm... maybe... isnt it possible for you to like... to a test version with lots of console outputs or dialog boxes that apper, with numbers for the [start new] button when you start a new simulation? i dont know how much code there is or if it would be annoying to do, but thats really the only way i know that the error could easily be tracked down? i'd do it myself or even debug the source, if i was able to install VB on my mac
WARNING: Found unknown Windows version: Windows 7

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DB 2.48.27 crashes on Wine under Mac
« Reply #14 on: January 02, 2016, 05:03:54 PM »
... Something funky is going on there that has nothing to do with how the start new button works. Maybe you have an im.gset file in the db folder, just guessing. Did you try a clean install and then loading your lastran,set file like I just did from vb6?