Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache FOP SIGSEGV
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
alchemyx
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2003
Posts: 111
Location: Swinoujscie, Poland

PostPosted: Mon Sep 16, 2013 3:56 pm    Post subject: Apache FOP SIGSEGV Reply with quote

Hello!

I have a simple script that creates PDF file from XML (using XSL). It uses
Apache FOP which in turn is based on Java. It works fine on Mint (Ubuntu).
But when I try to run it on my Gentoo based server here trouble starts:

Code:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb7714420, pid=24786, tid=3063151424
#
# JRE version:  (7.0_40-b31) (build )
# Java VM: OpenJDK Server VM (24.0-b50 mixed mode linux-x86 )
# Problematic frame:
# C  [libz.so.1+0xa420]  inflateMark+0x69
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /var/www/ispadmin3/EXTERNAL/hs_err_pid24786.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#


Here are contents of that log dump: http://pastebin.com/85uFNbGz

Could you help? I tried icedtea-bin-6 and -7. Also fop included with gentoo and downloaded
separately. All fail.
_________________
Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]
Back to top
View user's profile Send private message
shimbob
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2003
Posts: 136

PostPosted: Thu Oct 10, 2013 6:13 am    Post subject: Reply with quote

I get this error, but not from Apache. Running the Android SDK tool (android) generates this SIGSEGV with inflateMark.

Do you have -O3 in your CFLAGS? Crash went away for me by reemerging sys-libs/zlib with -O2
Back to top
View user's profile Send private message
alchemyx
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2003
Posts: 111
Location: Swinoujscie, Poland

PostPosted: Thu Oct 10, 2013 6:49 am    Post subject: Reply with quote

Hello,

I do have -O3 in my flags, so it may be the cause of problem. But to be honest
I solved it earlier with switching to oracle JDK.

BTW: if I change O3 to O2 do I need to reemerge whole system or can it be mixed
(because upgrades will be O2 and old software with O3)
_________________
Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum