[Lxc-users] Problem with core dumps generated from containers, apport

Serge Hallyn serge.hallyn at ubuntu.com
Mon Apr 22 15:59:15 UTC 2013


My guess would be similar to this but slightly different.  I'd guess
that apport on the host sees the SEGV in kernel log.  That will have
the correct pid for the kernel to look up the task, however it will
crosscheck /proc/$$/maps and such against userspace on the host,
which will cause debug info to be wrong.

What does the host's apport report actually look like?

Quoting Hans Feldt (hans.feldt at ericsson.com):
> 
> system: x86_64, ubuntu 12.10 with a ubuntu template container
> 
> When I enable core dumps in a container and such get generated, apport 
> on the host gets confused and creates bogus (it seems) crash reports.
> 
> If I speculate it could be that apport gets a non translated container 
> pid from the kernel, tries to find a match on the host and create a 
> crash report. But since the container pid is something else on the host 
> and sometimes it even thinks it is a system program on host and tries to 
> send a bug report for it...
> 
> Does that make sense?
> 
> Thanks,
> Hans
> 
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users




More information about the lxc-users mailing list