Re: Problems with Objc



Hi,

I tracked down my problems with the libobgnome segfaults down to the file
obgnomeVtEmu.m. If I delete the line obgnomeVtEmu.m from the Makefile.am
and recompile the library, all programs which depend on the libobgnome
library will run as suspected.

But I don't know what is wrong with the file :-). I tested this behavoir
with the latest snapshot from 28 May.

Dirk

On Wed, 27 May 1998, Dirk Luetjens wrote:

> Hi,
> 
> sorry, but I have problems with the objective-c programs again. I don't
> know how to solve this:
> 
> When I'm running a objective-c program, e.g. gpostit, I get an
> segmentation fault with the following backtrace:
> 
> > (gdb) r
> > Starting program: /opt/gnome/bin/gpostit 
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x400232bb in hash_string ()
> > Current language:  auto; currently c
> > (gdb) where
> > #0  0x400232bb in hash_string ()
> > #1  0x40024e33 in hash_value_for_key ()
> > #2  0x40022f21 in __sel_register_typed_name ()
> > #3  0x400215aa in __objc_exec_class ()
> > #4  0x4002478d in global constructors keyed to __objc_linking ()
> > #5  0x4002aaf4 in __do_global_ctors_aux ()
> > #6  0x4001c55a in _init ()
> > #7  0x40001d2c in _dl_start_user () at rtld.c:128
> 
> I tried both compilers gcc (2.7.2.3) and egcc (2.90.28, aka 1.0.3
> prerelease) fot the gnome-objc libraries. Same error in both cases.
> 
> Any ideas?
> Dirk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]