Bug 640012 - SIGSEGV when compiling maven-doxia (cause found)
Summary: SIGSEGV when compiling maven-doxia (cause found)
Keywords:
Status: CLOSED DUPLICATE of bug 560232
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 639805
TreeView+ depends on / blocked
 
Reported: 2010-10-04 14:42 UTC by Stanislav Ochotnicky
Modified: 2010-12-09 15:58 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-09 15:58:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch causing openjdk SIGSEGV (1020 bytes, patch)
2010-10-04 14:44 UTC, Stanislav Ochotnicky
no flags Details | Diff
koji build.log with openjdk SIGSEGV (139.57 KB, text/plain)
2010-10-04 14:45 UTC, Stanislav Ochotnicky
no flags Details
hs error log from doxia build (46.54 KB, text/plain)
2010-12-09 10:41 UTC, Stanislav Ochotnicky
no flags Details

Description Stanislav Ochotnicky 2010-10-04 14:42:42 UTC
Description of problem:
I am encountering SIGSEGV when maven is compiling maven-doxia package. This is happening after I added patch changing one line (removing plexus annotation from comment).

I am attaching build.log from koji and patch file causing said behaviour. 

You can see changes causing said behaviour in maven-doxia git repository in openjdk-segv branch

Version-Release number of selected component (if applicable):
from build.log
# JRE version: 6.0_18-b18
# Java VM: OpenJDK Server VM (14.0-b16 mixed mode linux-x86 )
# Derivative: IcedTea6 1.8
# Distribution: Custom build (Tue Jun 15 08:46:25 UTC 2010)
# Problematic frame:
# C  [libc.so.6+0x12f8f6]


How reproducible:
Always

Steps to Reproduce:
1. fedpkg clone maven-doxia
2. git checkout -b openjdk-segv -t origin/openjdk-segv
3. fedpkg srpm
4. fedpkg scratch-build --srpm <srpm>

Comment 1 Stanislav Ochotnicky 2010-10-04 14:44:02 UTC
Created attachment 451416 [details]
patch causing openjdk SIGSEGV

Comment 2 Stanislav Ochotnicky 2010-10-04 14:45:00 UTC
Created attachment 451418 [details]
koji build.log with openjdk SIGSEGV

Comment 3 Mark Wielaard 2010-10-05 07:24:49 UTC
Please also attach the /builddir/build/BUILD/maven-doxia-1.1.3/hs_err_pid25440.log file

Comment 4 Stanislav Ochotnicky 2010-10-13 09:47:18 UTC
FYI I have problems with mock when building doxia (investigating). That's why I wasn't able to get you the hs_err log. I'll add it once my mock problem is solved. But I found out that openjdk fails only on x86_64 machines, i686 works fine. That might help a bit I hope

Comment 5 Stanislav Ochotnicky 2010-12-09 10:40:16 UTC
Ok, I managed to get hs_err file (attached). I was wrong about i686 working and x86_64 failing, it's the other way around (sorry if that made things harder).

Comment 6 Stanislav Ochotnicky 2010-12-09 10:41:02 UTC
Created attachment 467726 [details]
hs error log from doxia build

Comment 7 Stanislav Ochotnicky 2010-12-09 10:42:27 UTC
One more bit of information: The build works fine in mock (both i686 and x86_64) so I guess it only fails on true i686 build hosts.

Comment 8 Deepak Bhole 2010-12-09 15:58:07 UTC
Thanks for the trace! Looks like it happened in zip code during getEntry. 

Such an error is known to happen if a jar/zip file is updated after the vm has built a map of its contents. There is already a bug open for this. Closing this one as a dupe.

*** This bug has been marked as a duplicate of bug 560232 ***


Note You need to log in before you can comment on or make changes to this bug.