Issue 122864 - Access violation in python.exe
Summary: Access violation in python.exe
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: 4.0.0
Hardware: PC Windows, all
: P3 Major with 1 vote (vote)
Target Milestone: 4.0.1
Assignee: jsc
QA Contact:
Keywords: regression
: 122894 123293 (view as issue list)
Depends on:
Reported: 2013-07-27 15:41 UTC by peterB
Modified: 2017-05-20 10:34 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.0.0
Developer Difficulty: ---
jsc: 4.0.1_release_blocker+

The from github (53.83 KB, text/plain)
2013-08-21 17:29 UTC, peterB
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description peterB 2013-07-27 15:41:21 UTC
Any attempt to run "C:\Program Files (x86)\OpenOffice 4\program\python.exe" results in Segmentation violation

I have just upgraded from 3.4.1 and can no longer run various scripts that use the built-in python ;-(
Comment 1 Ariel Constenla-Haile 2013-07-27 18:03:04 UTC
@jsc: python.exe (main/pyuno/zipcore/python.cxx) wasn't adapted to the 3-layer removal.

Unhandled exception at 0x1b001b0c in python.exe: 0xC0000005: Access violation writing location 0x00130000.

 	python.exe!tools::buildPath()  + 0xde bytes	C++
>	python.exe!wmain(int argc=2089951896, wchar_t * * argv=0x0012fb08, wchar_t * * __formal=0x7c91e920)  Line 110 + 0x21 bytes	C++
 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
Comment 2 Ariel Constenla-Haile 2013-07-30 14:55:27 UTC
*** Issue 122894 has been marked as a duplicate of this issue. ***
Comment 3 Oliver-Rainer Wittmann 2013-08-09 12:02:35 UTC
It seems that the corresponding path values in /pyuno/zipcore/python.cxx have not been adjusted to the no longer existing "3-layer office"
Comment 4 jsc 2013-08-21 09:04:03 UTC
propose showstopper flag because it makes internal python unusable
Comment 5 jsc 2013-08-21 14:27:11 UTC
does anybody have a script in place to test it?
Comment 6 peterB 2013-08-21 17:29:04 UTC
Created attachment 81372 [details]
The from github

I would do the following using the attached (which came from

1. Create any-old.ods
2. "C:\Program Files (x86)\OpenOffice 4\program\python.exe" -f pdf -o any-old.pdf any-old.ods
Comment 7 jsc 2013-08-22 09:59:44 UTC
Fix available and it works on Windows. Will do a further test on Linux
Comment 8 jsc 2013-08-29 11:27:22 UTC
fixed on branch AOO401 rev. 1518593

tested on Windows and Linux, Mac uses the system python
Comment 9 SVN Robot 2013-08-29 11:29:03 UTC
"jsc" committed SVN revision 1518593 into branches/AOO401:
#122864# correct preapration of python env aligned with new dir structure
Comment 10 SVN Robot 2013-08-29 11:38:07 UTC
"jsc" committed SVN revision 1518604 into trunk:
#122864# merge fix from AOO401 branch
Comment 11 jsc 2013-08-30 09:12:56 UTC
set target milestone
Comment 12 Ariel Constenla-Haile 2013-09-18 23:26:20 UTC
*** Issue 123293 has been marked as a duplicate of this issue. ***