[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

erlang FTBFS: SIGSEGV and no idea how to debug



Hi,

no idea how to debug this, all I get are messages like these:

(gdb) r
Starting program: /tmp/buildd/erlang-15.b-dfsg/bootstrap/bin/erlc -W +debug_info +warn_exported_vars +warn_missing_spec +warn_untyped_record -o../ebin hipe_consttab.erl
process 787 is executing new program: /bin/dash
process 787 is executing new program: /tmp/buildd/erlang-15.b-dfsg/bin/m68k-unknown-linux-gnu/erlexec
process 787 is executing new program: /tmp/buildd/erlang-15.b-dfsg/bin/m68k-unknown-linux-gnu/beam
[Thread debugging using libthread_db enabled]
Cannot find user-level thread for LWP 787: capability not available
(gdb) bt
Target is executing.

And:

Reading symbols from /tmp/buildd/erlang-15.b-dfsg/bin/m68k-unknown-linux-gnu/erlexec...done.
(gdb) r
Starting program: /tmp/buildd/erlang-15.b-dfsg/bin/m68k-unknown-linux-gnu/erlexec +sbtu -noinput -mode minimal -boot start_clean -s erl_compile compile_cmdline @cwd /tmp/buildd/erlang-15.b-dfsg/lib/hipe/misc @outdir ../ebin @files hipe_consttab.erl
process 856 is executing new program: /tmp/buildd/erlang-15.b-dfsg/bin/m68k-unknown-linux-gnu/beam
[Thread debugging using libthread_db enabled]
Cannot find user-level thread for LWP 856: capability not available
(gdb) bt
Target is executing.

Or:

(gdb) set follow-exec-mode new
(gdb) r
Starting program: /tmp/buildd/erlang-15.b-dfsg/bin/m68k-unknown-linux-gnu/erlexec +sbtu -noinput -mode minimal -boot start_clean -s erl_compile compile_cmdline @cwd /tmp/buildd/erlang-15.b-dfsg/lib/hipe/misc @outdir ../ebin @files hipe_consttab.erl
process 872 is executing new program: /tmp/buildd/erlang-15.b-dfsg/bin/m68k-unknown-linux-gnu/beam
Invalid selected thread.
(gdb) bt
Invalid selected thread.
(gdb) thread
[Current thread is 1 (process 872) (exited)]
(gdb) thread 2
Thread ID 2 not known.


I don’t know gdb very well, maybe someone else’s got an idea.

bye,
//mirabilos
-- 
  “Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool.”
						-- Edward Burr

Attachment: erlang_15.b-dfsg-2_m68k.build.gz
Description: Binary data


Reply to: