You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Kazuki Ohta (JIRA)" <ji...@apache.org> on 2009/12/30 14:41:29 UTC

[jira] Created: (HDFS-866) libhdfs with gdb got SEGV

libhdfs with gdb got SEGV
-------------------------

                 Key: HDFS-866
                 URL: https://issues.apache.org/jira/browse/HDFS-866
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: contrib/libhdfs
    Affects Versions: 0.22.0
         Environment: Ubuntu Janty
            Reporter: Kazuki Ohta


I'm now trying to integrate HDFS into our server programs using libhdfs.

I found that hdfs_write and hdfs_read (sample program in libhdfs directory) got segv with the gdb execution.
Without gdb, it runs OK. Valgrind also outputs nothing.

By printf debug, the SEGV seems to be occurred in invokeMethod() function in hdfsRead() and hdfsWrite().

Following is the information.

* Code
IHDFS trunk code (revision  894610)

* Java
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)

* Kernel

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.