Adam Fedor wrote:
>
> That is pretty generic. You'll have to at least tell us what type of
> computer you working on. The best help would be to get a gdb backtrace:
>
> debugapp popupbuttons.app
>
> And at the gdb prompt:
> > run
> > bt
>
> And send us the output.
Yep.... I hope I can get up to speed here so I don't have to torture
everyone with these naive questions for too long! Thanks for replying.
The computer is a PentiumIII, with Mandrake Linux, and here's the gdb
output (I can't yet figure why this app is wanting a hostname, and it's
not immediately obvious from the man page why gethostbyname() is
returning a null ptr).....
Program received signal SIGSEGV, Segmentation fault.
0x40648adf in gethostbyname (name=0x0) at ../nss/digits_dots.c:24
24 ../nss/digits_dots.c: No such file or directory.
(gdb) bt
#0 0x40648adf in gethostbyname (name=0x0) at ../nss/digits_dots.c:24
#1 0x40329b2f in _c_TcpInPort__newForReceivingFromPortNumber_ (
self=0x404399e0, _cmd=0x4043a1e8, n=4237) at TcpPort.m:1189
#2 0x40329d51 in
_c_TcpInPort__newForReceivingFromRegisteredName_fromPort_ (
self=0x404399e0, _cmd=0x40449080, name=0x80f6408, portn=0)
at TcpPort.m:1237
#3 0x4035eff2 in
_c_NSConnection_GNUstepExtensions_newRegisteringAtName_atPort_withRootObject_
(self=0x40448920, _cmd=0x40449078, n=0x80f6408, p=0,
anObj=0x8182c88) at NSConnection.m:845
#4 0x4035ef97 in
_c_NSConnection_GNUstepExtensions_newRegisteringAtName_withRootObject_
(self=0x40448920, _cmd=0x40205ee0, n=0x80f6408, anObj=0x8182c88)
at NSConnection.m:833
#5 0x40156513 in NSRegisterServicesProvider (provider=0x8150000,
name=0x80f6408) at GSServicesManager.m:135
#6 0x40158e23 in _i_GSServicesManager__registerAsServiceProvider (
self=0x8150000, _cmd=0x401c4398) at GSServicesManager.m:831
#7 0x4008e96b in _i_NSApplication__finishLaunching (self=0x8121918,
_cmd=0x401c4620) at NSApplication.m:587
#8 0x4008f8b1 in _i_NSApplication__run (self=0x8121918, _cmd=0x805be48)
at NSApplication.m:842
#9 0x804bf2f in main (argc=1, argv=0xbffff694, env=0xbffff69c)