www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - DWT-Linux Segfault

reply "Chris R. Miller" <lordsauronthegreat gmail.com> writes:
Trying DWT on Linux (Windows went kaput, so I had no choice).  GDC and
Tango 0.99.7.  I downloaded an built DWT from DSSS, and now when I try
and run my test program it segfaults.  The test program is just that
weird Cheque Logger thingymajig I wrote for that funky guy who we
haven't seen or heard from since June (yeah, the guy I don't remember
the name of).  Code available here:

Pretty Web: http://fsdev.net/repositories/browse/check-logger/trunk
Direct SVN: http://svn.fsdev.net/check-logger/trunk

The GDC version is whatever is distributed with the DSSS bundle from the
Tango page.  I'd sort of prefer to stick with GDC, though I could
(easily) be convinced to migrate to DMD if I have to.

I literally just hit "dsss build" and then "./CheckLogger" and it tells
me this:

cmiller cmiller-workstation:~/Code/Cheque Logger/src$ ./CheckLogger

(name:12584): GLib-GObject-WARNING **: specified class size for type
`SwtFixed' is smaller than the parent type's `GtkFixed' class size

(name:12584): GLib-GObject-WARNING **: specified class size for type
`SwtTextRenderer' is smaller than the parent type's
`GtkCellRendererText' class size

(name:12584): GLib-GObject-WARNING **: specified class size for type
`SwtPixbufRenderer' is smaller than the parent type's
`GtkCellRendererPixbuf' class size

(name:12584): GLib-GObject-WARNING **: specified class size for type
`SwtToggleRenderer' is smaller than the parent type's
`GtkCellRendererToggle' class size
Segmentation fault


Other software installed:

Ubuntu AMD64, 8.04
NVIDIA "envy" driver, 177.x
Gnome Stuff, whatever the latest GTK is for Ubuntu
Compiz is running, if that's relevant.

If anyone has any idea what I'm doing wrong, I'd appreciate the thoughts
for where to go next in the effort to fix it.

Thanks for DWT though - it's a lot of work, but man, it rocks!
Sep 14 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Chris R. Miller schrieb:
 Trying DWT on Linux (Windows went kaput, so I had no choice).  GDC and
 Tango 0.99.7.  I downloaded an built DWT from DSSS, and now when I try
 and run my test program it segfaults.  The test program is just that
 weird Cheque Logger thingymajig I wrote for that funky guy who we
 haven't seen or heard from since June (yeah, the guy I don't remember
 the name of).  Code available here:
 
 Pretty Web: http://fsdev.net/repositories/browse/check-logger/trunk
 Direct SVN: http://svn.fsdev.net/check-logger/trunk
 
 The GDC version is whatever is distributed with the DSSS bundle from the
 Tango page.  I'd sort of prefer to stick with GDC, though I could
 (easily) be convinced to migrate to DMD if I have to.
 
 I literally just hit "dsss build" and then "./CheckLogger" and it tells
 me this:
 
 cmiller cmiller-workstation:~/Code/Cheque Logger/src$ ./CheckLogger
 
 (name:12584): GLib-GObject-WARNING **: specified class size for type
 `SwtFixed' is smaller than the parent type's `GtkFixed' class size
 
 (name:12584): GLib-GObject-WARNING **: specified class size for type
 `SwtTextRenderer' is smaller than the parent type's
 `GtkCellRendererText' class size
 
 (name:12584): GLib-GObject-WARNING **: specified class size for type
 `SwtPixbufRenderer' is smaller than the parent type's
 `GtkCellRendererPixbuf' class size
 
 (name:12584): GLib-GObject-WARNING **: specified class size for type
 `SwtToggleRenderer' is smaller than the parent type's
 `GtkCellRendererToggle' class size
 Segmentation fault
 
 
 Other software installed:
 
 Ubuntu AMD64, 8.04
 NVIDIA "envy" driver, 177.x
 Gnome Stuff, whatever the latest GTK is for Ubuntu
 Compiz is running, if that's relevant.
 
 If anyone has any idea what I'm doing wrong, I'd appreciate the thoughts
 for where to go next in the effort to fix it.
 
 Thanks for DWT though - it's a lot of work, but man, it rocks!
dwt-linux is not yet ready for 64 bit. Sorry for that.
Sep 14 2008
parent "Chris R. Miller" <lordsauronthegreat gmail.com> writes:
Frank Benoit wrote:
 Chris R. Miller schrieb:
 Trying DWT on Linux (Windows went kaput, so I had no choice).  GDC and
 Tango 0.99.7.  I downloaded an built DWT from DSSS, and now when I try
 and run my test program it segfaults.  The test program is just that
 weird Cheque Logger thingymajig I wrote for that funky guy who we
 haven't seen or heard from since June (yeah, the guy I don't remember
 the name of).  Code available here:

 Pretty Web: http://fsdev.net/repositories/browse/check-logger/trunk
 Direct SVN: http://svn.fsdev.net/check-logger/trunk

 The GDC version is whatever is distributed with the DSSS bundle from the
 Tango page.  I'd sort of prefer to stick with GDC, though I could
 (easily) be convinced to migrate to DMD if I have to.

 I literally just hit "dsss build" and then "./CheckLogger" and it tells
 me this:

 cmiller cmiller-workstation:~/Code/Cheque Logger/src$ ./CheckLogger

 (name:12584): GLib-GObject-WARNING **: specified class size for type
 `SwtFixed' is smaller than the parent type's `GtkFixed' class size

 (name:12584): GLib-GObject-WARNING **: specified class size for type
 `SwtTextRenderer' is smaller than the parent type's
 `GtkCellRendererText' class size

 (name:12584): GLib-GObject-WARNING **: specified class size for type
 `SwtPixbufRenderer' is smaller than the parent type's
 `GtkCellRendererPixbuf' class size

 (name:12584): GLib-GObject-WARNING **: specified class size for type
 `SwtToggleRenderer' is smaller than the parent type's
 `GtkCellRendererToggle' class size
 Segmentation fault


 Other software installed:

 Ubuntu AMD64, 8.04
 NVIDIA "envy" driver, 177.x
 Gnome Stuff, whatever the latest GTK is for Ubuntu
 Compiz is running, if that's relevant.

 If anyone has any idea what I'm doing wrong, I'd appreciate the thoughts
 for where to go next in the effort to fix it.

 Thanks for DWT though - it's a lot of work, but man, it rocks!
dwt-linux is not yet ready for 64 bit. Sorry for that.
Aargh! More debugging for me then... how lovely.
Sep 14 2008