OpenBVE : ptrace: Operation not permitted

Bug #1637824 reported by Bertrand Perrier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openbve (Ubuntu)
New
Undecided
Unassigned

Bug Description

chris@chris ~ $ openbve
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipLoadImageFromFile (string,intptr&) <0xffffffff>
  at System.Drawing.Image.FromFile (string,bool) <0x0005b>
  at System.Drawing.Image.FromFile (string) <0x00013>
  at OpenBve.formMain.LoadImage (string,string) <0x0003b>
  at OpenBve.formMain.formMain_Load (object,System.EventArgs) <0x00d83>
  at System.Windows.Forms.Form.OnLoad (System.EventArgs) <0x00075>
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs) <0x0007f>
  at System.Windows.Forms.Form.OnCreateControl () <0x00053>
  at System.Windows.Forms.Control.CreateControl () <0x0011f>
  at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message&) <0x00167>
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x002d3>
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message&) <0x0001b>
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message&) <0x0005b>
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&) <0x00253>
  at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00025>
  at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00036>
  at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00310>
  at System.Windows.Forms.XplatUIX11.SendMessage (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x003f3>
  at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd,System.Windows.Forms.WindowType) <0x001df>
  at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams) <0x00bab>
  at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams) <0x0001f>
  at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams) <0x0003f>
  at System.Windows.Forms.Control.CreateHandle () <0x00069>
  at System.Windows.Forms.Form.CreateHandle () <0x0002b>
  at System.Windows.Forms.Control.CreateControl () <0x00087>
  at System.Windows.Forms.Control.SetVisibleCore (bool) <0x00083>
  at System.Windows.Forms.Form.SetVisibleCore (bool) <0x002ef>
  at System.Windows.Forms.Control.set_Visible (bool) <0x00032>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>
  at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x002fb>
  at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window) <0x008ab>
  at System.Windows.Forms.Form.ShowDialog () <0x00013>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.ShowDialog () <0xffffffff>
  at OpenBve.formMain.ShowMainDialog () <0x0005f>
  at OpenBve.Program.Main (string[]) <0x00bc7>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

 /usr/bin/cli() [0x4b73d8]
 /usr/bin/cli() [0x50f13b]
 /usr/bin/cli() [0x423d22]
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7f066cc61330]
 /usr/lib/libgdiplus.so.0(+0x415ca) [0x7f0668f7c5ca]
 /usr/lib/libgdiplus.so.0(GdipLoadImageFromFile+0x18a) [0x7f0668f5f67a]
 [0x40dd5c12]

Debug info from gdb:

Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No threads.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted

chris@chris ~ $ uname -ar
Linux chris 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
chris@chris ~ $ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.3
DISTRIB_CODENAME=rosa
DISTRIB_DESCRIPTION="Linux Mint 17.3 Rosa"

chris@chris ~ $ apt-cache showpkg openbve
Package: openbve
Versions:
1.4.0.9-1 (/var/lib/apt/lists/mirrors.ircam.fr_pub_ubuntu_archive_dists_trusty_universe_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/mirrors.ircam.fr_pub_ubuntu_archive_dists_trusty_universe_binary-amd64_Packages
                  MD5: 8315a0761be97ea9b20e46c4817a227c
 Description Language: en
                 File: /var/lib/apt/lists/mirrors.ircam.fr_pub_ubuntu_archive_dists_trusty_universe_i18n_Translation-en
                  MD5: 8315a0761be97ea9b20e46c4817a227c
 Description Language: fr
                 File: /var/lib/apt/lists/mirrors.ircam.fr_pub_ubuntu_archive_dists_trusty_universe_i18n_Translation-fr
                  MD5: 8315a0761be97ea9b20e46c4817a227c

Reverse Depends:
  openbve-data,openbve
  bve-train-br-class-323-3dcab,openbve 1.2.2.0
Dependencies:
1.4.0.9-1 - mono-runtime (2 2.10.1) libmono-corlib4.0-cil (2 2.10.1) libmono-system-drawing4.0-cil (2 1.0) libmono-system-windows-forms4.0-cil (2 1.0) libmono-system4.0-cil (2 2.10.7) libtaoframework-openal1.1-cil (2 2.1.svn20090801) libtaoframework-openal1.1-cil (3 2.1.svn20090802) libtaoframework-opengl3.0-cil (2 2.1.svn20090801) libtaoframework-opengl3.0-cil (3 2.1.svn20090802) libtaoframework-sdl1.2-cil (2 2.1.svn20090801) libtaoframework-sdl1.2-cil (3 2.1.svn20090802) libmono-i18n4.0-all (0 (null)) openbve-data (2 1.4.0.0) bve-route (0 (null)) bve-train (0 (null))
Provides:
1.4.0.9-1 - bve-engine
Reverse Provides:

chris@chris ~ $ apt-cache showpkg openbve-data
Package: openbve-data
Versions:
1.4.0.5+dfsg-3 (/var/lib/apt/lists/mirrors.ircam.fr_pub_ubuntu_archive_dists_trusty_universe_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/mirrors.ircam.fr_pub_ubuntu_archive_dists_trusty_universe_binary-amd64_Packages
                  MD5: 0a9883f7252c2672f5f8a4678f648662
 Description Language: en
                 File: /var/lib/apt/lists/mirrors.ircam.fr_pub_ubuntu_archive_dists_trusty_universe_i18n_Translation-en
                  MD5: 0a9883f7252c2672f5f8a4678f648662
 Description Language: fr
                 File: /var/lib/apt/lists/mirrors.ircam.fr_pub_ubuntu_archive_dists_trusty_universe_i18n_Translation-fr
                  MD5: 0a9883f7252c2672f5f8a4678f648662

Reverse Depends:
  openbve,openbve-data 1.4.0.0
Dependencies:
1.4.0.5+dfsg-3 - openbve (0 (null))
Provides:
1.4.0.5+dfsg-3 -
Reverse Provides:
chris@chris ~ $

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.