cannot start gnugk if $CWD can't be read

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

 



Hi... me again ;-)

I'm facing an issue with gnugk under OpenBSD.
If I do not start gnugk from a directory where the gnugk user (_"gnugk" 
under OpenBSD) has read access, then I get the following error.


# pwd && ls -ld .
/root
drwx------  4 root  wheel  512 Mar  4 22:09 .
# gdb gnugk
[...]
(gdb) run -t -c /etc/gnugk.ini -u _gnugk -o /var/log/gnugk/gnugk.log --pid /var/run/gnugk/gnugk.pid
Starting program: /usr/local/bin/gnugk -t -c /etc/gnugk.ini -u _gnugk -o /var/log/gnugk/gnugk.log --pid /var/run/gnugk/gnugk.pid
Assertion fail: Operating System error, file osutil.cxx, line 385, Error=13

<A>bort, <C>ore dump? c

Dumping core.

Program received signal SIGABRT, Aborted.
[Switching to process 31357, thread 0x4f2d3000]
0x000000004abbfa7a in kill () from /usr/lib/libc.so.43.0
(gdb) bt
#0  0x000000004abbfa7a in kill () from /usr/lib/libc.so.43.0
#1  0x000000004d833465 in PAssertAction (c=31357, msg=0x6 <Address 0x6 out of bounds>) at assert.cxx:143
#2  0x000000004d8335c1 in PAssertFunc(char const*) (
     msg=0x448af798 "Assertion fail: Operating System error, file osutil.cxx, line 385, Error=13") at assert.cxx:213
#3  0x000000004d86288c in PAssertFunc(char const*, int, char const*, char const*) (file=0x4d979d03 "osutil.cxx", line=385, className=0x0,
     msg=0x7f7ffffe3a80 "?\212D") at ../common/object.cxx:441
#4  0x000000004d86250c in PAssertFunc(char const*, int, char const*, PStandardAssertMessage) (file=0x4d979d03 "osutil.cxx", line=385,
     className=0x0, msg=1253833338) at ../common/object.cxx:407
#5  0x000000004d821dbf in CanonicaliseDirectory (path=@0x7f7ffffe3f10) at object.h:596
#6  0x000000004d821f01 in CanonicaliseFilename (filename=@0x7f7ffffe3f80) at osutil.cxx:444
#7  0x000000004d823c04 in PFilePath (this=0x7f7ffffe4060, cstr=0x6 <Address 0x6 out of bounds>) at osutil.cxx:1174
#8  0x00000000004e31bf in Gatekeeper::InitConfig(PArgList const&) (this=0x7a7d, args=@0x419b8258) at gk.cxx:393
#9  0x00000000004e3636 in Gatekeeper::Main() (this=0x419b8000) at gk.cxx:494
#10 0x000000004d84c95d in PProcess::_main(void*) (this=0x419b8000) at ../common/osutils.cxx:2097
#11 0x000000000041e618 in main (argc=31357, argv=0x6, envp=0x3faf) at main.cxx:23



-- 
Antoine

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux