Jordi Gutiérrez Hermoso <jord...@octave.org> writes:

> On 19 June 2012 15:31, Sébastien Villemot <sebastien.ville...@ens.fr> wrote:
>> Michael Goffioul <michael.goffi...@gmail.com> writes:
>>
>>> I have no problem using it with Java7 under windows. I would suggest
>>> to run octave in valgrind and look for suspicious messages.
>>
>> I have indeed invalid writes / unitialized values under valgrind.
>
> How about showing us where this is happening? :-)
>
> Let's see some valgrind output...

For example if java is compiled against GCJ 4.7:

octave:1> pkg list
Package Name  | Version | Installation directory
--------------+---------+-----------------------
        java *|   1.2.8 | /usr/share/octave/packages/java-1.2.8
octave:2> javaclasspath
Trying to create JVM
panic: Abandon -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Abandon

(the message "Trying to create JVM" was added by myself in the source)

I attach a GDB backtrace and a valgrind log.

With OpenJDK 6 and 7 the valgrind log shows similar invalid writes /
unitialized values when just running "javaclasspath". I can provide them
(but they are less informative since I could not get the names of the
deeper functions printed in the output, even though I have installed the
debug packages).

Note I have never encountered crashes with OpenJDK 6. With OpenJDK 7, I
experience crashes, but in more involved cases than with GCJ (for
example when octave-io is loaded or when running Dynare); I yet have to create
a minimal testcase for a crash with OpenJDK 7.

Starting program: /usr/bin/octave 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe877f734 in GC_find_limit (p=0x7fffe9ad7c28 "", up=0) at 
../../../src/boehm-gc/os_dep.c:810
810     ../../../src/boehm-gc/os_dep.c: Aucun fichier ou dossier de ce type.
#0  0x00007fffe877f734 in GC_find_limit (p=0x7fffe9ad7c28 "", up=0)
    at ../../../src/boehm-gc/os_dep.c:810
#1  0x00007fffe877f7c4 in GC_init_linux_data_start () at 
../../../src/boehm-gc/os_dep.c:345
#2  0x00007fffe877e8d4 in GC_init_inner () at ../../../src/boehm-gc/misc.c:661
#3  GC_init_inner () at ../../../src/boehm-gc/misc.c:572
#4  0x00007fffe877ec3e in GC_init () at ../../../src/boehm-gc/misc.c:493
#5  0x00007fffe87787a2 in GC_init_gcj_malloc (mp_index=0, mp=0x7fffe7f0af40)
    at ../../../src/boehm-gc/gcj_mlc.c:60
#6  0x00007fffe7f0b662 in _Jv_InitGC () at ../../../src/libjava/boehm.cc:537
#7  0x00007fffe7eb66fc in _Jv_CreateJavaVM (vm_args=<optimized out>)
    at ../../../src/libjava/prims.cc:1631
#8  0x00007fffe9ad89af in JNI_CreateJavaVM ()
   from /usr/lib/jvm/java-gcj/jre/lib/amd64/client/libjvm.so
#9  0x00007fffe9ce9e6d in initialize_jvm () at __java__.cc:523
#10 0x00007fffe9ceab3a in initialize_java () at __java__.cc:1248
#11 0x00007fffe9cf217d in _java_invoke (args=...) at __java__.cc:1418
#12 0x00007fffe9cf2a20 in Fjava_invoke (args=...) at __java__.cc:1371
#13 0x00007ffff75c58ba in octave_builtin::do_multi_index_op (this=0xa5ca00, 
nargout=1, args=..., 
    lvalue_list=0x0) at ov-builtin.cc:131
#14 0x00007ffff75c48a5 in octave_builtin::subsref (this=0xa5ca00, type=..., 
idx=..., nargout=1, 
    lvalue_list=lvalue_list@entry=0x0) at ov-builtin.cc:64
#15 0x00007ffff75c553c in octave_builtin::subsref (this=<optimized out>, 
type=..., idx=..., 
    nargout=<optimized out>) at ov-builtin.cc:47
