Re: Getting started with OpenDylan

Greg Miller <[email protected]> Mon, 14 Oct 2013 17:46:46 -0500
Newsgroups gmane.comp.lang.dylan.gwydion.devel
Message-ID <CAHLcusTqH_j5wX2EsfWzgahD=4VOB9hTs+8nLyBPQ8mS5oAPzQ@mail.gmail.com>
On 10/13/13, Bruce Mitchener <[email protected]> wrote:
> On Mon, Oct 14, 2013 at 10:08 AM, Greg Miller <[email protected]>
>> (4) Once I finally got through all the steps to build and run
>> hello-world, it hung and pegged a processor core. I've tried a lot of
>> languages, but this is the first time I've failed to build and run a
>> Hello, world example.
>>
>
> Could you attach with gdb and give us a stack trace?

I'm attaching a typescript that covers everything from make-dylan-app
through the backtrace. But in case it gets scrubbed, here's just the
gdb session:

[0] ~/dylan/hello-world > gdb _build/bin/hello-world 41286
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging
symbols found)...
Attaching to program:
/usr/home/greg/dylan/hello-world/_build/bin/hello-world, process 41286
Reading symbols from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so
Reading symbols from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libcommon-dylan.so...done.
Loaded symbols for
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libcommon-dylan.so
Reading symbols from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so...done.
Loaded symbols for
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
Reading symbols from /usr/lib32/libm.so.5...done.
Loaded symbols for /usr/lib32/libm.so.5
Reading symbols from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libio.so...done.
Loaded symbols for /usr/home/greg/dylan/hello-world/_build/bin/../lib//libio.so
Reading symbols from /usr/lib32/libthr.so.3...done.
[New Thread 2880433428804300 (LWP 100380/hello-world)]
Error while reading shared library symbols:
Cannot find new threads: generic error
Reading symbols from /usr/lib32/libc.so.7...done.
Loaded symbols for /usr/lib32/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
0x282365e1 in KPgf_dispatch_hashed_by_classYdispatch_engine_internalVdylanI
() from /usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
(gdb) bt
#0  0x282365e1 in
KPgf_dispatch_hashed_by_classYdispatch_engine_internalVdylanI () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
#1  0x282ecbfb in discriminate_on_argument_entry_0 () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
#2  0x2834357c in K141 () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
#3  0x3efdc238 in ?? ()
#4  0x2834357c in K141 () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
#5  0x3effe308 in ?? ()
#6  0x2825213b in Kcheck_start_compute_endVKeMM0I () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
#7  0x284345db in Kbuffer_fillYstreamsVioMM0I () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libio.so
#8  0x28440b8f in Kdo_next_output_bufferYstreamsVioMM1I () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libio.so
#9  0x284528ea in Kbuffered_writeYformat_internalsVioMM0I () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libio.so
#10 0x28452370 in KformatYformatVioMM1I () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libio.so
#11 0x2823b442 in Khandle_missed_dispatchVKgI () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
#12 0x282ec2d6 in general_engine_node_n_optionals () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
#13 0x282ebce5 in apply_xep_2 () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
#14 0x2806e044 in K9 () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so
#15 0xffffc8cc in ?? ()
#16 0x00000014 in ?? ()
#17 0x2835e1a0 in KLbooleanGVKdW () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libdylan.so
#18 0x00000001 in ?? ()
#19 0x28454273 in Kformat_outYformat_outVioMM0I () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libio.so
#20 0x2806b38e in KmainVhello_worldI () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so
#21 0x2806b3c3 in _Init_hello_world__X_hello_world_for_user_0 () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so
#22 0x2806b3cd in _Init_hello_world__X_hello_world_for_user () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so
#23 0x2806b30b in _Init_hello_world__local_ () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so
#24 0x2806b21b in call_init_dylan () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so
#25 0x282a4cf0 in mps_tramp (r_o=Unhandled dwarf expression opcode 0xc4
) at protix.c:132
#26 0x2829c201 in dylan_init_thread (rReturn=0xffffc950, f=0xffffc950,
p=0xffffc950, s=4294953296) at exceptions.c:28
#27 0x2806b259 in dylan_initialize () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so
#28 0x2806b295 in DylanSOEntry () from
/usr/home/greg/dylan/hello-world/_build/bin/../lib//libhello-world.so
#29 0x08048634 in main ()
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program:
/usr/home/greg/dylan/hello-world/_build/bin/hello-world, process 41286
_______________________________________________
hackers mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/hackers