You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by "Roger L. Whitcomb" <Ro...@ingres.com> on 2011/08/06 02:55:45 UTC

Any reports of...

... problems with Pivot on Red Hat Enterprise Linux Server release 5.7
(Tikanga)??

 

uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64

libc:glibc 2.5 NPTL 2.5

rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity

 

I'm getting crashes all over the place in this environment whereas on
Win32, Win64, OSX 64 everything is working fine.  Must be something I've
done in my platform-specific code, but I just thought I'd check to see
if anyone had seen problems in this environment.

 

BTW, it happens either with OpenJDK or Oracle/Sun released JDK.

 

Thanks.

Roger Whitcomb

Architect, Engineering

Ingres Corporation

roger.whitcomb@ingres.com <ma...@ingres.com> 

 

PHONE +1 650.587.5596

FAX +1 650.587.5550

 

www.ingres.com <http://www.ingres.com/>  

 

This transmission is confidential and intended solely for the use of the
recipient named above. It may contain confidential, proprietary, or
legally privileged information. If you are not the intended recipient,
you are hereby notified that any unauthorized review, use, disclosure or
distribution is strictly prohibited. If you have received this
transmission in error, please contact the sender by reply e-mail and
delete the original transmission and all copies from your system.

 


Re: Any reports of...

Posted by Roger and Beth Whitcomb <Ro...@rbwhitcomb.com>.
* I can't remember now whether I've ever run with Pivot .jars built on 
the RedHat machine, but lately I've been using ones built on Windows. 
(sent before finishing my thought below)  Shouldn't make any difference, 
right?!

On 8/5/11 9:28 PM, Roger and Beth Whitcomb wrote:
> Hi Chris,
> It is a DesktopApplication.  I'm having trouble running applets 
> because of Java browser plugin installation issues, so I can't tell if 
> ComponentExplorer or KitchenSink works or not.  I have a smaller Pivot 
> desktop app that seems to run fine, but it doesn't have a lot of the 
> interaction of our main app (no right-click menus, no tree view, 
> etc.).  I can't (yet) run our application from a browser, so I can't 
> tell if that would make a difference or not.
>
> It happens at irregular times, but often just when I right click on a 
> tree view node, or at application startup time when I am loading 
> components into the tree on the "main" thread.  It still happens even 
> with all my own background threads disabled, so the only threads 
> running are the ones launched by the JVM and the AWT-EventQueue-0 
> thread (or possibly Pivot Tasks doing resource loading).  I have had 
> it run for 10 or fifteen minutes sometimes, but lately it crashes 
> fairly soon into the application.  Usually when it crashes it also 
> crashes the dump generator, so there is no reliable stack frame in the 
> "hs_err_pidxxxx.log" file either.  "valgrind" reports no problems, 
> "gdb" is unable to print a stack frame, and "strace" shows nothing 
> unusual either.  Usually, but not always, what's reported is a SIGSEGV 
> or SIGABRT that crashes the JVM and the crashing address is somewhere 
> inside a monitor wait (like "pthread_cond_wait", or sometimes in "kill").
>
> The identical Java/Pivot code runs fine on all our other environments, 
> although on Win32 there was a SEGV reported that was handled by an 
> exception handler somewhere deep inside the JVM.  The only 
> platform-specific code is inside JNI routines and the only code 
> differences are in a mutex class (Windows uses "CriticalSection" and 
> OSX/Linux use "pthread_mutex").  But, I put "printf" tracing around 
> the mutex stuff on RHEL and it appeared to be working fine.  And 
> usually the crash occurred within Java code (i.e., nowhere near the 
> JNI code layer).  And, as I said, I disabled my own background thread 
> (which was my first thought) so that the only thread running with my 
> application code was the AWT event thread, so there was no possibility 
> of multiple threads in my own code interfering with each other.
>
> So, I'm left with a complete mystery, and the more so because the OSX 
> code and the Linux code, from my end, are almost identical and OSX 
> works flawlessly (and has done so both 32-bit and 64-bit).  I can't 
> remember, now, whether I've been running Pivot .jars
>
> Oh, the original version of Java I was using was OpenJDK that was 
> certified with RedHat (something like 1.6_16).  But, yesterday I tried 
> installing the latest Oracle 1.6_26 version and it was essentially 
> exactly the same result with either.  Although, I'm not sure I can't 
> rule out installation issues, since my Linux knowledge is sketchy at 
> best.  But, our system admin did the original OpenJDK installation, 
> and I'm pretty sure he knows what he's doing.
>
> Sorry this is so long, but (as you can probably tell), this has been 
> rather frustrating.  I'm kind of grasping at straws here, since I'm 
> pretty sure the problem lies in my code, but I am at a loss to be able 
> to figure out where.  HTH.  Thanks for any insights anyone might have.
>
> ~Roger Whitcomb
>
> On 8/5/11 7:49 PM, Chris Bartlett wrote:
>> Can you elaborate a little on the crashes, or if you think they are
>> limited to that particular version of RHES?
>>
>> Does it matter how the app is launched?  (Applet/desktop app/web start)
>> Have you tried things like the KitchenSink or ComponentExplorer demos
>> (I assume you are taking about non-headless apps)?
>>
>> On 6 August 2011 07:55, Roger L. Whitcomb<Ro...@ingres.com>  
>> wrote:
>>> … problems with Pivot on Red Hat Enterprise Linux Server release 5.7
>>> (Tikanga)??
>>>
>>>
>>>
>>> uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64
>>>
>>> libc:glibc 2.5 NPTL 2.5
>>>
>>> rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity
>>>
>>>
>>>
>>> I’m getting crashes all over the place in this environment whereas 
>>> on Win32,
>>> Win64, OSX 64 everything is working fine.  Must be something I’ve 
>>> done in my
>>> platform-specific code, but I just thought I’d check to see if 
>>> anyone had
>>> seen problems in this environment.
>>>
>>>
>>>
>>> BTW, it happens either with OpenJDK or Oracle/Sun released JDK.
>>>
>>>
>>>
>>> Thanks.
>>>
>>> Roger Whitcomb
>>>
>>> Architect, Engineering
>>>
>>> Ingres Corporation
>>>
>>> roger.whitcomb@ingres.com
>>>
>>>
>>>
>>> PHONE +1 650.587.5596
>>>
>>> FAX +1 650.587.5550
>>>
>>>
>>>
>>> www.ingres.com
>>>
>>>
>>>
>>> This transmission is confidential and intended solely for the use of 
>>> the
>>> recipient named above. It may contain confidential, proprietary, or 
>>> legally
>>> privileged information. If you are not the intended recipient, you are
>>> hereby notified that any unauthorized review, use, disclosure or
>>> distribution is strictly prohibited. If you have received this 
>>> transmission
>>> in error, please contact the sender by reply e-mail and delete the 
>>> original
>>> transmission and all copies from your system.
>>>
>>>
>>
>
>

RE: Any reports of...

Posted by Jérôme Serré <je...@gmail.com>.
Hello,

"Usually when it crashes it also crashes the dump generator, so there is no
reliable stack frame in the "hs_err_pidxxxx.log" file either.  "valgrind"
reports no problems, "gdb""

I have the same problem time to time. it's seems to be random.
Both applet and DesktopApplication.

Run on windows 7 x64, jvm x86 and x64 (ie 32 and 64 bit)

I don't know how to distinct if the problem come from java, windows or pivot
! 

-----Message d'origine-----
De : Roger and Beth Whitcomb [mailto:RogerandBeth@rbwhitcomb.com] 
Envoyé : samedi 6 août 2011 06:29
À : user@pivot.apache.org
Objet : Re: Any reports of...

