[changed thread topic to something a bit more intelligent)

On 10/06/15 10:41, Andrew Stuart wrote:
After we know which code is running into trouble, it's easier to figure out 
what's wrong.

(gdb) l *0x198a4e
0x198a4e is in _rumprun_config 
(/home/ubuntu/rumprun/lib/librumprun_base/rumpconfig.c:477).
472             const size_t rootcfglen = sizeof(ROOTCFG)-1;
473             unsigned int i;
474             int ntok;
475
476             /* is the config file on rootfs?  if so, mount & dig it out */
477             if (strncmp(cmdline, ROOTCFG, rootcfglen) == 0) {
478                     cmdline = getcmdlinefromroot(cmdline + rootcfglen);
479                     if (cmdline == NULL)
480                             errx(1, "could not get cfg from rootfs");
481             }
(gdb)

Ok, suspected something like that. I already looked at the code where I thought the bug was earlier, but didn't spot anything. Now I spotted the problem. pull and retry.

Should never advertise anyone to use anything that I haven't tested :(

Reply via email to