segfault on origin import

Help
2006-05-04
2012-11-04
  • Hi,

    importing *.opj files leads to a segfault of labplot. It doesn't matter if the opj file have graphs in it or not.

    Unfortunately, there are no messages in a term to get more detailed information.

    The origin version, from which the files are, is 7.5

    Regards

    Werner

     
    • I've started labplot

      1. labplot $file
      2. with labplot --sync $file
      3. with labplot --sync --nocrashhandler $file

      In all three modes, no opjfile.log was created. I am sure I missunderstood something ?!

      Regards

      Werner

       
      • Stefan Gerlach
        Stefan Gerlach
        2006-05-10

        you use labplot 1.5.1, right?

        please try the commandline tool "opj2dat" :

        $ opj2dat test.opj
        ...

        Does it crash or gives an opjfile.log?

         
        • Just segfault:

          `--> opj2dat test.opj
          zsh: segmentation fault opj2dat test.opj

          `--> ls
          test.opj

           
          • Stefan Gerlach
            Stefan Gerlach
            2006-05-10

            Does it work without the file?

            $ opj2dat

            Can you also try this

            $ strace opj2dat test.opj

            which version of labplot do you use?

             
            • Labplot version 1.5.1.2 (the latest stable).

              `--> strace opj2dat test.opj
              execve("/usr/bin/opj2dat", ["opj2dat", "test.opj"], [/ 67 vars /]) = 0
              uname({sys="Linux", node="muppets", ...}) = 0
              brk(0) = 0x804c000
              access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
              open("/etc/ld.so.cache", O_RDONLY) = 3
              fstat64(3, {st_mode=S_IFREG|0644, st_size=138754, ...}) = 0
              mmap2(NULL, 138754, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f72000
              close(3) = 0
              open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5", O_RDONLY) = 3
              read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\277"..., 512) = 512
              fstat64(3, {st_mode=S_IFREG|0755, st_size=936347, ...}) = 0
              mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f71000
              mmap2(NULL, 738528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ebc000
              madvise(0xb7ebc000, 738528, MADV_SEQUENTIAL|0x1) = 0
              mmap2(0xb7f67000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xaa) = 0xb7f67000
              mmap2(0xb7f6c000, 17632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f6c000
              close(3) = 0
              open("/lib/libm.so.6", O_RDONLY) = 3
              read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P4\0\000"..., 512) = 512
              fstat64(3, {st_mode=S_IFREG|0755, st_size=149144, ...}) = 0
              mmap2(NULL, 135328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e9a000
              madvise(0xb7e9a000, 135328, MADV_SEQUENTIAL|0x1) = 0
              mmap2(0xb7eba000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f) = 0xb7eba000
              close(3) = 0
              open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgcc_s.so.1", O_RDONLY) = 3
              read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\23\0"..., 512) = 512
              fstat64(3, {st_mode=S_IFREG|0644, st_size=860173, ...}) = 0
              mmap2(NULL, 29136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e92000
              madvise(0xb7e92000, 29136, MADV_SEQUENTIAL|0x1) = 0
              mmap2(0xb7e99000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7e99000
              close(3) = 0
              open("/lib/libc.so.6", O_RDONLY) = 3
              read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0YQ\1\000"..., 512) = 512
              fstat64(3, {st_mode=S_IFREG|0755, st_size=1183128, ...}) = 0
              mmap2(NULL, 1125596, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d7f000
              madvise(0xb7d7f000, 1125596, MADV_SEQUENTIAL|0x1) = 0
              mmap2(0xb7e8c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10d) = 0xb7e8c000
              mmap2(0xb7e90000, 7388, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e90000
              close(3) = 0
              mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d7e000
              mprotect(0xb7e8c000, 4096, PROT_READ) = 0
              mprotect(0xb7fa9000, 4096, PROT_READ) = 0
              set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d7e8c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
              munmap(0xb7f72000, 138754) = 0
              open("/dev/urandom", O_RDONLY) = 3
              read(3, "\336\311\306\207", 4) = 4
              close(3) = 0
              --- SIGSEGV (Segmentation fault) @ 0 (0) ---
              +++ killed by SIGSEGV +++

              Regards

              Werner

               
              • Stefan Gerlach
                Stefan Gerlach
                2006-05-10

                Does it also crash without "test.opj" :
                $ opj2dat -v

                 
                • It does !!!! ????

                  --> opj2dat -v zsh: segmentation fault opj2dat -v .-(~)-------------------------------------(kermit@muppets)--->

                   
                  • Stefan Gerlach
                    Stefan Gerlach
                    2006-05-12

                    I hopefully fixed this problem now.
                    Please try version 1.5.1.3 that comes out next week.

                    Thanks

                     
                    • Stefan Gerlach
                      Stefan Gerlach
                      2006-05-18

                      I release an improved version of liborigin.
                      Please try if the problem still exists.

                      tar zxvf liborigin-20060517.tar.gz

                      cd liborigin-20060517

                      make

                      ./opj2dat ws4.opj

                       
                      • same behaviour:

                        .-(~/software)-----------------------------------------------------------------------------------(kermit@muppets)-
                        `--> unp liborigin-20060517.tar.gz
                        perl: warning: Setting locale failed.
                        perl: warning: Please check that your locale settings:
                        LANGUAGE = (unset),
                        LC_ALL = (unset),
                        LC_CTYPE = "de_DE.ISO8859-15",
                        LANG = (unset)
                        are supported and installed on your system.
                        perl: warning: Falling back to the standard locale ("C").
                        liborigin-20060517/
                        liborigin-20060517/opj2dat.cc
                        liborigin-20060517/opj2dat
                        liborigin-20060517/Makefile
                        liborigin-20060517/Makefile.LINUX
                        liborigin-20060517/README
                        liborigin-20060517/OPJFile.cc
                        liborigin-20060517/OPJFile.h
                        liborigin-20060517/liborigin.la
                        liborigin-20060517/liborigin.so
                        liborigin-20060517/COPYING
                        liborigin-20060517/ws4.opj
                        liborigin-20060517/Makefile.DARWIN

                        .-(~/software)-----------------------------------------------------------------------------------(kermit@muppets)-
                        --> cd liborigin-20060517 .-(~/software/liborigin-20060517)----------------------------------------------------------------(kermit@muppets)---> make
                        make: Nothing to be done for `all'.
                        .-(~/software/liborigin-20060517)-------------

                        `--> strace ./opj2dat ws4.opj

                        execve("./opj2dat", ["./opj2dat", "ws4.opj"], [/ 67 vars /]) = 0
                        uname({sys="Linux", node="muppets", ...}) = 0
                        brk(0) = 0x804c000
                        access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
                        open("/etc/ld.so.cache", O_RDONLY) = 3
                        fstat64(3, {st_mode=S_IFREG|0644, st_size=119717, ...}) = 0
                        mmap2(NULL, 119717, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f96000
                        close(3) = 0
                        open("/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\265"..., 512) = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=809404, ...}) = 0
                        mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f95000
                        mmap2(NULL, 826516, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ecb000
                        madvise(0xb7ecb000, 826516, MADV_SEQUENTIAL|0x1) = 0
                        mmap2(0xb7f8b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc0) = 0xb7f8b000
                        mmap2(0xb7f90000, 19604, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f90000
                        close(3) = 0
                        open("/lib/libm.so.6", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P4\0\000"..., 512) = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=149144, ...}) = 0
                        mmap2(NULL, 135328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ea9000
                        madvise(0xb7ea9000, 135328, MADV_SEQUENTIAL|0x1) = 0
                        mmap2(0xb7ec9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f) = 0xb7ec9000
                        close(3) = 0
                        open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgcc_s.so.1", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\23\0"..., 512) = 512
                        fstat64(3, {st_mode=S_IFREG|0644, st_size=860173, ...}) = 0
                        mmap2(NULL, 29136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ea1000
                        madvise(0xb7ea1000, 29136, MADV_SEQUENTIAL|0x1) = 0
                        mmap2(0xb7ea8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7ea8000
                        close(3) = 0
                        open("/lib/libc.so.6", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0YQ\1\000"..., 512) = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=1183128, ...}) = 0
                        mmap2(NULL, 1125596, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d8e000
                        madvise(0xb7d8e000, 1125596, MADV_SEQUENTIAL|0x1) = 0
                        mmap2(0xb7e9b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10d) = 0xb7e9b000
                        mmap2(0xb7e9f000, 7388, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e9f000
                        close(3) = 0
                        mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d8d000
                        mprotect(0xb7e9b000, 4096, PROT_READ) = 0
                        mprotect(0xb7fc9000, 4096, PROT_READ) = 0
                        set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d8d8c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
                        munmap(0xb7f96000, 119717) = 0
                        open("/dev/urandom", O_RDONLY) = 3
                        read(3, "\273\344L\360", 4) = 4
                        close(3) = 0
                        --- SIGSEGV (Segmentation fault) @ 0 (0) ---
                        +++ killed by SIGSEGV +++

                        regards

                        Werner

                         
                        • Stefan Gerlach
                          Stefan Gerlach
                          2006-05-18

                          Please do a "make clean" before "make" to compile
                          it on your platform.

                          Thanks

                           
                          • .-(~/software/liborigin-20060517)----------------------------------------------------------------(kermit@muppets)-
                            --> make clean rm -f *~ *.o *.lo opj2dat liborigin.so rm -rf .deps .libs .-(~/software/liborigin-20060517)----------------------------------------------------------------(kermit@muppets)---> make
                            g++ -o opj2dat opj2dat.cc OPJFile.cc
                            g++ -shared -fPIC OPJFile.cc -o liborigin.so
                            .-(~/software/liborigin-20060517)----------------------------------------------------------------(kermit@muppets)-
                            `-->

                            .-(~/software/liborigin-20060517)----------------------------------------------------------------(kermit@muppets)-
                            --> strace ./opj2dat ws4.opj execve("./opj2dat", ["./opj2dat", "ws4.opj"], [/* 67 vars */]) = 0 uname({sys="Linux", node="muppets", ...}) = 0 brk(0) = 0x804d000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=119717, ...}) = 0 mmap2(NULL, 119717, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f01000 close(3) = 0 open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\277"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=936347, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f00000 mmap2(NULL, 738528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e4b000 madvise(0xb7e4b000, 738528, MADV_SEQUENTIAL|0x1) = 0 mmap2(0xb7ef6000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xaa) = 0xb7ef6000 mmap2(0xb7efb000, 17632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7efb000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P4\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=149144, ...}) = 0 mmap2(NULL, 135328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e29000 madvise(0xb7e29000, 135328, MADV_SEQUENTIAL|0x1) = 0 mmap2(0xb7e49000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f) = 0xb7e49000 close(3) = 0 open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgcc_s.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\23\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=860173, ...}) = 0 mmap2(NULL, 29136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e21000 madvise(0xb7e21000, 29136, MADV_SEQUENTIAL|0x1) = 0 mmap2(0xb7e28000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7e28000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0YQ\1\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1183128, ...}) = 0 mmap2(NULL, 1125596, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d0e000 madvise(0xb7d0e000, 1125596, MADV_SEQUENTIAL|0x1) = 0 mmap2(0xb7e1b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10d) = 0xb7e1b000 mmap2(0xb7e1f000, 7388, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e1f000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d0d000 mprotect(0xb7e1b000, 4096, PROT_READ) = 0 mprotect(0xb7f34000, 4096, PROT_READ) = 0 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d0d8c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0xb7f01000, 119717) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "j\263\327\317", 4) = 4 close(3) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ .-(~/software/liborigin-20060517)----------------------------------------------------------------(kermit@muppets)--->

                            Regards

                            Werner

                             
                            • Stefan Gerlach
                              Stefan Gerlach
                              2006-05-18

                              Thats very strange :-(

                              The last thing you can do is to comment out all functions in opj2dat.cc and OPJFile.{cc,.h} until it does not crash anymore.
                              You could start by commenting out the complete OPJFile::Parse() function.

                              Sorry, but thats the last thing to track down the problem.

                               
    • Installed 1.5.1.3 (with ebuild).

      Same behaviour:

      .-(~)------------------------(kermit@muppets)-
      `--> strace opj2dat -v

      execve("/usr/bin/opj2dat", ["opj2dat", "-v"], [/ 67 vars /]) = 0
      uname({sys="Linux", node="muppets", ...}) = 0
      brk(0) = 0x804a000
      access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/tls/i686/sse2/liborigin.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/tls/i686/sse2", 0xbfde0328) = -1 ENOENT (No such file or directory)
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/tls/i686/liborigin.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/tls/i686", 0xbfde0328) = -1 ENOENT (No such file or directory)
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/tls/sse2/liborigin.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/tls/sse2", 0xbfde0328) = -1 ENOENT (No such file or directory)
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/tls/liborigin.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/tls", 0xbfde0328) = -1 ENOENT (No such file or directory)
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/i686/sse2/liborigin.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/i686/sse2", 0xbfde0328) = -1 ENOENT (No such file or directory)
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/i686/liborigin.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/i686", 0xbfde0328) = -1 ENOENT (No such file or directory)
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/sse2/liborigin.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/sse2", 0xbfde0328) = -1 ENOENT (No such file or directory)
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/liborigin.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
      stat64("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6", {st_mode=S_IFDIR|0755, st_size=1920, ...}) = 0
      open("/etc/ld.so.cache", O_RDONLY) = 3
      fstat64(3, {st_mode=S_IFREG|0644, st_size=119717, ...}) = 0
      mmap2(NULL, 119717, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7faf000
      close(3) = 0
      open("/usr/lib/liborigin.so.0", O_RDONLY) = 3
      read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\n\0"..., 512) = 512
      fstat64(3, {st_mode=S_IFREG|0755, st_size=12380, ...}) = 0
      mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fae000
      mmap2(NULL, 14992, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7faa000
      madvise(0xb7faa000, 14992, MADV_SEQUENTIAL|0x1) = 0
      mmap2(0xb7fad000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7fad000
      close(3) = 0
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5", O_RDONLY) = 3
      read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\277"..., 512) = 512
      fstat64(3, {st_mode=S_IFREG|0755, st_size=936347, ...}) = 0
      mmap2(NULL, 738528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ef5000
      madvise(0xb7ef5000, 738528, MADV_SEQUENTIAL|0x1) = 0
      mmap2(0xb7fa0000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xaa) = 0xb7fa0000
      mmap2(0xb7fa5000, 17632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fa5000
      close(3) = 0
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgcc_s.so.1", O_RDONLY) = 3
      read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\23\0"..., 512) = 512
      fstat64(3, {st_mode=S_IFREG|0644, st_size=860173, ...}) = 0
      mmap2(NULL, 29136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eed000
      madvise(0xb7eed000, 29136, MADV_SEQUENTIAL|0x1) = 0
      mmap2(0xb7ef4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7ef4000
      close(3) = 0
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/lib/libm.so.6", O_RDONLY) = 3
      read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P4\0\000"..., 512) = 512
      fstat64(3, {st_mode=S_IFREG|0755, st_size=149144, ...}) = 0
      mmap2(NULL, 135328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ecb000
      madvise(0xb7ecb000, 135328, MADV_SEQUENTIAL|0x1) = 0
      mmap2(0xb7eeb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f) = 0xb7eeb000
      close(3) = 0
      open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
      open("/lib/libc.so.6", O_RDONLY) = 3
      read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0YQ\1\000"..., 512) = 512
      fstat64(3, {st_mode=S_IFREG|0755, st_size=1183128, ...}) = 0
      mmap2(NULL, 1125596, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7db8000
      madvise(0xb7db8000, 1125596, MADV_SEQUENTIAL|0x1) = 0
      mmap2(0xb7ec5000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10d) = 0xb7ec5000
      mmap2(0xb7ec9000, 7388, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ec9000
      close(3) = 0
      mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7db7000
      mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7db6000
      mprotect(0xb7ec5000, 4096, PROT_READ) = 0
      mprotect(0xb7fe2000, 4096, PROT_READ) = 0
      set_thread_area({entry_number:-1 -> 6, base_addr:0xb7db66b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
      munmap(0xb7faf000, 119717) = 0
      open("/dev/urandom", O_RDONLY) = 3
      read(3, "\234o\37\211", 4) = 4
      close(3) = 0
      --- SIGSEGV (Segmentation fault) @ 0 (0) ---
      +++ killed by SIGSEGV +++

      Could it be, that some other libs are causing this problem ?

      Regards

      Werner

       
    • Stefan Gerlach
      Stefan Gerlach
      2006-05-17

      Hi,

      I opened a bug report (number 1490150) in the project liborigin for this problem.
      Please check out https://sourceforge.net/tracker/index.php?func=detail&aid=1490150&group_id=147537&atid=769835
      for updates.

       
    • Stefan Gerlach
      Stefan Gerlach
      2006-05-04

      Hi,

      I think i fixed this problem recently. You can send me your OPJ files to check this.

      P.S. the fix will be in 1.5.1.3.

       
    • Stefan Gerlach
      Stefan Gerlach
      2006-05-08

      Hi,

      I had no problem importing your test.opj.
      Can you try 1.5.1.3 if it comes out and send me the opjfile.log?

      Thanks in advance,
      Stefan

       
    • Tried it with the (today's) latest 1.5.1.2. Same crash. Can you tell me, where to find the opjfile.log, so that I can send you further details ?

      Regards

      Werner

       
      • Stefan Gerlach
        Stefan Gerlach
        2006-05-08

        The opjfile.log is created when importing an opj file in the directory where LabPlot was started.

        I will release 1.5.1.3 next week.