#16 0x00007ffff75c6677 in octave_builtin::subsref (this=<optimized out>, 
type=..., idx=...)
    at ov-builtin.h:55
#17 0x00007ffff7659b3e in octave_value::subsref (this=<optimized out>, 
type=..., idx=..., 
    nargout=<optimized out>) at ov.cc:1201
#18 0x00007ffff7659b95 in octave_value::subsref (this=<optimized out>, 
type=..., idx=..., 
    nargout=<optimized out>, lvalue_list=<optimized out>) at ov.cc:1214
#19 0x00007ffff76d0deb in tree_index_expression::rvalue (this=<optimized out>, 
nargout=1, 
    lvalue_list=lvalue_list@entry=0x0) at pt-idx.cc:414
#20 0x00007ffff76d153b in tree_index_expression::rvalue (this=<optimized out>, 
    nargout=<optimized out>) at pt-idx.cc:284
#21 0x00007ffff76cefb8 in tree_index_expression::rvalue1 (this=0x746600, 
nargout=1) at pt-idx.cc:425
#22 0x00007ffff76bbb85 in tree_simple_assignment::rvalue1 (this=0x8fc040) at 
pt-assign.cc:210
#23 0x00007ffff76c9074 in tree_evaluator::visit_statement (this=0x7ffff7ddc318, 
stmt=...)
    at pt-eval.cc:736
#24 0x00007ffff76c87be in visit_statement_list (lst=..., this=0x7ffff7ddc318) 
at pt-eval.cc:772
#25 tree_evaluator::visit_statement_list (this=0x7ffff7ddc318, lst=...) at 
pt-eval.cc:753
#26 0x00007ffff764f543 in octave_user_function::do_multi_index_op 
(this=0xc2e030, nargout=0, 
    args=..., lvalue_list=<optimized out>) at ov-usr-fcn.cc:475
#27 0x00007ffff764b880 in octave_user_function::do_multi_index_op 
(this=<optimized out>, 
    nargout=<optimized out>, args=...) at ov-usr-fcn.cc:357
#28 0x00007ffff7652d11 in octave_value::do_multi_index_op (this=<optimized 
out>, 
    nargout=<optimized out>, idx=...) at ov.cc:1268
#29 0x00007ffff76cda7f in tree_identifier::rvalue (this=0x9a0710, nargout=0) at 
pt-id.cc:85
#30 0x00007ffff76cd4e8 in tree_identifier::rvalue1 (this=0x9a0710, nargout=0) 
at pt-id.cc:106
#31 0x00007ffff76c9074 in tree_evaluator::visit_statement (this=0x7ffff7ddc318, 
stmt=...)
    at pt-eval.cc:736
#32 0x00007ffff76c87be in visit_statement_list (lst=..., this=0x7ffff7ddc318) 
at pt-eval.cc:772
#33 tree_evaluator::visit_statement_list (this=0x7ffff7ddc318, lst=...) at 
pt-eval.cc:753
#34 0x00007ffff7577eb4 in main_loop () at toplev.cc:595
#35 0x00007ffff752022f in octave_main (argc=1, argv=<optimized out>, 
embedded=0) at octave.cc:943
#36 0x00007ffff502bead in __libc_start_main (main=<optimized out>, 
argc=<optimized out>, 
    ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, 
    stack_end=0x7fffffffdfa8) at libc-start.c:228
#37 0x0000000000400641 in _start ()
A debugging session is active.

        Inferior 1 [process 1245] will be killed.