Hi Chris,
It is a DesktopApplication.  I'm having trouble running applets because of
Java browser plugin installation issues, so I can't tell if
ComponentExplorer or KitchenSink works or not.  I have a smaller Pivot
desktop app that seems to run fine, but it doesn't have a lot of the
interaction of our main app (no right-click menus, no tree view, etc.).  
I can't (yet) run our application from a browser, so I can't tell if that
would make a difference or not.

It happens at irregular times, but often just when I right click on a tree
view node, or at application startup time when I am loading components into
the tree on the "main" thread.  It still happens even with all my own
background threads disabled, so the only threads running are the ones
launched by the JVM and the AWT-EventQueue-0 thread (or possibly Pivot Tasks
doing resource loading).  I have had it run for 10 or fifteen minutes
sometimes, but lately it crashes fairly soon into the application.  Usually
when it crashes it also crashes the dump generator, so there is no reliable
stack frame in the "hs_err_pidxxxx.log" file either.  "valgrind" reports no
problems, "gdb" 
is unable to print a stack frame, and "strace" shows nothing unusual either.
Usually, but not always, what's reported is a SIGSEGV or SIGABRT that
crashes the JVM and the crashing address is somewhere inside a monitor wait
(like "pthread_cond_wait", or sometimes in "kill").

The identical Java/Pivot code runs fine on all our other environments,
although on Win32 there was a SEGV reported that was handled by an exception
handler somewhere deep inside the JVM.  The only platform-specific code is
inside JNI routines and the only code differences are in a mutex class
(Windows uses "CriticalSection" and OSX/Linux use "pthread_mutex").  But, I
put "printf" tracing around the mutex stuff on RHEL and it appeared to be
working fine.  And usually the crash occurred within Java code (i.e.,
nowhere near the JNI code layer).  And, as I said, I disabled my own
background thread (which was my first thought) so that the only thread
running with my application code was the AWT event thread, so there was no
possibility of multiple threads in my own code interfering with each other.

So, I'm left with a complete mystery, and the more so because the OSX code
and the Linux code, from my end, are almost identical and OSX works
flawlessly (and has done so both 32-bit and 64-bit).  I can't remember, now,
whether I've been running Pivot .jars

Oh, the original version of Java I was using was OpenJDK that was certified
with RedHat (something like 1.6_16).  But, yesterday I tried installing the
latest Oracle 1.6_26 version and it was essentially exactly the same result
with either.  Although, I'm not sure I can't rule out installation issues,
since my Linux knowledge is sketchy at best.  But, our system admin did the
original OpenJDK installation, and I'm pretty sure he knows what he's doing.

Sorry this is so long, but (as you can probably tell), this has been rather
frustrating.  I'm kind of grasping at straws here, since I'm pretty sure the
problem lies in my code, but I am at a loss to be able to figure out where.
HTH.  Thanks for any insights anyone might have.

~Roger Whitcomb

On 8/5/11 7:49 PM, Chris Bartlett wrote:
> Can you elaborate a little on the crashes, or if you think they are 
> limited to that particular version of RHES?
>
> Does it matter how the app is launched?  (Applet/desktop app/web 
> start) Have you tried things like the KitchenSink or ComponentExplorer 
> demos (I assume you are taking about non-headless apps)?
>
> On 6 August 2011 07:55, Roger L. Whitcomb<Ro...@ingres.com>
wrote:
>> … problems with Pivot on Red Hat Enterprise Linux Server release 5.7 
>> (Tikanga)??
>>
>>
>>
>> uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64
>>
>> libc:glibc 2.5 NPTL 2.5
>>
>> rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity
>>
>>
>>
>> I’m getting crashes all over the place in this environment whereas on 
>> Win32, Win64, OSX 64 everything is working fine.  Must be something 
>> I’ve done in my platform-specific code, but I just thought I’d check 
>> to see if anyone had seen problems in this environment.
>>
>>
>>
>> BTW, it happens either with OpenJDK or Oracle/Sun released JDK.
>>
>>
>>
>> Thanks.
>>
>> Roger Whitcomb
>>
>> Architect, Engineering
>>
>> Ingres Corporation
>>
>> roger.whitcomb@ingres.com
>>
>>
>>
>> PHONE +1 650.587.5596
>>
>> FAX +1 650.587.5550
>>
>>
>>
>> www.ingres.com
>>
>>
>>
>> This transmission is confidential and intended solely for the use of 
>> the recipient named above. It may contain confidential, proprietary, 
>> or legally privileged information. If you are not the intended 
>> recipient, you are hereby notified that any unauthorized review, use, 
>> disclosure or distribution is strictly prohibited. If you have 
>> received this transmission in error, please contact the sender by 
>> reply e-mail and delete the original transmission and all copies from
your system.
>>
>>
>


RE: Any reports of...

Posted by "Roger L. Whitcomb" <Ro...@ingres.com>.
Hi Sandro,
	Thanks for the suggestions.  I have been too busy with meetings
and things this week to try anything more, but hopefully soon I can try
some of these things.
	I am using 2.0.1 jars generated from current trunk.  I am going
to pull down the source and try the demos, maybe today or tomorrow.

Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com |
Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 |
USA  +1 650-587-5596 | fax: +1 650-587-5550

-----Original Message-----
From: Sandro Martini [mailto:sandro.martini@gmail.com] 
Sent: Thursday, August 11, 2011 1:31 AM
To: user@pivot.apache.org
Subject: RE: Any reports of...

Roger, 
other hints for some friend (maybe some already done by you):

- verify in a red hat server, but without the red hat cluster enabled
(if
possible)
- enable hotspot dump creation, enable SAR in VMWare, and enable
statistics
on cpu, ram, thread, network, etc ...

At least just to start to exclude some things.


And last, sorry I forget it:
are you using Pivot-2.0 jars, or 2.0.1 generated from current trunk ?
Have you tried even with the "Kitchen Sink" Demo, run as standalone
application ?
Can you try even these two tests ? Thank you.

Tell me.

Bye


--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/Any-reports-of-tp3230195p
3245213.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: Any reports of...

Posted by Sandro Martini <sa...@gmail.com>.
Hi Chris,
I remember you have something like this in your todo list ... so don't worry
if/when you (or another of us) have some time.
I could create a ticket in jira for this in 2.0.2, just to not forget.
Could even go in a package.html javadoc file if not in a specific class ...

Bye
Il giorno 12/ago/2011 00:05, "Chris Bartlett" <cb...@gmail.com> ha
scritto:
> I haven't needed to use any special JVM flags for my own projects, so
> I only know what others have posted on the mailing lists.
>
> My ToDo list contains an entry to make sure that Pivot start up
> properties are documented somewhere, but I haven't thought much about
> if it can just be in Javadocs or if it should be on the website and/or
> wiki too.
>
> On 11 August 2011 16:31, Sandro Martini <sa...@gmail.com> wrote:
>> And to Chris:
>> you have done a lot of work on our javadocs, do you remember if Pivot
flags
>> (and/or JVM flags that could be useful for the graphics pipeline, etc)
are
>> documented somewhere ?
>> If not could be another interesting thing, if possible for 2.0.1,
otherwise
>> 2.0.2 ... what do you think ?

Re: Any reports of...

Posted by Chris Bartlett <cb...@gmail.com>.
I haven't needed to use any special JVM flags for my own projects, so
I only know what others have posted on the mailing lists.

My ToDo list contains an entry to make sure that Pivot start up
properties are documented somewhere, but I haven't thought much about
if it can just be in Javadocs or if it should be on the website and/or
wiki too.

