Re: [pve-devel] [PATCH] enable debug package for pve-cluster

2015-02-10 Thread Dietmar Maurer
Here are some more lines: pmxcfs[4156]: segfault at 21341873 ip 0041aa9c sp # addr2line -e /usr/bin/pmxcfs 0041aa9c /home/dietmar/pve2-devel/pve-cluster/build/src/logger.c:167 I am unable to find the bug, so I need more infos. Do you think you can generate a core file?

Re: [pve-devel] [PATCH] enable debug package for pve-cluster

2015-02-10 Thread Dietmar Maurer
I hope so. I already prepared everything to get a core dump next time. Will report back if it happens again. OK. Ps: what's about my other patches from last week? Will try to look at them tomorrow. ___ pve-devel mailing list

Re: [pve-devel] [PATCH] enable debug package for pve-cluster

2015-02-10 Thread Stefan Priebe - Profihost AG
Am 10.02.2015 um 17:42 schrieb Dietmar Maurer diet...@proxmox.com: Here are some more lines: pmxcfs[4156]: segfault at 21341873 ip 0041aa9c sp # addr2line -e /usr/bin/pmxcfs 0041aa9c /home/dietmar/pve2-devel/pve-cluster/build/src/logger.c:167 I am unable to find the bug,

Re: [pve-devel] [PATCH] enable debug package for pve-cluster

2015-02-09 Thread Michael Rasmussen
On Mon, 9 Feb 2015 19:07:31 +0100 (CET) Dietmar Maurer diet...@proxmox.com wrote: So there must be something wrong with that clog data structure. Will dig deeper tomorrow. Looks like an instance of the struct is freed to early so that the cast fails. -- Hilsen/Regards Michael Rasmussen

Re: [pve-devel] [PATCH] enable debug package for pve-cluster

2015-02-09 Thread Stefan Priebe
Am 09.02.2015 um 17:43 schrieb Dietmar Maurer: I re-compiled the package with same compiler and libs, so maybe it generate the same code. Running addr2line: # addr2line -e /usr/bin/pmxcfs 0041a730 /home/dietmar/pve2-devel/pve-cluster/build/src/logger.c:314 what IP did you get at the

[pve-devel] [PATCH] enable debug package for pve-cluster

2015-02-09 Thread Stefan Priebe
Signed-off-by: Stefan Priebe s.pri...@profihost.ag --- debian/control |5 + debian/rules |6 ++ 2 files changed, 11 insertions(+) diff --git a/debian/control b/debian/control index b4375a6..1be793a 100644 --- a/debian/control +++ b/debian/control @@ -12,3 +12,8 @@ Description:

[pve-devel] [PATCH] enable debug package for pve-cluster

2015-02-09 Thread Stefan Priebe
Signed-off-by: Stefan Priebe s.pri...@profihost.ag --- debian/control |5 + debian/rules |6 ++ 2 files changed, 11 insertions(+) diff --git a/debian/control b/debian/control index b4375a6..1be793a 100644 --- a/debian/control +++ b/debian/control @@ -12,3 +12,8 @@ Description: