CoolItem crash on linux

Bill Baxter dnewsgroup at billbaxter.com
Tue May 13 13:19:07 PDT 2008


Frank Benoit wrote:
> Bill Baxter schrieb:
>> I'm getting a segfault on linux with this line of code:
>>
>>         auto ci = new CoolItem(cb, DWT.NONE);
>>
>> The same code works on Windows, but it's crapping out in linux.  I've 
>> updated everything to the latest, Tango, dwt-linux, dwt-addons.  dmd 
>> is 1.029.  Linux is Ubuntu 7.10.
>>
>> The stack trace from gdb doesn't looks very useful to me, but here it 
>> is.  Maybe it will speak to you:
>>
>> (gdb) where
>> #0  0x0847c561 in 
>> _D5tango4text7convert6Format6FormatC5tango4text7convert6Layout13__T6LayoutTaZ6Layout 
>> ()
>> #1  0xb7b792ac in ?? () from /usr/lib/libpangocairo-1.0.so.0
>> #2  0x084a7c30 in ?? ()
>> #3  0x00000000 in ?? ()
>>
>> Any ideas?
>>
>> --bb
> 
> I tried this without problems.
> Does the problem still exist?

Oh, actually I should have been clearer -- the CoolBar Snippets actually 
work for me fine.  It's only my real application where I'm getting this 
crash.  I'll take a look at what your setup script does and see if 
that's any help.

--bb


More information about the Digitalmars-d-dwt mailing list