All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Ebenfeld <sven.ebenfeld@gmail.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: OpenEmbedded Devel List <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-java] Trying to update openjdk-7 to icedtea 2.5.4 and jdk75b13
Date: Fri, 03 Apr 2015 10:07:32 +0200	[thread overview]
Message-ID: <551E4A44.7050708@gmail.com> (raw)
In-Reply-To: <CAP9ODKqazzhOMQtsdKaGhA-1pNQOHNRQ2vvp_uXDtq+gce2gqg@mail.gmail.com>

Hi Otavio,

Am 03.04.2015 um 03:56 schrieb Otavio Salvador:
> Hello Sven,
> 
> On Thu, Apr 2, 2015 at 5:25 PM, Sven Ebenfeld <sven.ebenfeld@gmail.com> wrote:
>> I've managed to build and run OpenJDK-7-75b13 on an armv7 target but now
>> I run into an issue reported all around in the net:
>> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1851
>>
>> I'm adressing the same issue with the quartz library on my target as in
>> the last comment. For this specific case it looks like the segfault is
>> thrown on a call to Object.clone() within the quartz library.
>> Unfortunately I don't find any bugfix or other hint for fixing that
>> issue. Other sites state, that "-XX:+PrintCommandLineFlags" works around
>> that issue. This is right but it makes the VM painfully slow. So it
>> looks like either the ThumbEE or the whole ASM optimizations won't be
>> used with that option.
>> http://blog.timmattison.com/archives/2014/08/29/deal-with-os-linux-zero-dot-cpp-related-jvm-crashes-without-using-the-oracle-jvm/
>>
>> I've looked for solutions a lot but didn't find anything helpful, yet.
>> Any ideas?
>>
>> If anyone wants to play around with my current work. Please have a look
>> at my fork on github https://github.com/esven/meta-java/tree/jdk_update
> 
> It would be good to hook a gdb on this before the failure and try to
> see if something can be identified which might help fixing the root
> cause of the issue?
> 

Running with gdb gives the following output. I can't install debug
symbols for java atm. I will do this next week. But at least gdb tells
us which address it wants to access.

08:01:07.529 [main] INFO  org.quartz.impl.StdSchedulerFactory - Quartz
scheduler 'BoxClient Scheduler' initialized from default file in current
working dir: 'quartz.properties'
08:01:07.531 [main] INFO  org.quartz.impl.StdSchedulerFactory - Quartz
scheduler version: 2.2.1
08:01:07.539 [main] INFO  org.quartz.core.QuartzScheduler - JobFactory
set to: com.in2soft.remote.client.scheduler.SchedulerJobFactory@1b487e4
Cannot access memory at address 0x28

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6064460 (LWP 1801)]
Cannot access memory at address 0x28
0xb6af138c in ?? ()
   from /usr/lib/jvm/java-7-openjdk/jre/lib/arm/server/libjvm.so
(gdb) bt
#0  0xb6af138c in ?? ()
   from /usr/lib/jvm/java-7-openjdk/jre/lib/arm/server/libjvm.so
#1  0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)


Any clues?


  reply	other threads:[~2015-04-03  8:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 15:19 [meta-java] Trying to update openjdk-7 to icedtea 2.5.4 and jdk75b13 Sven Ebenfeld
2015-04-01 15:25 ` Otavio Salvador
2015-04-01 20:02   ` Sven Ebenfeld
2015-04-01 17:17 ` Max Krummenacher
2015-04-01 20:04   ` Sven Ebenfeld
2015-04-02 18:28     ` Max Krummenacher
2015-04-02 20:25       ` Sven Ebenfeld
2015-04-03  1:56         ` Otavio Salvador
2015-04-03  8:07           ` Sven Ebenfeld [this message]
2015-04-03 18:18             ` Otavio Salvador
2015-04-03 20:24               ` Sven Ebenfeld
2015-04-04 19:27                 ` Otavio Salvador
2015-04-07  9:41                   ` Sven Ebenfeld
2015-04-07 13:17                     ` Otavio Salvador
2015-04-13  7:38                       ` Sven Ebenfeld
2015-04-13 12:27                         ` Otavio Salvador
2015-04-14  3:46                           ` Khem Raj
2015-04-14 19:57                             ` Sven Ebenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=551E4A44.7050708@gmail.com \
    --to=sven.ebenfeld@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.