pcp
[Top] [All Lists]

Re: [pcp] Another Python snarfoo (qa/739)

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Another Python snarfoo (qa/739)
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 22 Jul 2016 08:34:29 +1000
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <976380045.7553289.1469057369948.JavaMail.zimbra@xxxxxxxxxx>
References: <578ED30B.7010200@xxxxxxxxxxxxxxxx> <976380045.7553289.1469057369948.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
On 21/07/16 09:29, Nathan Scott wrote:


----- Original Message -----
[...] test_pcp_options.py dumps core in qa/739.

There is no 739.full, but 739.out.bad contains ...

check archive option and non arguments
overrideCB: got option 'a'
Archive list: ['file']
Non-option arguments: ['param']
Done!
Segmentation fault (core dumped)


Solving this is going to need some gdb involvement on the affected
machine & a stack trace from the offending python process I guess.

        vm01 PCP 3.11.4 i686 Ubuntu 15.10

I have an x86_64 VM of otherwise same flavour, and interestingly the
test always passes there - maybe this fails on 32 bit boxes only?



This is not going to help I'm afraid ....

(gdb) r src/test_pcp_options.py -a file param
Starting program: /usr/bin/python3 src/test_pcp_options.py -a file param
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
overrideCB: got option 'a'
Archive list: ['file']
Non-option arguments: ['param']
Done!

Program received signal SIGSEGV, Segmentation fault.
0xb7a69aa0 in ?? ()
(gdb) where
#0  0xb7a69aa0 in ?? ()
#1  0x10245c8b in ?? ()
#2  0xf604438b in ?? ()
#3  0x75405540 in ?? ()
#4  0x08c4830f in ?? ()
#5  0xc35bc031 in ?? ()
#6  0x26b48d90 in ?? ()
#7  0x00000000 in ?? ()

And the problem is non-deterministic.

Given that the test seems reliable everywhere else, I plan to just not run it on this particular machine (vm01).

<Prev in Thread] Current Thread [Next in Thread>