https://bugzilla.wikimedia.org/show_bug.cgi?id=71354

--- Comment #14 from Brad Jorsch <[email protected]> ---
(In reply to Gilles Dubuc from comment #12)
> Repro steps would be to import a template that needs the luasandbox via
> "mwscript importDump.php" inside puppet.

It would be really nice if you could figure out repro steps that don't require
a complex puppet run.

(In reply to Gilles Dubuc from comment #11)
> It's a segfault coming from writing to the wrong pointer. I.e. the pointer
> passed as the second argument to clock_gettime probably isn't malloced
> properly. A typical day in C, I guess :)

That doesn't seem supported by the strace you posted. If it segfaulted in the
middle of clock_gettime, it wouldn't be indicating that clock_gettime returned
successfully.

It's not impossible that such an strace could be output by a bad pointer
causing clock_gettime to clobber the stack or heap, but it seems unlikely here
considering that every call is taking the address of an already-existing struct
timespec.

(In reply to Gilles Dubuc from comment #13)
> I guess the one value that helps narrow down which clock_gettime is the
> culprit is "2" for the first parameter.

That "2" isn't the first parameter, it's the tv_sec member of the struct
timespec that was written by the clock_gettime call.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to