Thread overview
DWT-Linux Segfault
Sep 15, 2008
Chris R. Miller
Sep 15, 2008
Frank Benoit
Sep 15, 2008
Chris R. Miller
September 15, 2008
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!
September 15, 2008
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.


September 15, 2008
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.