[Ecls-list] Freeze import.c which is threads examples source

Kenichi Satoh zqwell.ss at gmail.com
Mon Jul 19 09:26:01 UTC 2010


> Does that problem still persist for you when using CVS or GIT HEAD?
> You could also try with the configure option --with-__thread=no just in
> case...

Thanks for your advice.
I have tried with ECL 10.7.1(CVS HEAD) , however  that problem still persist.
I also tried to compile with configure option --with-__thread=no, but
have same problem.

gdb backtrace:
--------------------------------------------
(gdb) r
Starting program: /Users/kafergots/ecl/examples/threads/import/import.exe
Reading symbols for shared libraries +++. done

0
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000001000
[Switching to process 83304]
0x000000010014252f in return_single_freelist (fl=0x1000,
gfl=0x1001f2aa0) at
/Users/kafergots/ecl/src/gc/thread_local_alloc.c:43
43		for (qptr = &(obj_link(fl)), q = *qptr;
(gdb) backtrace
#0  0x000000010014252f in return_single_freelist (fl=0x1000,
gfl=0x1001f2aa0) at
/Users/kafergots/ecl/src/gc/thread_local_alloc.c:43
#1  0x00000001001425ac in return_freelists (fl=0x100b822c8, gfl=<value
temporarily unavailable, due to optimizations>) at
/Users/kafergots/ecl/src/gc/thread_local_alloc.c:59
#2  0x0000000100142607 in GC_destroy_thread_local (p=0x100b822c8) at
/Users/kafergots/ecl/src/gc/thread_local_alloc.c:120
#3  0x0000000100143825 in GC_unregister_my_thread () at
/Users/kafergots/ecl/src/gc/pthread_support.c:920
#4  0x0000000100142f66 in GC_inner_start_routine (sb=<value
temporarily unavailable, due to optimizations>, arg=<value temporarily
unavailable, due to optimizations>) at
/Users/kafergots/ecl/src/gc/pthread_support.c:1078
#5  0x000000010013f339 in GC_call_with_stack_base (fn=<value
temporarily unavailable, due to optimizations>, arg=<value temporarily
unavailable, due to optimizations>) at
/Users/kafergots/ecl/src/gc/misc.c:1167
#6  0x00007fff8637d8b6 in _pthread_start ()
#7  0x00007fff8637d769 in thread_start ()
--------------------------------------------


Sincerely,
-- 
Kenichi Satoh
mail: <zqwell.ss at gmail.com>




2010/7/19 Matthew Mondor <mm_lists at pulsar-zone.net>:
> Sorry for any thread mis-linking via References headers, as this was
> sent to the list after reading a message from the HTTP sourceforge
> interface as there currently is a problem preventing mail originating
> from this list to reach me.
>
> That test code seems to work fine here on NetBSD i686/32-bit mode and
> ECL 10.7.1 (CVS HEAD).
>
> Output:
> 0
> 1
> 2
> 3
>
> Does that problem still persist for you when using CVS or GIT HEAD?
> You could also try with the configure option --with-__thread=no just in
> case...
>
> Thanks,
> --
> Matt
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>




More information about the ecl-devel mailing list