[Gambas-devel] Quick Sig 11 question ...

Benoit Minisini gambas at ...1...
Thu Jan 15 16:20:23 CET 2009


On jeudi 15 janvier 2009, Gareth Bult wrote:
> Hi,
>
> I'm doing;
> gdb --args gbx3 -p
> (gdb) run
>
> Load project
> Run
> --> Sig 11 immediately
>
> Nothing is printed by (gdb) ...
>
> Run (again)
> ... runs.
>
> Anyone know (a) why gdb reports nothing and (b) how to see where the
> problem might be .. ?
>
> sample dmesg reports:
> [69285.794015] gbx3[21125]: segfault at b73d3e14 ip b73d3e14 sp b49da330
> error 4 in LC_NAME[b7a1b000+1000] [69249.208792] gbx3[21099]: segfault at
> ddc7d880 ip 0804f2aa sp bfe93de4 error 5 in gbx3[8048000+2e000]
> [68909.200041] gbx3[20970]: segfault at b7474e14 ip b7474e14 sp b4a7b330
> error 4 in LC_NAME[b7abc000+1000]
>
> ??
>
> tia
> Gareth

Try to compile with no optimization (make "CFLAGS=-O0" "CXXFLAGS=-O0") and run 
the program with valgrind and its memcheck tool.

-- 
Benoit Minisini




More information about the Devel mailing list