Attached is an even simpler test case that causes segmentation fault even
when compiled with -O -d2 options but works fine when run under the
interpreter.



On Fri, Feb 1, 2013 at 10:02 AM, Ivan Raikov <ivan.g.rai...@gmail.com>wrote:

> Hi all,
>
>     I also have been encountering some mysterious heap full errors and
> even segmentation faults when working with large data sets and some tree
> data structures or srfi-4 vectors. For example, the attached code does not
> include any FFI stuff, yet it causes segmentation faults when compiled with
> anything other than -O -d2 options. I will be happy to help write scripts
> to analyze memory layout logs.
>    Ivan
>
>
>
>
> On Thu, Jan 31, 2013 at 10:01 PM, Alaric Snell-Pym <
> ala...@snell-pym.org.uk> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 01/31/2013 12:34 PM, Moritz Heidkamp wrote:
>>
>> >> What I need now is someone encouraging me in such an effort,
>> >> suggesting various improvements to that work-intensive and toilsome
>> >> project and who offers reliable support and hacking time. To remain
>> >> realistic, I would even be happy with someone commenting on just least
>> >> one or two of these three requests...
>> >
>> > This seems like a worthy addition to the Chicken debugging toolset but
>> > also like a lot of work. I won't discourage you from persuing it, of
>> > course, but I'm afraid I won't be able to help with actual hacking due
>> > to my ignorance of the relevant internals and the lack of time to become
>> > acquainted with them right now.
>>
>> I figured we could encourage Felix to do the internals bit and spit out
>> a log file that the rest of us can learn to make sense of, as a good
>> division of labour!
>>
>> ABS
>>
>> - --
>> Alaric Snell-Pym
>> http://www.snell-pym.org.uk/alaric/
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAlEKaxUACgkQRgz/WHNxCGpecwCggj/DR+KYPpWakFNcHEJ6lkjL
>> mUkAn0Inu1LNdVZzHNNexlWMcfwTvxM3
>> =c/id
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> Chicken-users mailing list
>> Chicken-users@nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/chicken-users
>>
>
>

Attachment: srfi-4-utils-test.scm
Description: Binary data

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to