5 Replies Latest reply on Jan 26, 2001 2:55 AM by 3004

    Segmentation Fault - core dumped error

    3004
      Presently We are generating the Dynamic Images using Servlet and
                Xvbf(Virtual Frame Buffer) on Solaris. We have the RollOver images on the
                resulted HTML page from some jsp. These MouseOut, MouseOver images are
                generated through the Servlet. Every time mouse goes to this image it hits
                the server and generate the new image. When user on client side, moves his
                mouse over and out on the image very quickly, then browser creates the so
                many requests, each for the Over & Out and load the server. When server is
                having many requests to be delivered it throws the Segmentation Fault error.
                
                Following error occurs:
                
                Exception in thread "ExecuteThread-10" java.io.IOException: Broken pipe
                at java.net.SocketOutputStream.socketWrite(Native Method)
                at java.net.SocketOutputStream.socketWrite(Compiled Code)
                Start Generating image for: sdfgdfg StartTime: 979584279419
                Just before getting Buffered Image: sdfgdfg
                Just after getting Buffered Image: sdfgdfg
                Finished Generating image for: sdfgdfgTotalTime: 14
                at java.net.SocketOutputStream.write(Compiled Code)
                at weblogic.servlet.internal.ChunkUtils.writeChunks(Compiled Code)
                at weblogic.servlet.internal.ResponseHeaders.writeHeaders(Compiled
                Code)
                at
                weblogic.servlet.internal.ServletResponseImpl.writeHeaders(Compiled C
                ode)
                at weblogic.servlet.internal.ServletOutputStreamImpl.flush(Compiled
                Code
                )
                at sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native
                Metho
                d)
                at sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Compiled
                Cod
                e)
                at sun.awt.image.codec.JPEGImageEncoderImpl.encode(Compiled Code)
                at
                sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.
                java:225)
                at com.xpede.navigation.servlet.TextToImageServlet.doGet(Compiled
                Code)
                at javax.servlet.http.HttpServlet.service(Compiled Code)
                at javax.servlet.http.HttpServlet.service(Compiled Code)
                at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
                Code
                )
                at
                weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                ode)
                at
                weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                ode)
                at
                weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
                d Code)
                at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
                at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
                at weblogic.kernel.ExecuteThread.run(Compiled Code)
                Segmentation Fault
                si_signo [11]: Segmentation Fault
                si_errno [0]: Error 0
                si_code [1]: SEGV_MAPERR [addr: 0x0]
                
                stackpointer=F03C0840
                "ListenThread" (TID:0x13805ac, sys_thread_t:0x1380530, state:R, thread_t:
                t@55,
                threadID:0xedbd1dc8, stack_bottom:0xedbd2000, stack_size:0x20000) prio=5
                
                Bunch of more messages on Threads...
                and at the end
                [1] weblogic.socket.PosixSocketMuxer.poll(Native Method)
                Segmentation Fault - core dumped
                
                
                Any help on this would be appreciated.
                
                Thanx
                Sanjeev
                
                
                
        • 1. Re: Segmentation Fault - core dumped error
          3004
          Hi Sanjeev,
                    
                    It is impossible to determine what is going on. It sounds terrible to be
                    issuing requests on mouseout and mouseover though! An to rebuild those
                    images on each request! I suggest trying to figure out if the seg fault is
                    from network I/O or from the dynamic image stuff. First switch off the
                    native IO option if you are using it (or on if you aren't) to try to figure
                    out if it is network I/O related. Then try to isolate the problem in the
                    image side if that doesn't work. It's probably a bug in some C code
                    somewhere or you just need to synchronize on something because you're using
                    a non-thread-safe lib.
                    
                    --
                    Cameron Purdy
                    Tangosol, Inc.
                    http://www.tangosol.com
                    +1.617.623.5782
                    WebLogic Consulting Available
                    
                    
                    "Sanjeev" <sjain@xpede.com> wrote in message
                    news:3a63516e$1@newsgroups.bea.com...
                    > Presently We are generating the Dynamic Images using Servlet and
                    > Xvbf(Virtual Frame Buffer) on Solaris. We have the RollOver images on the
                    > resulted HTML page from some jsp. These MouseOut, MouseOver images are
                    > generated through the Servlet. Every time mouse goes to this image it hits
                    > the server and generate the new image. When user on client side, moves his
                    > mouse over and out on the image very quickly, then browser creates the so
                    > many requests, each for the Over & Out and load the server. When server is
                    > having many requests to be delivered it throws the Segmentation Fault
                    error.
                    >
                    > Following error occurs:
                    >
                    > Exception in thread "ExecuteThread-10" java.io.IOException: Broken pipe
                    > at java.net.SocketOutputStream.socketWrite(Native Method)
                    > at java.net.SocketOutputStream.socketWrite(Compiled Code)
                    > Start Generating image for: sdfgdfg StartTime: 979584279419
                    > Just before getting Buffered Image: sdfgdfg
                    > Just after getting Buffered Image: sdfgdfg
                    > Finished Generating image for: sdfgdfgTotalTime: 14
                    > at java.net.SocketOutputStream.write(Compiled Code)
                    > at weblogic.servlet.internal.ChunkUtils.writeChunks(Compiled Code)
                    > at weblogic.servlet.internal.ResponseHeaders.writeHeaders(Compiled
                    > Code)
                    > at
                    > weblogic.servlet.internal.ServletResponseImpl.writeHeaders(Compiled C
                    > ode)
                    > at
                    weblogic.servlet.internal.ServletOutputStreamImpl.flush(Compiled
                    > Code
                    > )
                    > at sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native
                    > Metho
                    > d)
                    > at
                    sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Compiled
                    > Cod
                    > e)
                    > at sun.awt.image.codec.JPEGImageEncoderImpl.encode(Compiled Code)
                    > at
                    > sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.
                    > java:225)
                    > at com.xpede.navigation.servlet.TextToImageServlet.doGet(Compiled
                    > Code)
                    > at javax.servlet.http.HttpServlet.service(Compiled Code)
                    > at javax.servlet.http.HttpServlet.service(Compiled Code)
                    > at
                    weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
                    > Code
                    > )
                    > at
                    > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                    > ode)
                    > at
                    > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                    > ode)
                    > at
                    > weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
                    > d Code)
                    > at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
                    > at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
                    > at weblogic.kernel.ExecuteThread.run(Compiled Code)
                    > Segmentation Fault
                    > si_signo [11]: Segmentation Fault
                    > si_errno [0]: Error 0
                    > si_code [1]: SEGV_MAPERR [addr: 0x0]
                    >
                    > stackpointer=F03C0840
                    > "ListenThread" (TID:0x13805ac, sys_thread_t:0x1380530, state:R, thread_t:
                    > t@55,
                    > threadID:0xedbd1dc8, stack_bottom:0xedbd2000, stack_size:0x20000) prio=5
                    >
                    > Bunch of more messages on Threads...
                    > and at the end
                    > [1] weblogic.socket.PosixSocketMuxer.poll(Native Method)
                    > Segmentation Fault - core dumped
                    >
                    >
                    > Any help on this would be appreciated.
                    >
                    > Thanx
                    > Sanjeev
                    >
                    >
                    
                    
                    
          • 2. Re: Segmentation Fault - core dumped error
            3004
            Cameron Thanx for your input,
                      
                      I know I don't want that behaviour either. But IE 5.5 always hitting the
                      server for MouseOver and MouseOut. It works fine in case of other browser
                      like IE5.0, netscape...
                      
                      Just to make sure that even browser bahaves strangely, it should not cause
                      Weblogic server to core dump.
                      
                      I am using the native.io, I will try turning them off. On the server side, I
                      am using the Xvbf [Virtual Frame Buffer] for graphics generation on solaris.
                      
                      I would post my feedback as soon as I try your options.
                      Thanx
                      Sanjeev
                      
                      "Cameron Purdy" <cpurdy@tangosol.com> wrote in message
                      news:3a69b5bb$1@newsgroups.bea.com...
                      > Hi Sanjeev,
                      >
                      > It is impossible to determine what is going on. It sounds terrible to be
                      > issuing requests on mouseout and mouseover though! An to rebuild those
                      > images on each request! I suggest trying to figure out if the seg fault
                      is
                      > from network I/O or from the dynamic image stuff. First switch off the
                      > native IO option if you are using it (or on if you aren't) to try to
                      figure
                      > out if it is network I/O related. Then try to isolate the problem in the
                      > image side if that doesn't work. It's probably a bug in some C code
                      > somewhere or you just need to synchronize on something because you're
                      using
                      > a non-thread-safe lib.
                      >
                      > --
                      > Cameron Purdy
                      > Tangosol, Inc.
                      > http://www.tangosol.com
                      > +1.617.623.5782
                      > WebLogic Consulting Available
                      >
                      >
                      > "Sanjeev" <sjain@xpede.com> wrote in message
                      > news:3a63516e$1@newsgroups.bea.com...
                      > > Presently We are generating the Dynamic Images using Servlet and
                      > > Xvbf(Virtual Frame Buffer) on Solaris. We have the RollOver images on
                      the
                      > > resulted HTML page from some jsp. These MouseOut, MouseOver images are
                      > > generated through the Servlet. Every time mouse goes to this image it
                      hits
                      > > the server and generate the new image. When user on client side, moves
                      his
                      > > mouse over and out on the image very quickly, then browser creates the
                      so
                      > > many requests, each for the Over & Out and load the server. When server
                      is
                      > > having many requests to be delivered it throws the Segmentation Fault
                      > error.
                      > >
                      > > Following error occurs:
                      > >
                      > > Exception in thread "ExecuteThread-10" java.io.IOException: Broken pipe
                      > > at java.net.SocketOutputStream.socketWrite(Native Method)
                      > > at java.net.SocketOutputStream.socketWrite(Compiled Code)
                      > > Start Generating image for: sdfgdfg StartTime: 979584279419
                      > > Just before getting Buffered Image: sdfgdfg
                      > > Just after getting Buffered Image: sdfgdfg
                      > > Finished Generating image for: sdfgdfgTotalTime: 14
                      > > at java.net.SocketOutputStream.write(Compiled Code)
                      > > at weblogic.servlet.internal.ChunkUtils.writeChunks(Compiled
                      Code)
                      > > at
                      weblogic.servlet.internal.ResponseHeaders.writeHeaders(Compiled
                      > > Code)
                      > > at
                      > > weblogic.servlet.internal.ServletResponseImpl.writeHeaders(Compiled C
                      > > ode)
                      > > at
                      > weblogic.servlet.internal.ServletOutputStreamImpl.flush(Compiled
                      > > Code
                      > > )
                      > > at
                      sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native
                      > > Metho
                      > > d)
                      > > at
                      > sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Compiled
                      > > Cod
                      > > e)
                      > > at sun.awt.image.codec.JPEGImageEncoderImpl.encode(Compiled
                      Code)
                      > > at
                      > > sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.
                      > > java:225)
                      > > at
                      com.xpede.navigation.servlet.TextToImageServlet.doGet(Compiled
                      > > Code)
                      > > at javax.servlet.http.HttpServlet.service(Compiled Code)
                      > > at javax.servlet.http.HttpServlet.service(Compiled Code)
                      > > at
                      > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
                      > > Code
                      > > )
                      > > at
                      > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                      > > ode)
                      > > at
                      > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                      > > ode)
                      > > at
                      > > weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
                      > > d Code)
                      > > at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled
                      Code)
                      > > at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
                      > > at weblogic.kernel.ExecuteThread.run(Compiled Code)
                      > > Segmentation Fault
                      > > si_signo [11]: Segmentation Fault
                      > > si_errno [0]: Error 0
                      > > si_code [1]: SEGV_MAPERR [addr: 0x0]
                      > >
                      > > stackpointer=F03C0840
                      > > "ListenThread" (TID:0x13805ac, sys_thread_t:0x1380530, state:R,
                      thread_t:
                      > > t@55,
                      > > threadID:0xedbd1dc8, stack_bottom:0xedbd2000, stack_size:0x20000) prio=5
                      > >
                      > > Bunch of more messages on Threads...
                      > > and at the end
                      > > [1] weblogic.socket.PosixSocketMuxer.poll(Native Method)
                      > > Segmentation Fault - core dumped
                      > >
                      > >
                      > > Any help on this would be appreciated.
                      > >
                      > > Thanx
                      > > Sanjeev
                      > >
                      > >
                      >
                      >
                      
                      
                      
            • 3. Re: Segmentation Fault - core dumped error
              3004
              Hi Cameron,
                        
                        I tried turning off the nativeIO but still got the same error.
                        
                        Thanx
                        
                        Sanjeev
                        
                        "Cameron Purdy" <cpurdy@tangosol.com> wrote in message
                        news:3a69b5bb$1@newsgroups.bea.com...
                        > Hi Sanjeev,
                        >
                        > It is impossible to determine what is going on. It sounds terrible to be
                        > issuing requests on mouseout and mouseover though! An to rebuild those
                        > images on each request! I suggest trying to figure out if the seg fault
                        is
                        > from network I/O or from the dynamic image stuff. First switch off the
                        > native IO option if you are using it (or on if you aren't) to try to
                        figure
                        > out if it is network I/O related. Then try to isolate the problem in the
                        > image side if that doesn't work. It's probably a bug in some C code
                        > somewhere or you just need to synchronize on something because you're
                        using
                        > a non-thread-safe lib.
                        >
                        > --
                        > Cameron Purdy
                        > Tangosol, Inc.
                        > http://www.tangosol.com
                        > +1.617.623.5782
                        > WebLogic Consulting Available
                        >
                        >
                        > "Sanjeev" <sjain@xpede.com> wrote in message
                        > news:3a63516e$1@newsgroups.bea.com...
                        > > Presently We are generating the Dynamic Images using Servlet and
                        > > Xvbf(Virtual Frame Buffer) on Solaris. We have the RollOver images on
                        the
                        > > resulted HTML page from some jsp. These MouseOut, MouseOver images are
                        > > generated through the Servlet. Every time mouse goes to this image it
                        hits
                        > > the server and generate the new image. When user on client side, moves
                        his
                        > > mouse over and out on the image very quickly, then browser creates the
                        so
                        > > many requests, each for the Over & Out and load the server. When server
                        is
                        > > having many requests to be delivered it throws the Segmentation Fault
                        > error.
                        > >
                        > > Following error occurs:
                        > >
                        > > Exception in thread "ExecuteThread-10" java.io.IOException: Broken pipe
                        > > at java.net.SocketOutputStream.socketWrite(Native Method)
                        > > at java.net.SocketOutputStream.socketWrite(Compiled Code)
                        > > Start Generating image for: sdfgdfg StartTime: 979584279419
                        > > Just before getting Buffered Image: sdfgdfg
                        > > Just after getting Buffered Image: sdfgdfg
                        > > Finished Generating image for: sdfgdfgTotalTime: 14
                        > > at java.net.SocketOutputStream.write(Compiled Code)
                        > > at weblogic.servlet.internal.ChunkUtils.writeChunks(Compiled
                        Code)
                        > > at
                        weblogic.servlet.internal.ResponseHeaders.writeHeaders(Compiled
                        > > Code)
                        > > at
                        > > weblogic.servlet.internal.ServletResponseImpl.writeHeaders(Compiled C
                        > > ode)
                        > > at
                        > weblogic.servlet.internal.ServletOutputStreamImpl.flush(Compiled
                        > > Code
                        > > )
                        > > at
                        sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native
                        > > Metho
                        > > d)
                        > > at
                        > sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Compiled
                        > > Cod
                        > > e)
                        > > at sun.awt.image.codec.JPEGImageEncoderImpl.encode(Compiled
                        Code)
                        > > at
                        > > sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.
                        > > java:225)
                        > > at
                        com.xpede.navigation.servlet.TextToImageServlet.doGet(Compiled
                        > > Code)
                        > > at javax.servlet.http.HttpServlet.service(Compiled Code)
                        > > at javax.servlet.http.HttpServlet.service(Compiled Code)
                        > > at
                        > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
                        > > Code
                        > > )
                        > > at
                        > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                        > > ode)
                        > > at
                        > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                        > > ode)
                        > > at
                        > > weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
                        > > d Code)
                        > > at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled
                        Code)
                        > > at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
                        > > at weblogic.kernel.ExecuteThread.run(Compiled Code)
                        > > Segmentation Fault
                        > > si_signo [11]: Segmentation Fault
                        > > si_errno [0]: Error 0
                        > > si_code [1]: SEGV_MAPERR [addr: 0x0]
                        > >
                        > > stackpointer=F03C0840
                        > > "ListenThread" (TID:0x13805ac, sys_thread_t:0x1380530, state:R,
                        thread_t:
                        > > t@55,
                        > > threadID:0xedbd1dc8, stack_bottom:0xedbd2000, stack_size:0x20000) prio=5
                        > >
                        > > Bunch of more messages on Threads...
                        > > and at the end
                        > > [1] weblogic.socket.PosixSocketMuxer.poll(Native Method)
                        > > Segmentation Fault - core dumped
                        > >
                        > >
                        > > Any help on this would be appreciated.
                        > >
                        > > Thanx
                        > > Sanjeev
                        > >
                        > >
                        >
                        >
                        
                        
                        
              • 4. Re: Segmentation Fault - core dumped error
                3004
                why don´t you just cache the images in your javascript? Besides it being
                          faster for the client it´s also a lot easier on the number of hits to
                          the server.
                          
                          sven
                          
                          Sanjeev wrote:
                          
                          > Hi Cameron,
                          >
                          > I tried turning off the nativeIO but still got the same error.
                          >
                          > Thanx
                          >
                          > Sanjeev
                          >
                          > "Cameron Purdy" <cpurdy@tangosol.com> wrote in message
                          > news:3a69b5bb$1@newsgroups.bea.com...
                          >
                          >> Hi Sanjeev,
                          >>
                          >> It is impossible to determine what is going on. It sounds terrible to be
                          >> issuing requests on mouseout and mouseover though! An to rebuild those
                          >> images on each request! I suggest trying to figure out if the seg fault
                          >
                          > is
                          >
                          >> from network I/O or from the dynamic image stuff. First switch off the
                          >> native IO option if you are using it (or on if you aren't) to try to
                          >
                          > figure
                          >
                          >> out if it is network I/O related. Then try to isolate the problem in the
                          >> image side if that doesn't work. It's probably a bug in some C code
                          >> somewhere or you just need to synchronize on something because you're
                          >
                          > using
                          >
                          >> a non-thread-safe lib.
                          >>
                          >> --
                          >> Cameron Purdy
                          >> Tangosol, Inc.
                          >> http://www.tangosol.com
                          >> +1.617.623.5782
                          >> WebLogic Consulting Available
                          >>
                          >>
                          >> "Sanjeev" <sjain@xpede.com> wrote in message
                          >> news:3a63516e$1@newsgroups.bea.com...
                          >>
                          >>> Presently We are generating the Dynamic Images using Servlet and
                          >>> Xvbf(Virtual Frame Buffer) on Solaris. We have the RollOver images on
                          >>
                          > the
                          >
                          >>> resulted HTML page from some jsp. These MouseOut, MouseOver images are
                          >>> generated through the Servlet. Every time mouse goes to this image it
                          >>
                          > hits
                          >
                          >>> the server and generate the new image. When user on client side, moves
                          >>
                          > his
                          >
                          >>> mouse over and out on the image very quickly, then browser creates the
                          >>
                          > so
                          >
                          >>> many requests, each for the Over & Out and load the server. When server
                          >>
                          > is
                          >
                          >>> having many requests to be delivered it throws the Segmentation Fault
                          >>
                          >> error.
                          >>
                          >>> Following error occurs:
                          >>>
                          >>> Exception in thread "ExecuteThread-10" java.io.IOException: Broken pipe
                          >>> at java.net.SocketOutputStream.socketWrite(Native Method)
                          >>> at java.net.SocketOutputStream.socketWrite(Compiled Code)
                          >>> Start Generating image for: sdfgdfg StartTime: 979584279419
                          >>> Just before getting Buffered Image: sdfgdfg
                          >>> Just after getting Buffered Image: sdfgdfg
                          >>> Finished Generating image for: sdfgdfgTotalTime: 14
                          >>> at java.net.SocketOutputStream.write(Compiled Code)
                          >>> at weblogic.servlet.internal.ChunkUtils.writeChunks(Compiled
                          >>
                          > Code)
                          >
                          >>> at
                          >>
                          > weblogic.servlet.internal.ResponseHeaders.writeHeaders(Compiled
                          >
                          >>> Code)
                          >>> at
                          >>> weblogic.servlet.internal.ServletResponseImpl.writeHeaders(Compiled C
                          >>> ode)
                          >>> at
                          >>
                          >> weblogic.servlet.internal.ServletOutputStreamImpl.flush(Compiled
                          >>
                          >>> Code
                          >>> )
                          >>> at
                          >>
                          > sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native
                          >
                          >>> Metho
                          >>> d)
                          >>> at
                          >>
                          >> sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Compiled
                          >>
                          >>> Cod
                          >>> e)
                          >>> at sun.awt.image.codec.JPEGImageEncoderImpl.encode(Compiled
                          >>
                          > Code)
                          >
                          >>> at
                          >>> sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.
                          >>> java:225)
                          >>> at
                          >>
                          > com.xpede.navigation.servlet.TextToImageServlet.doGet(Compiled
                          >
                          >>> Code)
                          >>> at javax.servlet.http.HttpServlet.service(Compiled Code)
                          >>> at javax.servlet.http.HttpServlet.service(Compiled Code)
                          >>> at
                          >>
                          >> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
                          >>
                          >>> Code
                          >>> )
                          >>> at
                          >>> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                          >>> ode)
                          >>> at
                          >>> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                          >>> ode)
                          >>> at
                          >>> weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
                          >>> d Code)
                          >>> at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled
                          >>
                          > Code)
                          >
                          >>> at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
                          >>> at weblogic.kernel.ExecuteThread.run(Compiled Code)
                          >>> Segmentation Fault
                          >>> si_signo [11]: Segmentation Fault
                          >>> si_errno [0]: Error 0
                          >>> si_code [1]: SEGV_MAPERR [addr: 0x0]
                          >>>
                          >>> stackpointer=F03C0840
                          >>> "ListenThread" (TID:0x13805ac, sys_thread_t:0x1380530, state:R,
                          >>
                          > thread_t:
                          >
                          >>> t@55,
                          >>> threadID:0xedbd1dc8, stack_bottom:0xedbd2000, stack_size:0x20000) prio=5
                          >>>
                          >>> Bunch of more messages on Threads...
                          >>> and at the end
                          >>> [1] weblogic.socket.PosixSocketMuxer.poll(Native Method)
                          >>> Segmentation Fault - core dumped
                          >>>
                          >>>
                          >>> Any help on this would be appreciated.
                          >>>
                          >>> Thanx
                          >>> Sanjeev
                          >>>
                          >>>
                          
                          
                • 5. Re: Segmentation Fault - core dumped error
                  3004
                  I did that and somehow it just doesn't work with the IE5.5 browser only.
                            When I load the first page which has these images, it always hits the server
                            for each mouse over and out. But after that subsequent pages does cache
                            properlyand don't hit the server.
                            
                            What concerns more is that even if it hits the server everytime, it should
                            not cause the Core dump.
                            
                            Thanx
                            Sanjeev
                            
                            
                            "Sven van ´t Veer" <sven@cilix.com.br> wrote in message
                            news:3A703B5E.5020006@cilix.com.br...
                            > why don´t you just cache the images in your javascript? Besides it being
                            > faster for the client it´s also a lot easier on the number of hits to
                            > the server.
                            >
                            > sven
                            >
                            > Sanjeev wrote:
                            >
                            > > Hi Cameron,
                            > >
                            > > I tried turning off the nativeIO but still got the same error.
                            > >
                            > > Thanx
                            > >
                            > > Sanjeev
                            > >
                            > > "Cameron Purdy" <cpurdy@tangosol.com> wrote in message
                            > > news:3a69b5bb$1@newsgroups.bea.com...
                            > >
                            > >> Hi Sanjeev,
                            > >>
                            > >> It is impossible to determine what is going on. It sounds terrible to
                            be
                            > >> issuing requests on mouseout and mouseover though! An to rebuild those
                            > >> images on each request! I suggest trying to figure out if the seg
                            fault
                            > >
                            > > is
                            > >
                            > >> from network I/O or from the dynamic image stuff. First switch off the
                            > >> native IO option if you are using it (or on if you aren't) to try to
                            > >
                            > > figure
                            > >
                            > >> out if it is network I/O related. Then try to isolate the problem in
                            the
                            > >> image side if that doesn't work. It's probably a bug in some C code
                            > >> somewhere or you just need to synchronize on something because you're
                            > >
                            > > using
                            > >
                            > >> a non-thread-safe lib.
                            > >>
                            > >> --
                            > >> Cameron Purdy
                            > >> Tangosol, Inc.
                            > >> http://www.tangosol.com
                            > >> +1.617.623.5782
                            > >> WebLogic Consulting Available
                            > >>
                            > >>
                            > >> "Sanjeev" <sjain@xpede.com> wrote in message
                            > >> news:3a63516e$1@newsgroups.bea.com...
                            > >>
                            > >>> Presently We are generating the Dynamic Images using Servlet and
                            > >>> Xvbf(Virtual Frame Buffer) on Solaris. We have the RollOver images on
                            > >>
                            > > the
                            > >
                            > >>> resulted HTML page from some jsp. These MouseOut, MouseOver images are
                            > >>> generated through the Servlet. Every time mouse goes to this image it
                            > >>
                            > > hits
                            > >
                            > >>> the server and generate the new image. When user on client side, moves
                            > >>
                            > > his
                            > >
                            > >>> mouse over and out on the image very quickly, then browser creates the
                            > >>
                            > > so
                            > >
                            > >>> many requests, each for the Over & Out and load the server. When
                            server
                            > >>
                            > > is
                            > >
                            > >>> having many requests to be delivered it throws the Segmentation Fault
                            > >>
                            > >> error.
                            > >>
                            > >>> Following error occurs:
                            > >>>
                            > >>> Exception in thread "ExecuteThread-10" java.io.IOException: Broken
                            pipe
                            > >>> at java.net.SocketOutputStream.socketWrite(Native Method)
                            > >>> at java.net.SocketOutputStream.socketWrite(Compiled Code)
                            > >>> Start Generating image for: sdfgdfg StartTime: 979584279419
                            > >>> Just before getting Buffered Image: sdfgdfg
                            > >>> Just after getting Buffered Image: sdfgdfg
                            > >>> Finished Generating image for: sdfgdfgTotalTime: 14
                            > >>> at java.net.SocketOutputStream.write(Compiled Code)
                            > >>> at weblogic.servlet.internal.ChunkUtils.writeChunks(Compiled
                            > >>
                            > > Code)
                            > >
                            > >>> at
                            > >>
                            > > weblogic.servlet.internal.ResponseHeaders.writeHeaders(Compiled
                            > >
                            > >>> Code)
                            > >>> at
                            > >>> weblogic.servlet.internal.ServletResponseImpl.writeHeaders(Compiled C
                            > >>> ode)
                            > >>> at
                            > >>
                            > >> weblogic.servlet.internal.ServletOutputStreamImpl.flush(Compiled
                            > >>
                            > >>> Code
                            > >>> )
                            > >>> at
                            > >>
                            > > sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native
                            > >
                            > >>> Metho
                            > >>> d)
                            > >>> at
                            > >>
                            > >> sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Compiled
                            > >>
                            > >>> Cod
                            > >>> e)
                            > >>> at sun.awt.image.codec.JPEGImageEncoderImpl.encode(Compiled
                            > >>
                            > > Code)
                            > >
                            > >>> at
                            > >>> sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.
                            > >>> java:225)
                            > >>> at
                            > >>
                            > > com.xpede.navigation.servlet.TextToImageServlet.doGet(Compiled
                            > >
                            > >>> Code)
                            > >>> at javax.servlet.http.HttpServlet.service(Compiled Code)
                            > >>> at javax.servlet.http.HttpServlet.service(Compiled Code)
                            > >>> at
                            > >>
                            > >> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
                            > >>
                            > >>> Code
                            > >>> )
                            > >>> at
                            > >>> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                            > >>> ode)
                            > >>> at
                            > >>> weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
                            > >>> ode)
                            > >>> at
                            > >>> weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
                            > >>> d Code)
                            > >>> at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled
                            > >>
                            > > Code)
                            > >
                            > >>> at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
                            > >>> at weblogic.kernel.ExecuteThread.run(Compiled Code)
                            > >>> Segmentation Fault
                            > >>> si_signo [11]: Segmentation Fault
                            > >>> si_errno [0]: Error 0
                            > >>> si_code [1]: SEGV_MAPERR [addr: 0x0]
                            > >>>
                            > >>> stackpointer=F03C0840
                            > >>> "ListenThread" (TID:0x13805ac, sys_thread_t:0x1380530, state:R,
                            > >>
                            > > thread_t:
                            > >
                            > >>> t@55,
                            > >>> threadID:0xedbd1dc8, stack_bottom:0xedbd2000, stack_size:0x20000)
                            prio=5
                            > >>>
                            > >>> Bunch of more messages on Threads...
                            > >>> and at the end
                            > >>> [1] weblogic.socket.PosixSocketMuxer.poll(Native Method)
                            > >>> Segmentation Fault - core dumped
                            > >>>
                            > >>>
                            > >>> Any help on this would be appreciated.
                            > >>>
                            > >>> Thanx
                            > >>> Sanjeev
                            > >>>
                            > >>>
                            >