I'd need to see a bit more about this program to see why it's not working. Is it possible for you to send me a copy of the code so that I can take a look?
David On 25 Jun 2010, at 10:08, bbceler wrote: > > Hi, > I have a problem with an libobjc2 updated versions. > The compilation runs without the problem. However during starting a program > an error appears: > # cd Clang/ > # gdb hello3 > GNU gdb 6.8 qnx-nto (rev. 411) > .......... > (gdb) set solib-search-path /usr/pkg/lib > (gdb) start > Temporary breakpoint 1 at 0x804880f: file hello.m, line 31. > Starting program: /root/Clang/hello3 > Temporary breakpoint 1, main () at hello.m:31 > 31 myGreeter=[Greeter new]; > (gdb) c > Continuing. > > Program received signal SIGSEGV, Segmentation fault. > 0xb82066df in objc_test_class_flag (aClass=0x656a624f, > flag=objc_class_flag_meta) at class.h:170 > 170 return aClass->info & (long)flag; > Current language: auto; currently c > (gdb) where > #0 0xb82066df in objc_test_class_flag (aClass=0x656a624f, > flag=objc_class_flag_meta) at class.h:170 > #1 0xb82070f2 in objc_send_initialize (object=0x8048946) at dtable.c:264 > #2 0xb8207159 in objc_send_initialize (object=0x8049ba0) at dtable.c:287 > #3 0xb820db2d in objc_msg_lookup_internal (receiver=0x80479d0, > selector=0x8049c10, sender=0x0) > at sendmsg2.c:43 > #4 0xb820dc22 in objc_msg_lookup_sender (receiver=0x80479d0, > selector=0x8049c10, sender=0x0) > at sendmsg2.c:99 > #5 0x0804883c in main () at hello.m:31 > (gdb) > ........................................... > > I ask for where to search for the error. > > -- > View this message in context: > http://old.nabble.com/Problem-with-libobjc2-tp28990319p28990319.html > Sent from the GNUstep - Dev mailing list archive at Nabble.com. > > > _______________________________________________ > Gnustep-dev mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnustep-dev -- Sent from my IBM 1620 _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
