bugDotGNU Portable.NET - Bugs: bug #10519, Xsharp (WinForms) segfault on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10519: Xsharp (WinForms) segfault on x86_64

Submitter:  -Deleted Account- <scandium>
Submitted:  Tue 28 Sep 2004 04:42:52 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Tue 12 Oct 2004 12:45:56 PM UTC, comment #1: 

Fixed in CVS - by merging x86_64 fix in libffi.

Gopal.V <t3rmin4t0r>
Group administrator
Tue 28 Sep 2004 04:42:52 PM UTC, original submission:  

(gcc-3.3.4, pnet and pnetlib checkout from 28.09.)

Someone already reported Xsharp segfaulting on x86_64 on the developers list (22nd September) and I tried to do a backtrace, unfortunatly I have nothing useful gotten out of it (pnet and pnetlib are compiled with -g and -ggdb and without -fomit-frame-pointer):

-----
This GDB was configured as "x86_64-pc-linux-gnu".
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: ilrun WinForms
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 30908)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 30908)]
0x0000002a96cf7650 in ?? ()
(gdb) bt
#0  0x0000002a96cf7650 in ?? ()
#1  0x0000000100000001 in ?? ()
#2  0x00000000009b9260 in ?? ()
#3  0x0000007fbfffdf00 in ?? ()
#4  0x000000000055e980 in ?? ()
#5  0x0000002a96cf75a0 in ?? ()
#6  0x000000000055e9a0 in ?? ()
#7  0x0000000000000001 in ?? ()
#8  0x0000000000495abc in ffi_call_UNIX64 () at src/x86/unix64.S:90
Previous frame inner to this frame (corrupt stack?)
(gdb)
-----

In case this helps, the last lines of "ilrun --trace WinForms" are:



Entering instance bool Xsharp.Widget::ValidateSize(int32 width, int32 height)
Returning to instance void Xsharp.InputOnlyWidget::.ctor(class Xsharp.Widget parent, int32 x, int32 y, int32 width, int32 height, valuetype Xsharp.Color background, bool rootAllowed, bool overrideRedirect)
Entering instance native int Xsharp.Display::Lock()
Entering void System.Threading.Monitor::Enter(class System.Object obj)
Returning to instance native int Xsharp.Display::Lock()
Returning to instance void Xsharp.InputOnlyWidget::.ctor(class Xsharp.Widget parent, int32 x, int32 y, int32 width, int32 height, valuetype Xsharp.Color background, bool rootAllowed, bool overrideRedirect)
Entering instance valuetype [OpenSystem.Platform]OpenSystem.Platform.X11.XWindow Xsharp.Drawable::GetWidgetHandle()
Returning to instance void Xsharp.InputOnlyWidget::.ctor(class Xsharp.Widget parent, int32 x, int32 y, int32 width, int32 height, valuetype Xsharp.Color background, bool rootAllowed, bool overrideRedirect)
Entering instance void Xsharp.Types.XSetWindowAttributes::set_override_redirect(bool value)
Returning to instance void Xsharp.InputOnlyWidget::.ctor(class Xsharp.Widget parent, int32 x, int32 y, int32 width, int32 height, valuetype Xsharp.Color background, bool rootAllowed, bool overrideRedirect)
Entering instance int32 Xsharp.Screen::get_DefaultDepth()
Entering instance native int Xsharp.Display::Lock()
Entering void System.Threading.Monitor::Enter(class System.Object obj)
Returning to instance native int Xsharp.Display::Lock()
Returning to instance int32 Xsharp.Screen::get_DefaultDepth()
Entering int32 Xsharp.Xlib::XDefaultDepthOfScreen(native int screen)
Returning to instance int32 Xsharp.Screen::get_DefaultDepth()
Entering instance void Xsharp.Display::Unlock()
Entering void System.Threading.Monitor::Exit(class System.Object obj)
Returning to instance void Xsharp.Display::Unlock()
Returning to instance int32 Xsharp.Screen::get_DefaultDepth()
Returning to instance void Xsharp.InputOnlyWidget::.ctor(class Xsharp.Widget parent, int32 x, int32 y, int32 width, int32 height, valuetype Xsharp.Color background, bool rootAllowed, bool overrideRedirect)
Entering instance native int Xsharp.Screen::get_DefaultVisual()
Returning to instance void Xsharp.InputOnlyWidget::.ctor(class Xsharp.Widget parent, int32 x, int32 y, int32 width, int32 height, valuetype Xsharp.Color background, bool rootAllowed, bool overrideRedirect)
Entering valuetype [OpenSystem.Platform]OpenSystem.Platform.X11.XWindow Xsharp.Xlib::XCreateWindow(native int display, valuetype [OpenSystem.Platform]OpenSystem.Platform.X11.XWindow parent, int32 x, int32 y, unsigned int32 width, unsigned int32 height, unsigned int32 border_width, int32 depth, int32 c_class, native int visual, unsigned int64 value_mask, valuetype Xsharp.Types.XSetWindowAttributes & values)
-----

I there's something else I can do to provide better feedback, please let me know.

-Deleted Account- <scandium>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-12 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code