Petter Reinholdtsen <[EMAIL PROTECTED]> writes:

> [Dan Griswold]
>> Will do!
>
> Hm, the problem seem to happen in the forked off child, and not in the
> parent process.  Try running the same using netplan -f, to avoid the
> fork.
>
> To test in gdb, do this:
>
>   gdb src/netplan
>   break exit
>   run -f
>   bt
>

which yields:

(gdb) break exit
Breakpoint 1 at 0x804a181: file netplan.c, line 384.
(gdb) run -f
Starting program: /usr/src/plan-1.9/src/netplan -f
/usr/src/plan-1.9/src/netplan: fatal error: no memory, exiting.

Breakpoint 1, exit (ret=1) at netplan.c:384
384             if (!exiting) {
(gdb) bt
#0  exit (ret=1) at netplan.c:384
#1  0x0804ccce in fatal (fmt=0x804e9a7 "no memory") at netplan.c:1421
#2  0x08049553 in allocate (n=268517376) at netplan.c:91
#3  0x08049ae7 in main (argc=2, argv=0xbffff904) at netplan.c:269
(gdb) 

--
--------------
Dan Griswold
Rochester, NY
--------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to