On 11 August 2011 16:31, Sandro Martini <sa...@gmail.com> wrote:
> And to Chris:
> you have done a lot of work on our javadocs, do you remember if Pivot flags
> (and/or JVM flags that could be useful for the graphics pipeline, etc) are
> documented somewhere ?
> If not could be another interesting thing, if possible for 2.0.1, otherwise
> 2.0.2 ... what do you think ?

RE: Any reports of...

Posted by "Roger L. Whitcomb" <Ro...@ingres.com>.
I will try this also in the next couple of days.

Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com |
Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 |
USA  +1 650-587-5596 | fax: +1 650-587-5550

-----Original Message-----
From: Sandro Martini [mailto:sandro.martini@gmail.com] 
Sent: Thursday, August 11, 2011 2:31 AM
To: user@pivot.apache.org
Subject: RE: Any reports of...

Roger, other ideas (i really don't like the problem you have on your
servers,
Pivot or not ...):
i remember something already fixed in Pivot 2.0 on volatile images and
similar, take a look here 

https://issues.apache.org/jira/browse/PIVOT-390

Have you already tried to force some JVM startup flags like those
written
there ?
And (sorry, you know I have little memory) could exist other Pivot flags
to
fine-tune things ... but probably not in docs, you have to search in
sources.


And to Chris:
you have done a lot of work on our javadocs, do you remember if Pivot
flags
(and/or JVM flags that could be useful for the graphics pipeline, etc)
are
documented somewhere ?
If not could be another interesting thing, if possible for 2.0.1,
otherwise
2.0.2 ... what do you think ?


Bye


--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/Any-reports-of-tp3230195p
3245355.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

RE: Any reports of...

Posted by Sandro Martini <sa...@gmail.com>.
Roger, other ideas (i really don't like the problem you have on your servers,
Pivot or not ...):
i remember something already fixed in Pivot 2.0 on volatile images and
similar, take a look here 

https://issues.apache.org/jira/browse/PIVOT-390

Have you already tried to force some JVM startup flags like those written
there ?
And (sorry, you know I have little memory) could exist other Pivot flags to
fine-tune things ... but probably not in docs, you have to search in
sources.


And to Chris:
you have done a lot of work on our javadocs, do you remember if Pivot flags
(and/or JVM flags that could be useful for the graphics pipeline, etc) are
documented somewhere ?
If not could be another interesting thing, if possible for 2.0.1, otherwise
2.0.2 ... what do you think ?


Bye


--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Any-reports-of-tp3230195p3245355.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

RE: Any reports of...

Posted by Sandro Martini <sa...@gmail.com>.
Roger, 
other hints for some friend (maybe some already done by you):

- verify in a red hat server, but without the red hat cluster enabled (if
possible)
- enable hotspot dump creation, enable SAR in VMWare, and enable statistics
on cpu, ram, thread, network, etc ...

At least just to start to exclude some things.


And last, sorry I forget it:
are you using Pivot-2.0 jars, or 2.0.1 generated from current trunk ?
Have you tried even with the "Kitchen Sink" Demo, run as standalone
application ?
Can you try even these two tests ? Thank you.

Tell me.

Bye


--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Any-reports-of-tp3230195p3245213.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

RE: Any reports of...

Posted by Sandro Martini <sa...@gmail.com>.
Hi Roger,
another idea: I have to ask to a friend, at work they have many Servers like
yours (I ask if they have the same red hat enterprise version virtualized on
some server...).

Let's update (I hope soon) ... if you have some news, tell me.

In any case I'd try to contact VMWare and Red Hat, and maybe even Oracle, to
see if it's a known issue ...

Bye


--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Any-reports-of-tp3230195p3242115.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

RE: Any reports of...

Posted by "Roger L. Whitcomb" <Ro...@ingres.com>.
Hi Sandro,
	I have experienced the crash both with local console (using the
VMWare Console) and through VNC (several different VNC viewers) (all
running under GNOME).  Not sure if I have other desktop managers
available or not, but I will check.

Thanks,
Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com |
Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 |
USA  +1 650-587-5596 | fax: +1 650-587-5550

-----Original Message-----
From: Sandro Martini [mailto:sandro.martini@gmail.com] 
Sent: Monday, August 08, 2011 9:14 AM
To: user@pivot.apache.org
Subject: RE: Any reports of...

Hi Roger,
ok you are on a cluster installation so I imagine that you haven't
control
on the environment ... but are you still able to try to change the
desktop
environment (and/or window manager) for a user of your tests (assuming
that
there are other environments and desktop managers installed ...) ?

And another test (maybe you can try even this):
running the application in local (side by side to a system admin, if
possible :-) ), or in remote (and maybe in different ways if possible,
like
X remoting with/without SSH encryption, with VNC, or others) to see in
there
are differences ...
I'm sorry but at the moment I haven't other ideas.

Tell me if you try.

Bye


--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/Any-reports-of-tp3230195p
3236063.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

RE: Any reports of...

Posted by Sandro Martini <sa...@gmail.com>.
Hi Roger,
ok you are on a cluster installation so I imagine that you haven't control
on the environment ... but are you still able to try to change the desktop
environment (and/or window manager) for a user of your tests (assuming that
there are other environments and desktop managers installed ...) ?

And another test (maybe you can try even this):
running the application in local (side by side to a system admin, if
possible :-) ), or in remote (and maybe in different ways if possible, like
X remoting with/without SSH encryption, with VNC, or others) to see in there
are differences ...
I'm sorry but at the moment I haven't other ideas.

Tell me if you try.

Bye


--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Any-reports-of-tp3230195p3236063.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

RE: Any reports of...

Posted by "Roger L. Whitcomb" <Ro...@ingres.com>.
Hi Sandro,

                The RHEL machine is running on a VMWare ESX cluster....
So, the drivers are pretty much out of my control.

 

Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com|
Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 |
USA
<http://www.google.com/maps?f=q&hl=en&geocode=&q=500+Arguello+Street+%7C
+Suite+200+%7C+Redwood+City+%7C+CA+%7C+94063+%7C+USA+&sll=37.0625,-95.67
7068&sspn=50.557552,73.037109&ie=UTF8&t=h&z=16&iwloc=addr>  | +1
650-587-5596 | fax: +1 650-587-5550

From: Sandro Martini [mailto:sandro.martini@gmail.com] 
Sent: Saturday, August 06, 2011 2:09 AM
To: user@pivot.apache.org
Subject: Re: Any reports of...

 

Hi all, 
can you try to update graphic board drivers, and all X Window stuff (X,
window manager, etc) ?
In last months I've seen strange crash of JVM (6u24 and 6u26) on win xp
32 bit using SoapUI when I have a virtual Desktop manager (dexpot)
active. Just as an idea ...

Or change window manager on a user and retry ...

Hope could be useful.

Bye

Il giorno 06/ago/2011 08:19, "Chris Bartlett" <cb...@gmail.com> ha
scritto:
> Having read through it all this time, I can't really suggest anything
> else other than the tedious (but seemingly necessary) methodical
> behaviour comparisons across JVMs, OSs, custom/Pivot code etc.
> 
> Ideally before starting down that route you would already be able to
> reliably reproduce the issue, but it sounds like there may be more
> than one issue anyway.
> 
> If the problems seem to show up mainly on RHEL, then I'd say just
> focus on running as much Pivot code from SVN as you can to see if you
> can trigger the same sorts of issues as with your custom app. It is
> probably also worth testing the 2.0 and 1.5.2 jars too just to rule
> out the specific Pivot version, and to try to find some pure AWT apps
> too.
> 
> I doubt that I have told you anything you didn't already know, so
> hopefully someone else on the mailing list will have some bright
> ideas.
> 
> Chris
> 
> On 6 August 2011 11:28, Roger and Beth Whitcomb
> <Ro...@rbwhitcomb.com> wrote:
>> Hi Chris,
>> It is a DesktopApplication.  I'm having trouble running applets
because of
>> Java browser plugin installation issues, so I can't tell if
>> ComponentExplorer or KitchenSink works or not.  I have a smaller
Pivot
>> desktop app that seems to run fine, but it doesn't have a lot of the
>> interaction of our main app (no right-click menus, no tree view,
etc.).  I
>> can't (yet) run our application from a browser, so I can't tell if
that
>> would make a difference or not.
>>
>> It happens at irregular times, but often just when I right click on a
tree
>> view node, or at application startup time when I am loading
components into
>> the tree on the "main" thread.  It still happens even with all my own
>> background threads disabled, so the only threads running are the ones
>> launched by the JVM and the AWT-EventQueue-0 thread (or possibly
Pivot Tasks
>> doing resource loading).  I have had it run for 10 or fifteen minutes
>> sometimes, but lately it crashes fairly soon into the application.
Usually
>> when it crashes it also crashes the dump generator, so there is no
reliable
>> stack frame in the "hs_err_pidxxxx.log" file either.  "valgrind"
reports no
>> problems, "gdb" is unable to print a stack frame, and "strace" shows
nothing
>> unusual either.  Usually, but not always, what's reported is a
SIGSEGV or
>> SIGABRT that crashes the JVM and the crashing address is somewhere
inside a
>> monitor wait (like "pthread_cond_wait", or sometimes in "kill").
>>
>> The identical Java/Pivot code runs fine on all our other
environments,
>> although on Win32 there was a SEGV reported that was handled by an
exception
>> handler somewhere deep inside the JVM.  The only platform-specific
code is
>> inside JNI routines and the only code differences are in a mutex
class
>> (Windows uses "CriticalSection" and OSX/Linux use "pthread_mutex").
But, I
>> put "printf" tracing around the mutex stuff on RHEL and it appeared
to be
>> working fine.  And usually the crash occurred within Java code (i.e.,
>> nowhere near the JNI code layer).  And, as I said, I disabled my own
>> background thread (which was my first thought) so that the only
thread
>> running with my application code was the AWT event thread, so there
was no
>> possibility of multiple threads in my own code interfering with each
other.
>>
>> So, I'm left with a complete mystery, and the more so because the OSX
code
>> and the Linux code, from my end, are almost identical and OSX works
>> flawlessly (and has done so both 32-bit and 64-bit).  I can't
remember, now,
>> whether I've been running Pivot .jars
>>
>> Oh, the original version of Java I was using was OpenJDK that was
certified
>> with RedHat (something like 1.6_16).  But, yesterday I tried
installing the
>> latest Oracle 1.6_26 version and it was essentially exactly the same
result
>> with either.  Although, I'm not sure I can't rule out installation
issues,
>> since my Linux knowledge is sketchy at best.  But, our system admin
did the
>> original OpenJDK installation, and I'm pretty sure he knows what he's
doing.
>>
>> Sorry this is so long, but (as you can probably tell), this has been
rather
>> frustrating.  I'm kind of grasping at straws here, since I'm pretty
sure the
>> problem lies in my code, but I am at a loss to be able to figure out
where.
>>  HTH.  Thanks for any insights anyone might have.
>>
>> ~Roger Whitcomb
>>
>> On 8/5/11 7:49 PM, Chris Bartlett wrote:
>>>
>>> Can you elaborate a little on the crashes, or if you think they are
>>> limited to that particular version of RHES?
>>>
>>> Does it matter how the app is launched?  (Applet/desktop app/web
start)
>>> Have you tried things like the KitchenSink or ComponentExplorer
demos
>>> (I assume you are taking about non-headless apps)?
>>>
>>> On 6 August 2011 07:55, Roger L. Whitcomb<Ro...@ingres.com>
>>>  wrote:
>>>>
>>>> ... problems with Pivot on Red Hat Enterprise Linux Server release
5.7
>>>> (Tikanga)??
>>>>
>>>>
>>>>
>>>> uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011
x86_64
>>>>
>>>> libc:glibc 2.5 NPTL 2.5
>>>>
>>>> rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity
>>>>
>>>>
>>>>
>>>> I'm getting crashes all over the place in this environment whereas
on
>>>> Win32,
>>>> Win64, OSX 64 everything is working fine.  Must be something I've
done in
>>>> my
>>>> platform-specific code, but I just thought I'd check to see if
anyone had
>>>> seen problems in this environment.
>>>>
>>>>
>>>>
>>>> BTW, it happens either with OpenJDK or Oracle/Sun released JDK.
>>>>
>>>>
>>>>
>>>> Thanks.
>>>>
>>>> Roger Whitcomb
>>>>
>>>> Architect, Engineering
>>>>
>>>> Ingres Corporation
>>>>
>>>> roger.whitcomb@ingres.com
>>>>
>>>>
>>>>
>>>> PHONE +1 650.587.5596
>>>>
>>>> FAX +1 650.587.5550
>>>>
>>>>
>>>>
>>>> www.ingres.com
>>>>
>>>>
>>>>
>>>> This transmission is confidential and intended solely for the use
of the
>>>> recipient named above. It may contain confidential, proprietary, or
>>>> legally
>>>> privileged information. If you are not the intended recipient, you
are
>>>> hereby notified that any unauthorized review, use, disclosure or
>>>> distribution is strictly prohibited. If you have received this
>>>> transmission
>>>> in error, please contact the sender by reply e-mail and delete the
>>>> original
>>>> transmission and all copies from your system.
>>>>
>>>>
>>>
>>


Re: Any reports of...

Posted by Sandro Martini <sa...@gmail.com>.
Hi all,
can you try to update graphic board drivers, and all X Window stuff (X,
window manager, etc) ?
In last months I've seen strange crash of JVM (6u24 and 6u26) on win xp 32
bit using SoapUI when I have a virtual Desktop manager (dexpot) active. Just
as an idea ...

Or change window manager on a user and retry ...

Hope could be useful.

Bye
 Il giorno 06/ago/2011 08:19, "Chris Bartlett" <cb...@gmail.com> ha
scritto:
> Having read through it all this time, I can't really suggest anything
> else other than the tedious (but seemingly necessary) methodical
> behaviour comparisons across JVMs, OSs, custom/Pivot code etc.
>
> Ideally before starting down that route you would already be able to
> reliably reproduce the issue, but it sounds like there may be more
> than one issue anyway.
>
> If the problems seem to show up mainly on RHEL, then I'd say just
> focus on running as much Pivot code from SVN as you can to see if you
> can trigger the same sorts of issues as with your custom app. It is
> probably also worth testing the 2.0 and 1.5.2 jars too just to rule
> out the specific Pivot version, and to try to find some pure AWT apps
> too.
>
> I doubt that I have told you anything you didn't already know, so
> hopefully someone else on the mailing list will have some bright
> ideas.
>
> Chris
>
> On 6 August 2011 11:28, Roger and Beth Whitcomb
> <Ro...@rbwhitcomb.com> wrote:
>> Hi Chris,
>> It is a DesktopApplication.  I'm having trouble running applets because
of
>> Java browser plugin installation issues, so I can't tell if
>> ComponentExplorer or KitchenSink works or not.  I have a smaller Pivot
>> desktop app that seems to run fine, but it doesn't have a lot of the
>> interaction of our main app (no right-click menus, no tree view, etc.).
 I
>> can't (yet) run our application from a browser, so I can't tell if that
>> would make a difference or not.
>>
>> It happens at irregular times, but often just when I right click on a
tree
>> view node, or at application startup time when I am loading components
into
>> the tree on the "main" thread.  It still happens even with all my own
>> background threads disabled, so the only threads running are the ones
>> launched by the JVM and the AWT-EventQueue-0 thread (or possibly Pivot
Tasks
>> doing resource loading).  I have had it run for 10 or fifteen minutes
>> sometimes, but lately it crashes fairly soon into the application.
 Usually
>> when it crashes it also crashes the dump generator, so there is no
reliable
>> stack frame in the "hs_err_pidxxxx.log" file either.  "valgrind" reports
no
>> problems, "gdb" is unable to print a stack frame, and "strace" shows
nothing
>> unusual either.  Usually, but not always, what's reported is a SIGSEGV or
>> SIGABRT that crashes the JVM and the crashing address is somewhere inside
a
>> monitor wait (like "pthread_cond_wait", or sometimes in "kill").
>>
>> The identical Java/Pivot code runs fine on all our other environments,
>> although on Win32 there was a SEGV reported that was handled by an
exception
>> handler somewhere deep inside the JVM.  The only platform-specific code
is
>> inside JNI routines and the only code differences are in a mutex class
>> (Windows uses "CriticalSection" and OSX/Linux use "pthread_mutex").  But,
I
>> put "printf" tracing around the mutex stuff on RHEL and it appeared to be
>> working fine.  And usually the crash occurred within Java code (i.e.,
>> nowhere near the JNI code layer).  And, as I said, I disabled my own
>> background thread (which was my first thought) so that the only thread
>> running with my application code was the AWT event thread, so there was
no
>> possibility of multiple threads in my own code interfering with each
other.
>>
>> So, I'm left with a complete mystery, and the more so because the OSX
code
>> and the Linux code, from my end, are almost identical and OSX works
>> flawlessly (and has done so both 32-bit and 64-bit).  I can't remember,
now,
>> whether I've been running Pivot .jars
>>
>> Oh, the original version of Java I was using was OpenJDK that was
certified
>> with RedHat (something like 1.6_16).  But, yesterday I tried installing
the
>> latest Oracle 1.6_26 version and it was essentially exactly the same
result
>> with either.  Although, I'm not sure I can't rule out installation
issues,
>> since my Linux knowledge is sketchy at best.  But, our system admin did
the
>> original OpenJDK installation, and I'm pretty sure he knows what he's
doing.
>>
>> Sorry this is so long, but (as you can probably tell), this has been
rather
>> frustrating.  I'm kind of grasping at straws here, since I'm pretty sure
the
>> problem lies in my code, but I am at a loss to be able to figure out
where.
>>  HTH.  Thanks for any insights anyone might have.
>>
>> ~Roger Whitcomb
>>
>> On 8/5/11 7:49 PM, Chris Bartlett wrote:
>>>
>>> Can you elaborate a little on the crashes, or if you think they are
>>> limited to that particular version of RHES?
>>>
>>> Does it matter how the app is launched?  (Applet/desktop app/web start)
>>> Have you tried things like the KitchenSink or ComponentExplorer demos
>>> (I assume you are taking about non-headless apps)?
>>>
>>> On 6 August 2011 07:55, Roger L. Whitcomb<Ro...@ingres.com>
>>>  wrote:
>>>>
>>>> … problems with Pivot on Red Hat Enterprise Linux Server release 5.7
>>>> (Tikanga)??
>>>>
>>>>
>>>>
>>>> uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64
>>>>
>>>> libc:glibc 2.5 NPTL 2.5
>>>>
>>>> rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity
>>>>
>>>>
>>>>
>>>> I’m getting crashes all over the place in this environment whereas on
>>>> Win32,
>>>> Win64, OSX 64 everything is working fine.  Must be something I’ve done
in
>>>> my
>>>> platform-specific code, but I just thought I’d check to see if anyone
had
>>>> seen problems in this environment.
>>>>
>>>>
>>>>
>>>> BTW, it happens either with OpenJDK or Oracle/Sun released JDK.
>>>>
>>>>
>>>>
>>>> Thanks.
>>>>
>>>> Roger Whitcomb
>>>>
>>>> Architect, Engineering
>>>>
>>>> Ingres Corporation
>>>>
>>>> roger.whitcomb@ingres.com
>>>>
>>>>
>>>>
>>>> PHONE +1 650.587.5596
>>>>
>>>> FAX +1 650.587.5550
>>>>
>>>>
>>>>
>>>> www.ingres.com
>>>>
>>>>
>>>>
>>>> This transmission is confidential and intended solely for the use of
the
>>>> recipient named above. It may contain confidential, proprietary, or
>>>> legally
>>>> privileged information. If you are not the intended recipient, you are
>>>> hereby notified that any unauthorized review, use, disclosure or
>>>> distribution is strictly prohibited. If you have received this
>>>> transmission
>>>> in error, please contact the sender by reply e-mail and delete the
>>>> original
>>>> transmission and all copies from your system.
>>>>
>>>>
>>>
>>

Re: Any reports of...

Posted by Chris Bartlett <cb...@gmail.com>.
Having read through it all this time, I can't really suggest anything
else other than the tedious (but seemingly necessary) methodical
behaviour comparisons across JVMs, OSs, custom/Pivot code etc.

Ideally before starting down that route you would already be able to
reliably reproduce the issue, but it sounds like there may be more
than one issue anyway.

If the problems seem to show up mainly on RHEL, then I'd say just
focus on running as much Pivot code from SVN as you can to see if you
can trigger the same sorts of issues as with your custom app.  It is
probably also worth testing the 2.0 and 1.5.2 jars too just to rule
out the specific Pivot version, and to try to find some pure AWT apps
too.

I doubt that I have told you anything you didn't already know, so
hopefully someone else on the mailing list will have some bright
ideas.

Chris

On 6 August 2011 11:28, Roger and Beth Whitcomb
<Ro...@rbwhitcomb.com> wrote:
> Hi Chris,
> It is a DesktopApplication.  I'm having trouble running applets because of
> Java browser plugin installation issues, so I can't tell if
> ComponentExplorer or KitchenSink works or not.  I have a smaller Pivot
> desktop app that seems to run fine, but it doesn't have a lot of the
> interaction of our main app (no right-click menus, no tree view, etc.).  I
> can't (yet) run our application from a browser, so I can't tell if that
> would make a difference or not.
>
> It happens at irregular times, but often just when I right click on a tree
> view node, or at application startup time when I am loading components into
> the tree on the "main" thread.  It still happens even with all my own
> background threads disabled, so the only threads running are the ones
> launched by the JVM and the AWT-EventQueue-0 thread (or possibly Pivot Tasks
> doing resource loading).  I have had it run for 10 or fifteen minutes
> sometimes, but lately it crashes fairly soon into the application.  Usually
> when it crashes it also crashes the dump generator, so there is no reliable
> stack frame in the "hs_err_pidxxxx.log" file either.  "valgrind" reports no
> problems, "gdb" is unable to print a stack frame, and "strace" shows nothing
> unusual either.  Usually, but not always, what's reported is a SIGSEGV or
> SIGABRT that crashes the JVM and the crashing address is somewhere inside a
> monitor wait (like "pthread_cond_wait", or sometimes in "kill").
>
> The identical Java/Pivot code runs fine on all our other environments,
> although on Win32 there was a SEGV reported that was handled by an exception
> handler somewhere deep inside the JVM.  The only platform-specific code is
> inside JNI routines and the only code differences are in a mutex class
> (Windows uses "CriticalSection" and OSX/Linux use "pthread_mutex").  But, I
> put "printf" tracing around the mutex stuff on RHEL and it appeared to be
> working fine.  And usually the crash occurred within Java code (i.e.,
> nowhere near the JNI code layer).  And, as I said, I disabled my own
> background thread (which was my first thought) so that the only thread
> running with my application code was the AWT event thread, so there was no
> possibility of multiple threads in my own code interfering with each other.
>
> So, I'm left with a complete mystery, and the more so because the OSX code
> and the Linux code, from my end, are almost identical and OSX works
> flawlessly (and has done so both 32-bit and 64-bit).  I can't remember, now,
> whether I've been running Pivot .jars
>
> Oh, the original version of Java I was using was OpenJDK that was certified
> with RedHat (something like 1.6_16).  But, yesterday I tried installing the
> latest Oracle 1.6_26 version and it was essentially exactly the same result
> with either.  Although, I'm not sure I can't rule out installation issues,
> since my Linux knowledge is sketchy at best.  But, our system admin did the
> original OpenJDK installation, and I'm pretty sure he knows what he's doing.
>
> Sorry this is so long, but (as you can probably tell), this has been rather
> frustrating.  I'm kind of grasping at straws here, since I'm pretty sure the
> problem lies in my code, but I am at a loss to be able to figure out where.
>  HTH.  Thanks for any insights anyone might have.
>
> ~Roger Whitcomb
>
> On 8/5/11 7:49 PM, Chris Bartlett wrote:
>>
>> Can you elaborate a little on the crashes, or if you think they are
>> limited to that particular version of RHES?
>>
>> Does it matter how the app is launched?  (Applet/desktop app/web start)
>> Have you tried things like the KitchenSink or ComponentExplorer demos
>> (I assume you are taking about non-headless apps)?
>>
>> On 6 August 2011 07:55, Roger L. Whitcomb<Ro...@ingres.com>
>>  wrote:
>>>
>>> … problems with Pivot on Red Hat Enterprise Linux Server release 5.7
>>> (Tikanga)??
>>>
>>>
>>>
>>> uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64
>>>
>>> libc:glibc 2.5 NPTL 2.5
>>>
>>> rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity
>>>
>>>
>>>
>>> I’m getting crashes all over the place in this environment whereas on
>>> Win32,
>>> Win64, OSX 64 everything is working fine.  Must be something I’ve done in
>>> my
>>> platform-specific code, but I just thought I’d check to see if anyone had
>>> seen problems in this environment.
>>>
>>>
>>>
>>> BTW, it happens either with OpenJDK or Oracle/Sun released JDK.
>>>
>>>
>>>
>>> Thanks.
>>>
>>> Roger Whitcomb
>>>
>>> Architect, Engineering
>>>
>>> Ingres Corporation
>>>
>>> roger.whitcomb@ingres.com
>>>
>>>
>>>
>>> PHONE +1 650.587.5596
>>>
>>> FAX +1 650.587.5550
>>>
>>>
>>>
>>> www.ingres.com
>>>
>>>
>>>
>>> This transmission is confidential and intended solely for the use of the
>>> recipient named above. It may contain confidential, proprietary, or
>>> legally
>>> privileged information. If you are not the intended recipient, you are
>>> hereby notified that any unauthorized review, use, disclosure or
>>> distribution is strictly prohibited. If you have received this
>>> transmission
>>> in error, please contact the sender by reply e-mail and delete the
>>> original
>>> transmission and all copies from your system.
>>>
>>>
>>
>

Re: Any reports of...

Posted by Roger and Beth Whitcomb <Ro...@rbwhitcomb.com>.
Thanks, Chris.  I will try the big apps (ComponentExplorer and 
KitchenSink) next week to see what happens there and hopefully report back.

On 8/5/11 9:40 PM, Chris Bartlett wrote:
> I'll read through everything properly a little later and get back to
> you if I have any ideas.
>
> In the mean time, don't forget that all the tutorial&  demo apps are
> in SVN too, and do not have to be run as applets.
> http://svn.apache.org/repos/asf/pivot/trunk/tutorials/
> http://svn.apache.org/repos/asf/pivot/trunk/demos/
>
> Both of these already have main() methods that will launch them as desktop apps.
> http://svn.apache.org/repos/asf/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/ComponentExplorer.java
> http://svn.apache.org/repos/asf/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/KitchenSink.java
>
> There are also lots of 'test' apps which demonstrate most of the
> features in Pivot, so you should be able to find ones for a specific
> area of functionality (such as popup context menus) and run those to
> try to rule out your code being the problem.
> http://svn.apache.org/repos/asf/pivot/trunk/tests/
>
> On 6 August 2011 11:28, Roger and Beth Whitcomb
> <Ro...@rbwhitcomb.com>  wrote:
>> Hi Chris,
>> It is a DesktopApplication.  I'm having trouble running applets because of
>> Java browser plugin installation issues, so I can't tell if
>> ComponentExplorer or KitchenSink works or not.  I have a smaller Pivot
>> desktop app that seems to run fine, but it doesn't have a lot of the
>> interaction of our main app (no right-click menus, no tree view, etc.).  I
>> can't (yet) run our application from a browser, so I can't tell if that
>> would make a difference or not.
>>
>> It happens at irregular times, but often just when I right click on a tree
>> view node, or at application startup time when I am loading components into
>> the tree on the "main" thread.  It still happens even with all my own
>> background threads disabled, so the only threads running are the ones
>> launched by the JVM and the AWT-EventQueue-0 thread (or possibly Pivot Tasks
>> doing resource loading).  I have had it run for 10 or fifteen minutes
>> sometimes, but lately it crashes fairly soon into the application.  Usually
>> when it crashes it also crashes the dump generator, so there is no reliable
>> stack frame in the "hs_err_pidxxxx.log" file either.  "valgrind" reports no
>> problems, "gdb" is unable to print a stack frame, and "strace" shows nothing
>> unusual either.  Usually, but not always, what's reported is a SIGSEGV or
>> SIGABRT that crashes the JVM and the crashing address is somewhere inside a
>> monitor wait (like "pthread_cond_wait", or sometimes in "kill").
>>
>> The identical Java/Pivot code runs fine on all our other environments,
>> although on Win32 there was a SEGV reported that was handled by an exception
>> handler somewhere deep inside the JVM.  The only platform-specific code is
>> inside JNI routines and the only code differences are in a mutex class
>> (Windows uses "CriticalSection" and OSX/Linux use "pthread_mutex").  But, I
>> put "printf" tracing around the mutex stuff on RHEL and it appeared to be
>> working fine.  And usually the crash occurred within Java code (i.e.,
>> nowhere near the JNI code layer).  And, as I said, I disabled my own
>> background thread (which was my first thought) so that the only thread
>> running with my application code was the AWT event thread, so there was no
>> possibility of multiple threads in my own code interfering with each other.
>>
>> So, I'm left with a complete mystery, and the more so because the OSX code
>> and the Linux code, from my end, are almost identical and OSX works
>> flawlessly (and has done so both 32-bit and 64-bit).  I can't remember, now,
>> whether I've been running Pivot .jars
>>
>> Oh, the original version of Java I was using was OpenJDK that was certified
>> with RedHat (something like 1.6_16).  But, yesterday I tried installing the
>> latest Oracle 1.6_26 version and it was essentially exactly the same result
>> with either.  Although, I'm not sure I can't rule out installation issues,
>> since my Linux knowledge is sketchy at best.  But, our system admin did the
>> original OpenJDK installation, and I'm pretty sure he knows what he's doing.
>>
>> Sorry this is so long, but (as you can probably tell), this has been rather
>> frustrating.  I'm kind of grasping at straws here, since I'm pretty sure the
>> problem lies in my code, but I am at a loss to be able to figure out where.
>>   HTH.  Thanks for any insights anyone might have.
>>
>> ~Roger Whitcomb
>>
>> On 8/5/11 7:49 PM, Chris Bartlett wrote:
>>> Can you elaborate a little on the crashes, or if you think they are
>>> limited to that particular version of RHES?
>>>
>>> Does it matter how the app is launched?  (Applet/desktop app/web start)
>>> Have you tried things like the KitchenSink or ComponentExplorer demos
>>> (I assume you are taking about non-headless apps)?
>>>
>>> On 6 August 2011 07:55, Roger L. Whitcomb<Ro...@ingres.com>
>>>   wrote:
>>>> … problems with Pivot on Red Hat Enterprise Linux Server release 5.7
>>>> (Tikanga)??
>>>>
>>>>
>>>>
>>>> uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64
>>>>
>>>> libc:glibc 2.5 NPTL 2.5
>>>>
>>>> rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity
>>>>
>>>>
>>>>
>>>> I’m getting crashes all over the place in this environment whereas on
>>>> Win32,
>>>> Win64, OSX 64 everything is working fine.  Must be something I’ve done in
>>>> my
>>>> platform-specific code, but I just thought I’d check to see if anyone had
>>>> seen problems in this environment.
>>>>
>>>>
>>>>
>>>> BTW, it happens either with OpenJDK or Oracle/Sun released JDK.
>>>>
>>>>
>>>>
>>>> Thanks.
>>>>
>>>> Roger Whitcomb
>>>>
>>>> Architect, Engineering
>>>>
>>>> Ingres Corporation
>>>>
>>>> roger.whitcomb@ingres.com
>>>>
>>>>
>>>>
>>>> PHONE +1 650.587.5596
>>>>
>>>> FAX +1 650.587.5550
>>>>
>>>>
>>>>
>>>> www.ingres.com
>>>>
>>>>
>>>>
>>>> This transmission is confidential and intended solely for the use of the
>>>> recipient named above. It may contain confidential, proprietary, or
>>>> legally
>>>> privileged information. If you are not the intended recipient, you are
>>>> hereby notified that any unauthorized review, use, disclosure or
>>>> distribution is strictly prohibited. If you have received this
>>>> transmission
>>>> in error, please contact the sender by reply e-mail and delete the
>>>> original
>>>> transmission and all copies from your system.
>>>>
>>>>
>

Re: Any reports of...

Posted by Chris Bartlett <cb...@gmail.com>.
I'll read through everything properly a little later and get back to
you if I have any ideas.

In the mean time, don't forget that all the tutorial & demo apps are
in SVN too, and do not have to be run as applets.
http://svn.apache.org/repos/asf/pivot/trunk/tutorials/
http://svn.apache.org/repos/asf/pivot/trunk/demos/

Both of these already have main() methods that will launch them as desktop apps.
http://svn.apache.org/repos/asf/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/ComponentExplorer.java
http://svn.apache.org/repos/asf/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/KitchenSink.java

There are also lots of 'test' apps which demonstrate most of the
features in Pivot, so you should be able to find ones for a specific
area of functionality (such as popup context menus) and run those to
try to rule out your code being the problem.
http://svn.apache.org/repos/asf/pivot/trunk/tests/

On 6 August 2011 11:28, Roger and Beth Whitcomb
<Ro...@rbwhitcomb.com> wrote:
> Hi Chris,
> It is a DesktopApplication.  I'm having trouble running applets because of
> Java browser plugin installation issues, so I can't tell if
> ComponentExplorer or KitchenSink works or not.  I have a smaller Pivot
> desktop app that seems to run fine, but it doesn't have a lot of the
> interaction of our main app (no right-click menus, no tree view, etc.).  I
> can't (yet) run our application from a browser, so I can't tell if that
> would make a difference or not.
>
> It happens at irregular times, but often just when I right click on a tree
> view node, or at application startup time when I am loading components into
> the tree on the "main" thread.  It still happens even with all my own
> background threads disabled, so the only threads running are the ones
> launched by the JVM and the AWT-EventQueue-0 thread (or possibly Pivot Tasks
> doing resource loading).  I have had it run for 10 or fifteen minutes
> sometimes, but lately it crashes fairly soon into the application.  Usually
> when it crashes it also crashes the dump generator, so there is no reliable
> stack frame in the "hs_err_pidxxxx.log" file either.  "valgrind" reports no
> problems, "gdb" is unable to print a stack frame, and "strace" shows nothing
> unusual either.  Usually, but not always, what's reported is a SIGSEGV or
> SIGABRT that crashes the JVM and the crashing address is somewhere inside a
> monitor wait (like "pthread_cond_wait", or sometimes in "kill").
>
> The identical Java/Pivot code runs fine on all our other environments,
> although on Win32 there was a SEGV reported that was handled by an exception
> handler somewhere deep inside the JVM.  The only platform-specific code is
> inside JNI routines and the only code differences are in a mutex class
> (Windows uses "CriticalSection" and OSX/Linux use "pthread_mutex").  But, I
> put "printf" tracing around the mutex stuff on RHEL and it appeared to be
> working fine.  And usually the crash occurred within Java code (i.e.,
> nowhere near the JNI code layer).  And, as I said, I disabled my own
> background thread (which was my first thought) so that the only thread
> running with my application code was the AWT event thread, so there was no
> possibility of multiple threads in my own code interfering with each other.
>
> So, I'm left with a complete mystery, and the more so because the OSX code
> and the Linux code, from my end, are almost identical and OSX works
> flawlessly (and has done so both 32-bit and 64-bit).  I can't remember, now,
> whether I've been running Pivot .jars
>
> Oh, the original version of Java I was using was OpenJDK that was certified
> with RedHat (something like 1.6_16).  But, yesterday I tried installing the
> latest Oracle 1.6_26 version and it was essentially exactly the same result
> with either.  Although, I'm not sure I can't rule out installation issues,
> since my Linux knowledge is sketchy at best.  But, our system admin did the
> original OpenJDK installation, and I'm pretty sure he knows what he's doing.
>
> Sorry this is so long, but (as you can probably tell), this has been rather
> frustrating.  I'm kind of grasping at straws here, since I'm pretty sure the
> problem lies in my code, but I am at a loss to be able to figure out where.
>  HTH.  Thanks for any insights anyone might have.
>
> ~Roger Whitcomb
>
> On 8/5/11 7:49 PM, Chris Bartlett wrote:
>>
>> Can you elaborate a little on the crashes, or if you think they are
>> limited to that particular version of RHES?
>>
>> Does it matter how the app is launched?  (Applet/desktop app/web start)
>> Have you tried things like the KitchenSink or ComponentExplorer demos
>> (I assume you are taking about non-headless apps)?
>>
>> On 6 August 2011 07:55, Roger L. Whitcomb<Ro...@ingres.com>
>>  wrote:
>>>
>>> … problems with Pivot on Red Hat Enterprise Linux Server release 5.7
>>> (Tikanga)??
>>>
>>>
>>>
>>> uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64
>>>
>>> libc:glibc 2.5 NPTL 2.5
>>>
>>> rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity
>>>
>>>
>>>
>>> I’m getting crashes all over the place in this environment whereas on
>>> Win32,
>>> Win64, OSX 64 everything is working fine.  Must be something I’ve done in
>>> my
>>> platform-specific code, but I just thought I’d check to see if anyone had
>>> seen problems in this environment.
>>>
>>>
>>>
>>> BTW, it happens either with OpenJDK or Oracle/Sun released JDK.
>>>
>>>
>>>
>>> Thanks.
>>>
>>> Roger Whitcomb
>>>
>>> Architect, Engineering
>>>
>>> Ingres Corporation
>>>
>>> roger.whitcomb@ingres.com
>>>
>>>
>>>
>>> PHONE +1 650.587.5596
>>>
>>> FAX +1 650.587.5550
>>>
>>>
>>>
>>> www.ingres.com
>>>
>>>
>>>
>>> This transmission is confidential and intended solely for the use of the
>>> recipient named above. It may contain confidential, proprietary, or
>>> legally
>>> privileged information. If you are not the intended recipient, you are
>>> hereby notified that any unauthorized review, use, disclosure or
>>> distribution is strictly prohibited. If you have received this
>>> transmission
>>> in error, please contact the sender by reply e-mail and delete the
>>> original
>>> transmission and all copies from your system.
>>>
>>>
>>
>

