Jump to content



Photo
* * * * - 7 votes

The VP 10.3 beta thread


  • Please log in to reply
616 replies to this topic

#441 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,300 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 23 June 2017 - 03:10 AM

I was just going to write that VPX with symbols didn't crashed yesterday for about 3 hours, and today for about 1 hour. And I did what I used to do, editing a new file, opening a vpt table copying some objects, etc.  But when I clicked on the X button to quit the editor then it crashed :) Let's see if there is any info about what happened.

 

https://app.box.com/...9czhbh3972wz1p1

 

JP


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#442 hanzoverfist

hanzoverfist

    Enthusiast

  • VP Dev Team
  • PipPipPip
  • 406 posts

  • Flag: Canada

  • Favorite Pinball: arabian nights, congo... heck I love e'm all

Posted 23 June 2017 - 04:53 AM

I get a lot of crashing also, but I find it only crashes when data is not saved, (now you will say well data is not saved anytime you do anything) true but hear me out.. If I modify my table then save then run a simulation (play it) it does not crash, but if I modify my table then don't save in the same conditions then simulate, the table will crash. And it only seems to crash with the larger tables, and another observation is whenever it does crash when I run a simulation pinmame either failed to launch or vpinball never reached vpinmame launch before crashing.

 

anyway these are just observations, and I have not been able to produce exact steps to reproduce, only that the above conditions I mentioned occur frequently.

 

EDIT: same as JP above , I have mentioned it already, the copying of data from one VPX -> another VPX in the same editor instance can cause crashes, if not immediately after closing the host VPX or sometime thereafter.


Edited by hanzoverfist, 23 June 2017 - 04:56 AM.

space-invader-wheel1_t.png


#443 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 23 June 2017 - 07:13 AM

Please also try to get a crash dump or maybe even try to run with a debugger attached directly (in your case), so we can nail it down..



#444 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 23 June 2017 - 07:23 AM

The crash i fear is for Fuzzel to debug.. This one i could only try to avoid having it crash VPX, but not curing the actual problem that caused it.. :/

Cause i do not even understand why the last piece of code is even called here in this case..

 

@Fuzzel: callstack (line 159 of propbrowser.cpp, g_pvp is NULL):

     VPinballX.exe!SmartBrowser::CreateFromDispatch(HWND__ * hwndParent, Vector<ISelect> * pvsel) Line 159    C++
     VPinballX.exe!VPinball::ParseCommand(unsigned int code, HWND__ * hwnd, unsigned int notify) Line 1573    C++
     VPinballX.exe!VPinball::SetEnableToolbar() Line 1664    C++
     VPinballX.exe!TableWndProc(HWND__ * hwnd, unsigned int uMsg, unsigned int wParam, long lParam) Line 7457    C++
 



#445 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 23 June 2017 - 07:43 AM

Ok thanks I'll take a look

#446 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 23 June 2017 - 08:12 AM

Cool, thanks.. Although i fear that this is not related to the other crashes you guys are seeing..



#447 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 23 June 2017 - 10:30 AM

It looks like we have a race condition here when accessing collections and/or multi selected elements. I added a critical section to serialize the access to the data. 

 

@Toxie, can you post a new debug build, because I'm behind a firewall at the moment that blocks exe files :(



#448 randr

randr

    I'm just a hardware guy so...

  • VIP
  • 2,650 posts
  • Location:Minnesota

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone

Posted 23 June 2017 - 12:11 PM

Well I've been getting a ton of crashing too! I thought it was darks fault with image sizes! Lmao! Glad you guys are on it! Thank you

randr___pinball.png                         


#449 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 23 June 2017 - 02:30 PM

Took a while, sorry, here the next update..


Edited by toxie, 23 June 2017 - 07:22 PM.


#450 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,978 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 23 June 2017 - 04:04 PM

I thought you devs needed a break and now your debugging like your life depends on it - you guys never ceases to amaze me with your lever of dedication. I kind of feel bad posting bugs when you've already said you need a break :o


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#451 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,300 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 23 June 2017 - 04:26 PM

I didn't thought you should come with an update already, so I was testing with the first VPX with the symbols. Anyway here it is a crash dump files I just got using that last VPX debug with the symbols. The crash happened in the editor while selecting a few walls with the mouse, by dragging a rectangle with the mouse to select the objects. I'm not sure if the crash happened when I released the mouse button or if I never finished to draw the rectangle.

 

 

 


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#452 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 23 June 2017 - 04:35 PM

Took a while, sorry, here the next update:

Toxie,

I tried this and could not get BOP to crash. Where there issues resolved with this spin of code? Or should it be assumed that it should crash (relative to 10.3 official), if I just wait longer?


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#453 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 23 June 2017 - 04:39 PM

I hope that the new version fixes the crashes

#454 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 23 June 2017 - 06:30 PM

I thought you devs needed a break and now your debugging like your life depends on it - you guys never ceases to amaze me with your lever of dedication. I kind of feel bad posting bugs when you've already said you need a break :o

 

True, but here we're not developing a new feature or have to test something/fiddle around on our own to make it crash or behave incorrect.

We get a dump and (usually) get a good impression of what's going on directly from that.


I didn't thought you should come with an update already, so I was testing with the first VPX with the symbols. Anyway here it is a crash dump files I just got using that last VPX debug with the symbols. The crash happened in the editor while selecting a few walls with the mouse, by dragging a rectangle with the mouse to select the objects. I'm not sure if the crash happened when I released the mouse button or if I never finished to draw the rectangle.

 

attachicon.gif10.3crash_mouse-select.zip

 

 

 

i'm a bit confused now, so is this from the first releasewithsymbols build i posted or the one i posted two above your post (which includes fuzzels fixes)?

 

EDIT: unfortunately the dump is anway broken for whatever reason, at least i cannot open it in visual studio..  :/


Edited by toxie, 23 June 2017 - 07:20 PM.


#455 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 23 June 2017 - 07:05 PM

and one more with some more tiny things fixed (e.g. not fixing any crashes, but i'll remove the other debuggable variants to avoid further confusions anyway, please continue to test with that version and post the dump files if it crashes, thanks!!):

Attached Files


Edited by toxie, 23 June 2017 - 07:21 PM.


#456 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,300 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 24 June 2017 - 06:31 AM

First crash with this latest "ReleaseWithSymbols". It happened when closing one of the tables. I had 3 tables open, and I copied a few objects from different tables, then I opened another table to copy a new object and it was the wrong table so I clicked on the X icon to close this table, and then it crashed. It had been working fine for several hours without a crash, and I run the table many times to check the changes, the table does not use vpinmame just now and the script is empty.

 

https://app.box.com/...gohv1b54m3o2grd

 

Remember that I use Windows 10 LTSB, so I'm not sure how good this version of windows plays with VPX, but it seems very stable. I installed the directx9 of course and the latest Nvidia drivers for the GTX 680.

 

JP


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#457 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 24 June 2017 - 06:57 AM

Thanks.. @Fuzzel: Maybe one for you again (as i do not understand that part that well)? It crashes on ppt->Release(); in vpinball.cpp in CloseTable().



#458 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 24 June 2017 - 07:35 AM

Will check it but not today

#459 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,300 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 24 June 2017 - 08:54 AM

No problem fuzzel, the last editor works very well, and it has not crashed for hours.  I have been working with it many hours today, and it has crashed only two times, both times when closing  the editor.


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#460 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 24 June 2017 - 09:37 AM

That's good to know...thanks