[issue9197] subprocess module causing crash
Changes by Palluat de Besset marc.palluatdebes...@sophos.com: -- assignee: ronaldoussoren components: Macintosh nosy: mpalluat, ronaldoussoren priority: normal severity: normal status: open title: subprocess module causing crash type: crash versions: Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9197 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9197] subprocess module causing crash
New submission from Palluat de Besset marc.palluatdebes...@sophos.com: there is a crash log inside the archive -- Added file: http://bugs.python.org/file17898/OSDP2.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9197 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9197] subprocess module causing crash
Palluat de Besset marc.palluatdebes...@sophos.com added the comment: Hi Ronald, Thank you for looking into it, and sorry for the misleading title. You will find a crash log and some instructions on how to reproduce the problem inside the archive. Thanks, Marc On 8 Jul 2010, at 10:18, Ronald Oussoren wrote: Ronald Oussoren ronaldousso...@mac.commailto:ronaldousso...@mac.com added the comment: The title is somewhat misleading, this is a C program that uses dlopen to load the python framework. I will look into this, but it is just as likely that code that loads or uses the python framework has a problem. -- ___ Python tracker rep...@bugs.python.orgmailto:rep...@bugs.python.org http://bugs.python.org/issue9197 ___ Marc Palluat de Besset Mac Software Engineer email : marc.palluatdebes...@sophos.commailto:marc.palluatdebes...@sophos.com tel : +44 1235 544056 loc : E2 floor 2 SOPHOS - simply secure Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. -- Added file: http://bugs.python.org/file17899/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9197 ___html head meta http-equiv=Content-Type content=text/html; charset=us-ascii /head body style=word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; divHi Ronald,/div divbr /div Thank you for looking into it, and sorry for the misleading title. divbr /div divYou will find a crash log and some instructions on how to reproduce the problem inside the archive./div divbr /div divThanks,br divbr /div divMarcbr divbr /div divbr div divOn 8 Jul 2010, at 10:18, Ronald Oussoren wrote:/div br class=Apple-interchange-newline blockquote type=cite divbr Ronald Oussoren lt;a href=mailto:ronaldousso...@mac.com;ronaldousso...@mac.com/agt; added the comment:br br The title is somewhat misleading, this is a C program that uses dlopen to load the python framework. br br I will look into this, but it is just as likely that code that loads or uses the python framework has a problem.br br --br br ___br Python tracker lt;a href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;br lt;a href=http://bugs.python.org/issue9197;http://bugs.python.org/issue9197/agt;br ___br /div /blockquote /div br divspan class=Apple-style-span style=border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; span class=Apple-style-span style=border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decoration s-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; div style=word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; span class=Apple-style-span style=border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; div style=word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; span class=Apple-style-span style=border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; div style=word-wrap: break-word; -webkit-nbsp-mode: space
[issue8126] Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac
Palluat de Besset marc.palluatdebes...@sophos.com added the comment: Yes, sorry for the confusion. I'm trying to build a universal 32 bit version of Python that will be embedded in our software. we need it to run on 10.4 to 10.6 Mac systems, and would like to build it on a 10.6 machine. I've been trying with several versions of Python to try to achieve that ; version 3.1.1, version 3.1.2rc1 and py3k. None of these version would build a 10.4 compatible universal 32 bit on our 10.6 build machine. This is why I raised an issue. Thanks, Marc On 12 Mar 2010, at 21:21, Ned Deily wrote: Ned Deily n...@acm.orgmailto:n...@acm.org added the comment: Note: Python.framework/Versions/3.2/Python. You appear to be building from py3k (which will become 3.2), and not Python 3.1.2rc2. There are pending fixes for py3k for OS X framework targeted builds and there is at least one as yet unmerged fix for 3.1.2. At the moment, building any branch of Python on 10.6 and targeting earlier systems does not work correctly; extension module building should be OK as long as the 10.4u SDK is available and gcc 4.0 is used. Until that is fixed, if you really need to target 10.3, you should build Python on 10.5 or 10.4, otherwise, build just for 10.6 on 10.6 (to do so you may need to set MACOSX_DEPLOYMENT_TARGET=10.6). -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.orgmailto:rep...@bugs.python.org http://bugs.python.org/issue8126 ___ Marc Palluat de Besset Mac Software Engineer email : marc.palluatdebes...@sophos.commailto:marc.palluatdebes...@sophos.com tel : +44 1235 544056 loc : E2 floor 2 SOPHOS - simply secure Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. -- title: Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac - Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac Added file: http://bugs.python.org/file16555/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8126 ___html head meta http-equiv=Content-Type content=text/html; charset=us-ascii /head body style=word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; Yes, sorry for the confusion. I'm trying to build a universal 32 bit version of Python that will be embedded in our software. we need it to run on 10.4 to 10.6 Mac systems, and would like to build it on a 10.6 machine. I've been trying with several versions of Python to try to achieve that ; version 3.1.1, version 3.1.2rc1 and py3k. None of these version would build a 10.4 compatible universal 32 bit on our 10.6 build machine. This is why I raised an issue. divbr /div divThanks,/div divbr /div divMarcbr divbr /div divbr div divOn 12 Mar 2010, at 21:21, Ned Deily wrote:/div br class=Apple-interchange-newline blockquote type=cite divbr Ned Deily lt;a href=mailto:n...@acm.org;n...@acm.org/agt; added the comment:br br Note: quot;Python.framework/Versions/3.2/Pythonquot;.br You appear to be building from py3k (which will become 3.2), and not Python 3.1.2rc2. nbsp;There are pending fixes for py3k for OS X framework targeted builds and there is at least one as yet unmerged fix for 3.1.2. nbsp;At the moment, building any branch of Python on 10.6 and targeting earlier systems does not work correctly; extension module building should be OK as long as the 10.4u SDK is available and gcc 4.0 is used. nbsp;Until that is fixed, if you really need to target 10.3, you should build Python on 10.5 or 10.4, otherwise, build just for 10.6 on 10.6 (to do so you may need to set MACOSX_DEPLOYMENT_TARGET=10.6).br br --br nosy: #43;ned.deilybr br ___br Python tracker lt;a href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;br lt;a href=http://bugs.python.org/issue8126;http://bugs.python.org/issue8126/agt;br ___br /div /blockquote /div br divspan class=Apple-style-span style=border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; span class=Apple-style-span style=border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent
[issue8126] Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac
New submission from Palluat de Besset marc.palluatdebes...@sophos.com: /usr/bin/gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DPYTHONFRAMEWORK='Python' -o pythonw ./Tools/pythonw.c -I.. -I./../Include ../Python.framework/Versions/3.2/Python ./Tools/pythonw.c:22:19:./Tools/pythonw.c:22:19: error: spawn.h: No such file or directory error: spawn.h: No such file or directory ./Tools/pythonw.c:91: error: syntax error before ‘*’ token./Tools/pythonw.c:91: error: syntax error before ‘*’ token ./Tools/pythonw.c: In function ‘setup_spawnattr’: ./Tools/pythonw.c:95: error: ‘cpu_type_t’ undeclared (first use in this function) ./Tools/pythonw.c:95: error: (Each undeclared identifier is reported only once ./Tools/pythonw.c:95: error: for each function it appears in.) ./Tools/pythonw.c:95: error: syntax error before ‘cpu_types’ ./Tools/pythonw.c:101: error: ‘spawnattr’ undeclared (first use in this function) ./Tools/pythonw.c:122: error: ‘cpu_types’ undeclared (first use in this function) ./Tools/pythonw.c:122: error: ‘CPU_TYPE_X86’ undeclared (first use in this function) ./Tools/pythonw.c:142: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in this function) ./Tools/pythonw.c: In function ‘main’: ./Tools/pythonw.c:158: error: ‘posix_spawn’ undeclared (first use in this function) ./Tools/pythonw.c:159: error: ‘posix_spawnattr_t’ undeclared (first use in this function) ./Tools/pythonw.c:159: error: syntax error before ‘spawnattr’ ./Tools/pythonw.c:161: error: ‘spawnattr’ undeclared (first use in this function) ./Tools/pythonw.c: In function ‘setup_spawnattr’: ./Tools/pythonw.c:95: error: ‘cpu_type_t’ undeclared (first use in this function) ./Tools/pythonw.c:95: error: (Each undeclared identifier is reported only once ./Tools/pythonw.c:95: error: for each function it appears in.) ./Tools/pythonw.c:95: error: syntax error before ‘cpu_types’ ./Tools/pythonw.c:101: error: ‘spawnattr’ undeclared (first use in this function) ./Tools/pythonw.c:120: error: ‘cpu_types’ undeclared (first use in this function) ./Tools/pythonw.c:120: error: ‘CPU_TYPE_POWERPC’ undeclared (first use in this function) ./Tools/pythonw.c:142: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in this function) ./Tools/pythonw.c: In function ‘main’: ./Tools/pythonw.c:158: error: ‘posix_spawn’ undeclared (first use in this function) ./Tools/pythonw.c:159: error: ‘posix_spawnattr_t’ undeclared (first use in this function) ./Tools/pythonw.c:159: error: syntax error before ‘spawnattr’ ./Tools/pythonw.c:161: error: ‘spawnattr’ undeclared (first use in this function) lipo: can't figure out the architecture type of: /var/tmp//cct0zueu.out make[1]: *** [pythonw] Error 1 make: *** [frameworkinstallapps] Error 2 -- components: Build messages: 100949 nosy: mpalluat severity: normal status: open title: Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac type: compile error versions: Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8126 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com