Quit anyway? (y or n) 
==1262== Memcheck, a memory error detector
==1262== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==1262== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==1262== Command: octave
==1262== Parent PID: 10935
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E1C56F: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E1C574: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1C37D: GC_mark_and_push_stack (mark.c:1353)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E1C38C: GC_mark_and_push_stack (mark.c:1353)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1C3C2: GC_mark_and_push_stack (mark.c:1353)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1C475: GC_mark_and_push_stack (mark.c:1364)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E19016: GC_find_header (headers.c:41)
==1262==    by 0x17E1577C: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E19025: GC_find_header (headers.c:41)
==1262==    by 0x17E1577C: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1904F: GC_find_header (headers.c:42)
==1262==    by 0x17E1577C: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1579F: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E157A3: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x403AD7F: ???
==1262==    by 0x1175891A: ???
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E157A7: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24E35: GC_with_callee_saves_pushed (mach_dep.c:476)
==1262==    by 0x17E1D9F2: GC_push_roots (mark_rts.c:637)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E1C56F: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262==    by 0x15BA4E6C: initialize_jvm() (__java__.cc:523)
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E1C574: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262==    by 0x15BA4E6C: initialize_jvm() (__java__.cc:523)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1C37D: GC_mark_and_push_stack (mark.c:1353)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E1C38C: GC_mark_and_push_stack (mark.c:1353)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1C3C2: GC_mark_and_push_stack (mark.c:1353)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1C475: GC_mark_and_push_stack (mark.c:1364)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E19016: GC_find_header (headers.c:41)
==1262==    by 0x17E1577C: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E19025: GC_find_header (headers.c:41)
==1262==    by 0x17E1577C: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1904F: GC_find_header (headers.c:42)
==1262==    by 0x17E1577C: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E1579F: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E157A3: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x403B0D7: ???
==1262==    by 0x7FEFFE40F: ???
==1262==    by 0x7FEFFE427: ???
==1262==    by 0xFFFFFFFF: ???
==1262== 
==1262== Conditional jump or move depends on uninitialised value(s)
==1262==    at 0x17E157A7: GC_add_to_black_list_stack (blacklst.c:211)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262== 
==1262== Use of uninitialised value of size 8
==1262==    at 0x17E157BB: GC_add_to_black_list_stack (blacklst.c:221)
==1262==    by 0x17E1C57E: GC_push_all_eager (mark.c:1469)
==1262==    by 0x17E24650: GC_push_all_stacks (pthread_stop_world.c:309)
==1262==    by 0x17E1CEAA: GC_mark_some (mark.c:326)
==1262==    by 0x17E14031: GC_stopped_mark (alloc.c:531)
==1262==    by 0x17E1462A: GC_try_to_collect_inner (alloc.c:378)
==1262==    by 0x17E1EA1F: GC_init_inner (misc.c:789)
==1262==    by 0x17E1EC3D: GC_init (misc.c:493)
==1262==    by 0x17E187A1: GC_init_gcj_malloc (gcj_mlc.c:60)
==1262==    by 0x175AB661: _Jv_InitGC() (boehm.cc:537)
==1262==    by 0x175566FB: _Jv_CreateJavaVM (prims.cc:1631)
==1262==    by 0x15DBC9AE: JNI_CreateJavaVM (jni-libjvm.cc:54)
==1262== 
==1262== 
==1262== HEAP SUMMARY:
==1262==     in use at exit: 40,512,716 bytes in 87,163 blocks
==1262==   total heap usage: 386,599 allocs, 299,436 frees, 70,226,034 bytes 
allocated
==1262== 
==1262== LEAK SUMMARY:
==1262==    definitely lost: 320 bytes in 40 blocks
==1262==    indirectly lost: 0 bytes in 0 blocks
==1262==      possibly lost: 1,087,800 bytes in 21,985 blocks
==1262==    still reachable: 39,424,596 bytes in 65,138 blocks
==1262==         suppressed: 0 bytes in 0 blocks
==1262== Rerun with --leak-check=full to see details of leaked memory
==1262== 
==1262== For counts of detected and suppressed errors, rerun with: -v
==1262== Use --track-origins=yes to see where uninitialised values come from
==1262== ERROR SUMMARY: 868 errors from 25 contexts (suppressed: 31 from 9)
-- 
Sébastien Villemot Researcher in Economics & Debian Maintainer
http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04 - GPG Key:
4096R/381A7594

Attachment: pgpXGH3uk8UMk.pgp
Description: PGP signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to