Geek Boy's blog
Monday, June 28, 2004
  AIX? Feh!
I've been working with a client porting some iXmatch code to AIX. Ugh. I've been killing their AIX machine on a regular basis; causing kernel panics. I'm working with java code and some JNI code, not doing anything as root at all. I shouldn't be able to cause the machine to choke at all if I'm not running as root. Ever. I though this was a solved problem, like, 15-20 years ago. I'm a java developer - I don't want to have to learn kdb!


WFT?


If you're interested, here's the stack frame causing the problem:

(0)> f
pvthread+007700 STACK:
[00646324]ld_xatt1+00008C (00000000, 10000000, 00000000, D12C5000, 00000001 [??])
[006B6F18]ld_relocate+000078 (??)
[006B3430]ld_loadmodule+0005D8 (2FF3B300, 2FF3A5CC, 00000031, 00000280, 2FF3A5CD, 00000000, 2FF3B268)
[006B3C5C]ld_proc_load+000530 (??, ??, ??, ??, ??, ??, ??)
[006BE97C]_dl_loadModule+000068 (??, ??, ??, ??, ??, ??, ??)
[006BE538]ld_loadutil+0000D0 (??, ??, ??, ??, ??)
[001070E0]forkstack_load+000060 ()
Not a valid VMM address @ D020F428
(0)>


Yeah - it looks like a dynamic loader problem to me too. It's also tied to the pthreads library somehow. The code works fine when running single-threaded, but in a MT environment, it dies hard. I wrote a Junit test class that spins up a bunch of child threads and then fires up the ixmatch code. If the ixmatch code is loaded from thread 0, it works great. If not, it dies and takes the machine down with it.

Sick, sick, sick.
 
Comments: Post a Comment



Links to this post:

Create a Link



<< Home
Various ramblings from Peter Clark about life, coding, parenthood, Java, grad school, and enjoying my mac book air

Name: Peter Clark

Terror Alert Level

Thao and the Get Down Stay Down -- When We Swam

Archives
09/01/2003 - 10/01/2003 / 10/01/2003 - 11/01/2003 / 11/01/2003 - 12/01/2003 / 12/01/2003 - 01/01/2004 / 01/01/2004 - 02/01/2004 / 02/01/2004 - 03/01/2004 / 03/01/2004 - 04/01/2004 / 04/01/2004 - 05/01/2004 / 05/01/2004 - 06/01/2004 / 06/01/2004 - 07/01/2004 / 07/01/2004 - 08/01/2004 / 08/01/2004 - 09/01/2004 / 09/01/2004 - 10/01/2004 / 10/01/2004 - 11/01/2004 / 11/01/2004 - 12/01/2004 / 12/01/2004 - 01/01/2005 / 01/01/2005 - 02/01/2005 / 02/01/2005 - 03/01/2005 / 03/01/2005 - 04/01/2005 / 04/01/2005 - 05/01/2005 / 05/01/2005 - 06/01/2005 / 06/01/2005 - 07/01/2005 / 07/01/2005 - 08/01/2005 / 08/01/2005 - 09/01/2005 / 09/01/2005 - 10/01/2005 / 10/01/2005 - 11/01/2005 / 11/01/2005 - 12/01/2005 / 12/01/2005 - 01/01/2006 / 01/01/2006 - 02/01/2006 / 02/01/2006 - 03/01/2006 / 03/01/2006 - 04/01/2006 / 04/01/2006 - 05/01/2006 / 05/01/2006 - 06/01/2006 / 06/01/2006 - 07/01/2006 / 09/01/2006 - 10/01/2006 / 10/01/2006 - 11/01/2006 / 11/01/2006 - 12/01/2006 / 12/01/2006 - 01/01/2007 / 01/01/2007 - 02/01/2007 / 02/01/2007 - 03/01/2007 / 03/01/2007 - 04/01/2007 / 04/01/2007 - 05/01/2007 / 05/01/2007 - 06/01/2007 / 06/01/2007 - 07/01/2007 / 07/01/2007 - 08/01/2007 / 08/01/2007 - 09/01/2007 / 10/01/2007 - 11/01/2007 / 11/01/2007 - 12/01/2007 / 12/01/2007 - 01/01/2008 / 02/01/2008 - 03/01/2008 / 03/01/2008 - 04/01/2008 / 04/01/2008 - 05/01/2008 / 05/01/2008 - 06/01/2008 / 06/01/2008 - 07/01/2008 / 07/01/2008 - 08/01/2008 / 09/01/2008 - 10/01/2008 / 10/01/2008 - 11/01/2008 / 11/01/2008 - 12/01/2008 / 12/01/2008 - 01/01/2009 / 01/01/2009 - 02/01/2009 / 02/01/2009 - 03/01/2009 / 03/01/2009 - 04/01/2009 / 04/01/2009 - 05/01/2009 / 05/01/2009 - 06/01/2009 / 06/01/2009 - 07/01/2009 / 07/01/2009 - 08/01/2009 / 08/01/2009 - 09/01/2009 / 10/01/2009 - 11/01/2009 / 11/01/2009 - 12/01/2009 / 12/01/2009 - 01/01/2010 /


Powered by Blogger

Subscribe to
Posts [Atom]