Re: Any reports of...

Posted by Roger and Beth Whitcomb <Ro...@rbwhitcomb.com>.
Hi Chris,
It is a DesktopApplication.  I'm having trouble running applets because 
of Java browser plugin installation issues, so I can't tell if 
ComponentExplorer or KitchenSink works or not.  I have a smaller Pivot 
desktop app that seems to run fine, but it doesn't have a lot of the 
interaction of our main app (no right-click menus, no tree view, etc.).  
I can't (yet) run our application from a browser, so I can't tell if 
that would make a difference or not.

It happens at irregular times, but often just when I right click on a 
tree view node, or at application startup time when I am loading 
components into the tree on the "main" thread.  It still happens even 
with all my own background threads disabled, so the only threads running 
are the ones launched by the JVM and the AWT-EventQueue-0 thread (or 
possibly Pivot Tasks doing resource loading).  I have had it run for 10 
or fifteen minutes sometimes, but lately it crashes fairly soon into the 
application.  Usually when it crashes it also crashes the dump 
generator, so there is no reliable stack frame in the 
"hs_err_pidxxxx.log" file either.  "valgrind" reports no problems, "gdb" 
is unable to print a stack frame, and "strace" shows nothing unusual 
either.  Usually, but not always, what's reported is a SIGSEGV or 
SIGABRT that crashes the JVM and the crashing address is somewhere 
inside a monitor wait (like "pthread_cond_wait", or sometimes in "kill").

The identical Java/Pivot code runs fine on all our other environments, 
although on Win32 there was a SEGV reported that was handled by an 
exception handler somewhere deep inside the JVM.  The only 
platform-specific code is inside JNI routines and the only code 
differences are in a mutex class (Windows uses "CriticalSection" and 
OSX/Linux use "pthread_mutex").  But, I put "printf" tracing around the 
mutex stuff on RHEL and it appeared to be working fine.  And usually the 
crash occurred within Java code (i.e., nowhere near the JNI code 
layer).  And, as I said, I disabled my own background thread (which was 
my first thought) so that the only thread running with my application 
code was the AWT event thread, so there was no possibility of multiple 
threads in my own code interfering with each other.

So, I'm left with a complete mystery, and the more so because the OSX 
code and the Linux code, from my end, are almost identical and OSX works 
flawlessly (and has done so both 32-bit and 64-bit).  I can't remember, 
now, whether I've been running Pivot .jars

Oh, the original version of Java I was using was OpenJDK that was 
certified with RedHat (something like 1.6_16).  But, yesterday I tried 
installing the latest Oracle 1.6_26 version and it was essentially 
exactly the same result with either.  Although, I'm not sure I can't 
rule out installation issues, since my Linux knowledge is sketchy at 
best.  But, our system admin did the original OpenJDK installation, and 
I'm pretty sure he knows what he's doing.

Sorry this is so long, but (as you can probably tell), this has been 
rather frustrating.  I'm kind of grasping at straws here, since I'm 
pretty sure the problem lies in my code, but I am at a loss to be able 
to figure out where.  HTH.  Thanks for any insights anyone might have.

~Roger Whitcomb

On 8/5/11 7:49 PM, Chris Bartlett wrote:
> Can you elaborate a little on the crashes, or if you think they are
> limited to that particular version of RHES?
>
> Does it matter how the app is launched?  (Applet/desktop app/web start)
> Have you tried things like the KitchenSink or ComponentExplorer demos
> (I assume you are taking about non-headless apps)?
>
> On 6 August 2011 07:55, Roger L. Whitcomb<Ro...@ingres.com>  wrote:
>> … problems with Pivot on Red Hat Enterprise Linux Server release 5.7
>> (Tikanga)??
>>
>>
>>
>> uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64
>>
>> libc:glibc 2.5 NPTL 2.5
>>
>> rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity
>>
>>
>>
>> I’m getting crashes all over the place in this environment whereas on Win32,
>> Win64, OSX 64 everything is working fine.  Must be something I’ve done in my
>> platform-specific code, but I just thought I’d check to see if anyone had
>> seen problems in this environment.
>>
>>
>>
>> BTW, it happens either with OpenJDK or Oracle/Sun released JDK.
>>
>>
>>
>> Thanks.
>>
>> Roger Whitcomb
>>
>> Architect, Engineering
>>
>> Ingres Corporation
>>
>> roger.whitcomb@ingres.com
>>
>>
>>
>> PHONE +1 650.587.5596
>>
>> FAX +1 650.587.5550
>>
>>
>>
>> www.ingres.com
>>
>>
>>
>> This transmission is confidential and intended solely for the use of the
>> recipient named above. It may contain confidential, proprietary, or legally
>> privileged information. If you are not the intended recipient, you are
>> hereby notified that any unauthorized review, use, disclosure or
>> distribution is strictly prohibited. If you have received this transmission
>> in error, please contact the sender by reply e-mail and delete the original
>> transmission and all copies from your system.
>>
>>
>

Re: Any reports of...

Posted by Chris Bartlett <cb...@gmail.com>.
Can you elaborate a little on the crashes, or if you think they are
limited to that particular version of RHES?

Does it matter how the app is launched?  (Applet/desktop app/web start)
Have you tried things like the KitchenSink or ComponentExplorer demos
(I assume you are taking about non-headless apps)?

On 6 August 2011 07:55, Roger L. Whitcomb <Ro...@ingres.com> wrote:
> … problems with Pivot on Red Hat Enterprise Linux Server release 5.7
> (Tikanga)??
>
>
>
> uname:Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64
>
> libc:glibc 2.5 NPTL 2.5
>
> rlimit: STACK 10240K, CORE 0k, NPROC 3072, NOFILE 1024, AS infinity
>
>
>
> I’m getting crashes all over the place in this environment whereas on Win32,
> Win64, OSX 64 everything is working fine.  Must be something I’ve done in my
> platform-specific code, but I just thought I’d check to see if anyone had
> seen problems in this environment.
>
>
>
> BTW, it happens either with OpenJDK or Oracle/Sun released JDK.
>
>
>
> Thanks.
>
> Roger Whitcomb
>
> Architect, Engineering
>
> Ingres Corporation
>
> roger.whitcomb@ingres.com
>
>
>
> PHONE +1 650.587.5596
>
> FAX +1 650.587.5550
>
>
>
> www.ingres.com
>
>
>
> This transmission is confidential and intended solely for the use of the
> recipient named above. It may contain confidential, proprietary, or legally
> privileged information. If you are not the intended recipient, you are
> hereby notified that any unauthorized review, use, disclosure or
> distribution is strictly prohibited. If you have received this transmission
> in error, please contact the sender by reply e-mail and delete the original
> transmission and all copies from your system.
>
>