[Bug 990960] Re: openBVE crashes, another dependency issue?
I think there a t least 3 problems reported here Concerning the following problem >System.NullReferenceException: Object reference not set to an instance of an >object > at System.Windows.Forms.ListView+ItemControl.ItemsMouseDown (System.Object > sender, >System.Windows.Forms.MouseEventArgs me) [0x0] in unknown>:0 Other mentionned bugs should have been reported elsewhere for other bugs (duplicates ?) Ubuntu 15.04 + OpenBVE 1.4.0.9-1 as installed I reproduce this bug each time i try to select a route with the mouse (not with the keyboard) After having tried to localize the problem with monoDevelop, i think i've found something that could cause the problem When i read the source code, i see OpenBve/OldCode/formMain.Start.cs, private void ShowRoute(bool UserSelectedEncoding) { if (Result.RouteFile != null) { this.Cursor = Cursors.WaitCursor; Application.DoEvents(); ]...[ C# Microsoft documentation suggests this code (Application.DoEvent call ) could cause problems https://msdn.microsoft.com/en-US/library/system.windows.forms.application.doevents%28v=vs.110%29.aspx You will find many posts on many forums about this topic >Calling this method causes the current thread to be suspended while all waiting window messages are processed. If a message >causes an event to be triggered, then other areas of your application code may execute. This can cause your application to >exhibit unexpected behaviors that are difficult to debug. What i see is that removing this instruction (Application.DoEvent call) seems to remove the problem and allowing to show the route. As i'm not a premium developper i'm not directly going to change the code for OpenBve. If anyone could validate or not the code ?? -- Code suggested private void ShowRoute(bool UserSelectedEncoding) { if (Result.RouteFile != null) { this.Cursor = Cursors.WaitCursor; if (!Program.CurrentlyRunningOnMono) { // disabled code on Mono because it makes crash Application.DoEvents(); } ]...[ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Hello, Instead of creating another thread I decided to join this one. Found a similar bug in Ubuntu 14.04, OpenBVE version 1.4.0.9-1 (have installed it using aptitude) Here is a complete crash report: Stacktrace: at unknown 0x at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipLoadImageFromFile (string,intptr) IL 0x0001c, 0x at System.Drawing.Image.FromFile (string,bool) IL 0x00029, 0x0005b at System.Drawing.Image.FromFile (string) IL 0x2, 0x00013 at OpenBve.formMain.LoadImage (string,string) IL 0x00014, 0x0003b at OpenBve.formMain.formMain_Load (object,System.EventArgs) IL 0x003a8, 0x00d83 at System.Windows.Forms.Form.OnLoad (System.EventArgs) IL 0x00025, 0x00075 at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs) IL 0x0002b, 0x0007f at System.Windows.Forms.Form.OnCreateControl () IL 0x0002d, 0x00053 at System.Windows.Forms.Control.CreateControl () IL 0x000a4, 0x0011f at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message) IL 0x0003a, 0x00167 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message) IL 0x001d1, 0x002d3 at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message) IL 0x2, 0x0001b at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message) IL 0x0003e, 0x0005b at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message) IL 0x0015e, 0x00253 at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message) IL 0x7, 0x00025 at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message) IL 0xc, 0x00036 at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) IL 0x00091, 0x00310 at System.Windows.Forms.XplatUIX11.SendMessage (intptr,System.Windows.Forms.Msg,intptr,intptr) IL 0x000db, 0x003f3 at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd,System.Windows.Forms.WindowType) IL 0x00048, 0x001df at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams) IL 0x00575, 0x00bab at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams) IL 0x6, 0x0001f at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams) IL 0x7, 0x0003f at System.Windows.Forms.Control.CreateHandle () IL 0x00041, 0x00069 at System.Windows.Forms.Form.CreateHandle () IL 0x1, 0x0002b at System.Windows.Forms.Control.CreateControl () IL 0x0004c, 0x00087 at System.Windows.Forms.Control.SetVisibleCore (bool) IL 0x00044, 0x00083 at System.Windows.Forms.Form.SetVisibleCore (bool) IL 0x0007d, 0x002ef at System.Windows.Forms.Control.set_Visible (bool) IL 0xe, 0x00032 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible (bool) IL 0x00039, 0x at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) IL 0x00060, 0x002fb at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window) IL 0x001fe, 0x008ab at System.Windows.Forms.Form.ShowDialog () IL 0x2, 0x00013 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.ShowDialog () IL 0x00038, 0x at OpenBve.formMain.ShowMainDialog () IL 0x7, 0x0005f at OpenBve.Program.Main (string[]) IL 0x0049c, 0x00bc7 at (wrapper runtime-invoke) Module.runtime_invoke_void_object (object,intptr,intptr,intptr) IL 0x00050, 0x Native stacktrace: mono() [0x4b73d8] mono() [0x50f13b] mono() [0x423d22] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f7413d5f340] /usr/lib/libgdiplus.so.0(+0x415ca) [0x7f740b9d05ca] /usr/lib/libgdiplus.so.0(GdipLoadImageFromFile+0x18a) [0x7f740b9b367a] [0x41d587a2] Debug info from gdb: [New LWP 6266] [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. 0x7f7413d5eee9 in __libc_waitpid (pid=pid@entry=6267, stat_loc=stat_loc@entry=0x7f741489331c, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40 40 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory. Id Target Id Frame 2Thread 0x7f7410def700 (LWP 6266) mono sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 * 1Thread 0x7f741487b7c0 (LWP 6265) mono 0x7f7413d5eee9 in __libc_waitpid (pid=pid@entry=6267, stat_loc=stat_loc@entry=0x7f741489331c, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40 Thread 2 (Thread 0x7f7410def700 (LWP 6266)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85 #1 0x0062f667 in mono_sem_wait (sem=sem@entry=0x982440 finalizer_sem, alertable=alertable@entry=1) at mono-semaphore.c:119 #2 0x005aba15 in finalizer_thread (unused=unused@entry=0x0) at gc.c:1073 #3 0x0058e34b in start_wrapper_internal
[Bug 990960] Re: openBVE crashes, another dependency issue?
Sorry. Have forgotten to post an essential thing, that aforementioned crash occurs every time I try to launch OpenBVE, no special activities are required to reproduce error except just launching from a command line. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openbve (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
** Changed in: openbve (Ubuntu) Status: Expired = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
[Expired for openbve (Ubuntu) because there has been no activity for 60 days.] ** Changed in: openbve (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Alessandro Menti: That seemed to do the trick for me. No crashing for me when selecting a train/route. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Sorry for the misinformation, it seemed pretty stable for a while. I have had crashing only with selecting a route (sometimes it even works!), ok with selecting a train and steering it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
I have built and run OpenBVE under Visual Studio, the only strange thing that happened was that OpenBVE was initially unable to load the ATS plugin as I forgot to copy it in the right place. Just to make sure, could you please open a terminal and issue the command sudo mkdir /usr/share/games/openbve/Data/Plugins so that I can check if it's a missing directory issue? Thanks! ** Changed in: openbve (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Sorry for being late - my thesis got in the way... I'll try to reproduce this evening. ** Changed in: openbve (Ubuntu) Status: Expired = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
[Expired for openbve (Ubuntu) because there has been no activity for 60 days.] ** Changed in: openbve (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Did it work on Visual Studio? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Any progress on this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
BTW, upgrading to latest version and the same thing happens (though different error): Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at OpenBve.Timetable.CollectData (OpenBve.Table Table) [0x0] in filename unknown:0 at OpenBve.Timetable.CreateTimetable () [0x0] in filename unknown:0 at OpenBve.MainLoop.StartLoopEx (MainDialogResult result) [0x0] in filename unknown:0 at OpenBve.Program.Main (System.String[] args) [0x0] in filename unknown:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object at OpenBve.Timetable.CollectData (OpenBve.Table Table) [0x0] in filename unknown:0 at OpenBve.Timetable.CreateTimetable () [0x0] in filename unknown:0 at OpenBve.MainLoop.StartLoopEx (MainDialogResult result) [0x0] in filename unknown:0 at OpenBve.Program.Main (System.String[] args) [0x0] in filename unknown:0 Also I got this from the md5sum: d282c34866b180a07a062dfbe389a90e openbve1420.7z -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
I could not reproduce the bug before, I'll try with the new version (perhaps using the Visual Studio debugger on Windows might help if it's an OpenBVE code problem). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
1) It's up in Alessandro's comment. 2) Whuh? How do I get that? 3) The one from Alessandro's link shown above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Alessandro: have you been able to reproduce this? If so, what action(s) are necessary? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Paul, I have not been able to reproduce the bug yet (I followed your exact same procedure, starting from a fresh Ubuntu 12.04 VM with all updates, with these differences: -I let OpenBVE select the train automatically instead of choosing it manually, but checking that LT1995 got selected; -I tried loading all three routes of the Northern Line in the 1995TS routes folder, restarting OpenBVE after each try). I have looked more carefully at the Northern Line package and noticed that there are other three routes in the 1995TS routes visible prior train folder (I'll try to repeat the test with them later). Jamie: 1) Are you perhaps trying to load one of the routes in the 1995TS routes visible prior train folder? 2) Which specific route is causing the crash? 3) Could you please check that the Northern Line package has been downloaded correctly? To check this, open a Terminal and issue these commands: cd directory where you downloaded the 7z files of the Northern Line md5sum LT1995StockTrainOpenBVE.7z NorthernLineObjectsOpenBVE.7z NorthernLineRoutesOpenBVE.7z NorthernLineSoundsOpenBVE.7z The output should be (check carefully the first part of these lines): 0e877f5a78339e44254f4377b8b7b547 LT1995StockTrainOpenBVE.7z dac219082078a9906cfcb507b3df067b NorthernLineObjectsOpenBVE.7z b10abfc5723aa406be886bd23f2c6d51 NorthernLineRoutesOpenBVE.7z 9c6d85b0fe3a6a58274b2f7cc92118f7 NorthernLineSoundsOpenBVE.7z -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
1) No, I have never used that route type? 2) All. I also have additional issues trying to select the Edgware-Morden line, it crashes with this: at System.Windows.Forms.ListView+ItemControl.ItemsMouseDown (System.Object sender, System.Windows.Forms.MouseEventArgs me) [0x0] in filename unknown:0 at System.Windows.Forms.Control.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x0] in filename unknown:0 at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.ListView+ItemControl.WndProc (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x0] in filename unknown:0 3) I can't do that, to save space I deleted all the .7z files. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Jamie: Thank you, please could you file the Edgware-Morden issue separately so that we don't get them mixed up. (We'll need the corresponding exact details of how to reproduce that too). Jamie: Previously you stated Click on of the northern line routes. Does it matter which one? Do you get the same result (crash) when testing each available route in turn. If it some happens with one/some, which one(s) cause the crash. Is it necessary to move the train first, or does the crash/hang happen straight away without any keypresses. If you need to move the train first, which keys are you pressing in which order. Approximately how long after touching those sequence of keys does it take for Openbve on that particular route to crash/hang? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
All routes crash, and they all do so at the splash screen. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Here is the other Edgware-Morden route bug: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/995617 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
I've tried loading the three Northern Line routes downloaded from http://www.trainsimstuff.org/lu-northern-line/northern-line-downloads; no errors occurred. However, I noticed a strange behaviour: when running low on memory, OpenBVE tends to crash with Divide by zero exceptions (I actually experienced it once, when I set the VM to have only 512 MiB of RAM); maybe that's the cause. I also checked the OpenBVE forums and found that some users, in the past, reported crashes on the Northern Line when using brakes: http://openbve.freeforums.org/problem-using-northen-line- lt1995-t1291.html (the forums are temporarily down, don't worry if you can't reach the thread just now). I actually tried to apply brakes to check the program's behaviour and experienced no crashes. Could you please check: 1) whether you're working with the latest version of the Northern Line package, and 2) whether you've placed all the package files in the right place? If yes, could you please attach a Mono backtrace? It would be helpful - open a Terminal and launch OpenBVE like this: mono --debug /usr/lib/openbve/OpenBve.exe /filesystem=/etc/openbve/filesystem.cfg Then try to reproduce the crash, the backtrace should be generated as soon as OpenBVE raises an exception; it should be displayed in the terminal or saved in a file into the directory OpenBVE was launched from (I could not find additional information about that). After that, please attach the backtrace here. Also, 3) were you trying to applying brakes when OpenBVE crashed, and 4) how much memory have you got, and how much of it is free at the time you run OpenBVE (check it with the top -n 1 command)? Thanks for your help! ** Changed in: openbve (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Jamie: we really need to be able to reproduce this under a debugger. Would you be able to describe (for an idiot like me) the exact sequence of steps necessary. Preferably in command-line form so that they can be more easily replicated; eg. something like: 1. sudo apt-get install openbve 2. cd ~/somewhere 3. wget somewhere/something.zip 4. unzip asdf 5. openbve 6. click once on X, Y, Z 7. crash occurs At this stage we don't know (I think) if it's in Openbve itself, or in one of the general Mono libraries. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Alessandro: No, it crashes when loading the route (I have the latest version) and the train (both also crash when used separately). Also, I get no backtrace when loading OpenBVE up like that, just the crash. I'll grab the memory amount and post it here in a minute (I won't tell you much with multiple processes running). Paul: 1) Make sure you have the latest Northern Line package. 2) Launch OpenBVE. 3) Click on of the northern line routes. 4) Launch it. 5) It will probably crash. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Memory when OpenBVE is running: 1969456k -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
James: (a) What is the *exact* Northern Line URL (b) What is the *exact* md5sum and byte size of the file /you/ downloaded (c) Which *exact* Northern Line route, and which *exact* Northern Line train? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
$ md5sum *.7z 0e877f5a78339e44254f4377b8b7b547 LT1995StockTrainOpenBVE.7z dac219082078a9906cfcb507b3df067b NorthernLineObjectsOpenBVE.7z b10abfc5723aa406be886bd23f2c6d51 NorthernLineRoutesOpenBVE.7z 9c6d85b0fe3a6a58274b2f7cc92118f7 NorthernLineSoundsOpenBVE.7z $ mkdir ~/openbve cd ~/openbve $ for i in *.7z ; do 7z x $i ; done $ ls -l Train/ Railway/ $ dpkg -l openbve | awk '/ii/{print $2,$3}' openbve 1.4.0.9-1 $ openbve Selecting 'Browse Manually' and the entries: ~/openbve/Railway/Route/Northern Line OpenBVE/1995TS routes/Edgware-Kennington via ChX 1998.csv ~/openbve/Train/LT1995_openbve with that setting, I am *not* able to reproduce the crash. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
Not sure as the crash occurs in the Timetable management class, where no references to external libraries should be present. I'll test this as soon as I can have access to a high bandwidth connection and upgrade my workstation to Precise (should be between the 2n and 3rd of May). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
OK, thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 990960] Re: openBVE crashes, another dependency issue?
(continued from first comment) I also had another crash: System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.ListView+ItemControl.ItemsMouseDown (System.Object sender, System.Windows.Forms.MouseEventArgs me) [0x0] in filename unknown:0 at System.Windows.Forms.Control.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x0] in filename unknown:0 at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.ListView+ItemControl.WndProc (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message m) [0x0] in filename unknown:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x0] in filename unknown:0 3d4e1c4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990960 Title: openBVE crashes, another dependency issue? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/990960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs