You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2008/11/25 13:48:12 UTC
DO NOT REPLY [Bug 46290] New: Couldn't create workbook in Solaris 10
sparc - gives Segmentation Fault (core dumped) error
https://issues.apache.org/bugzilla/show_bug.cgi?id=46290
Summary: Couldn't create workbook in Solaris 10 sparc - gives
Segmentation Fault (core dumped) error
Product: POI
Version: 3.0
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: tsnaik@rediffmail.com
Created an attachment (id=22937)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22937)
Java program which is reading a file remotely and trying to create sheet using
existing excel template
Hello,
We are using Java SDK that came along with SSH Tectia connect secure 6.0.2.84.
Our requirement is to read CSV files from a remote AIX server over SFTP and
embed them into Excel sheet once read. Our program is failing after reading
contents over n/w using SFTP and embedding them in to Excel objects. To
overcome this, we wrote a separate program just to read the files from remote
server and saved them locally. Then wrote another program to read contents from
the saved files to Excel and it worked fine. Finally, we combined both programs
and it started failing again. It basically gives : "Segmentation Fault (core
dumped)" error in solaris (ver 10 on SPARC) when trying to create in memory
Excel workbook object. Please find attached the java souce program for your
reference.
The java program when run thru command line gives this error. Please see below
o/p of console:
-------------------------------------------------------------------------------------------------------
openURL : sftp://@/home//CSV/251849/criteria_out.csv
17/11/2008 13:28:21:347 SftpAppLibSft/secsh_sft.c:2849/ssh_sft_open_internal:
HANDLE conn id = 4
read 1780
closed streams 1
closed streams 2
openURL : sftp://@/home//CSV/251849/ByAnalysisSummary.csv
17/11/2008 13:28:21:404 SftpAppLibSft/secsh_sft.c:2849/ssh_sft_open_internal:
HANDLE conn id = 4
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 8192
read 4176
closed streams 1
closed streams 2
before creating workbook
fs created
created workboox
Segmentation Fault (core dumped)
========================================================
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 46290] Couldn't create workbook in Solaris 10
sparc - gives Segmentation Fault (core dumped) error
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46290
Nick Burch <ni...@torchbox.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Nick Burch <ni...@torchbox.com> 2008-11-25 05:39:05 PST ---
POI should never be able to segfault Java, as it's pure Java
I think you either have a bug in some native code (eg your sftp library), or a
bug in your JVM. Try upgrading one or both
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org