[Gambas-devel] Gambas 3.2.0 (arm): gbc3: Program received signal SIGSEGV, Segmentation fault.

Benoît Minisini gambas at ...1...
Mon Jul 23 02:05:53 CEST 2012


Le 23/07/2012 01:14, Silvan Calarco a écrit :
>
> Here it is:
>
> [sdk at ...702... gb.qt4]$ gdb --args /var/tmp/gambas-root//usr/bin/gbc3 -ag -r
> /var/tmp/gambas-root//usr
> GNU gdb (GDB) 7.4.1-1mamba (openmamba)
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "arm-openmamba-linux-gnueabi".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /var/tmp/gambas-root/usr/bin/gbc3...done.
> (gdb) r
> Starting program: /var/tmp/gambas-root/usr/bin/gbc3 -ag -r /var/tmp/gambas-
> root//usr
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0003b224 in control_add_pos (tab_pos=0x5cfe2, pos=7) at gbc_trans_ctrl.c:87
> 87              *((short *)ARRAY_add(tab_pos)) = pos;
> (gdb) bt full
> #0  0x0003b224 in control_add_pos (tab_pos=0x5cfe2, pos=7) at
> gbc_trans_ctrl.c:87
>          array = 0x3a13fff6
>          ptr = 0xffffffff
>          old_count = 161
> #1  0x0003b2e0 in control_add_current_pos () at gbc_trans_ctrl.c:93
> No locals.
> #2  0x0003c8e4 in trans_else () at gbc_trans_ctrl.c:438
>          nobreak = 0 '\000'
> #3  0x0003cab8 in trans_if () at gbc_trans_ctrl.c:495
>          mode = 153
>          msg = 0x4fc88 "AND IF"
> #4  0x0003cc6c in TRANS_if () at gbc_trans_ctrl.c:551
> No locals.
> #5  0x0003631c in translate_body () at gbc_trans_code.c:332
>          look = 0x6d1b4
>          is_proc = 0 '\000'
>          test_newline = 1 '\001'
>          line = 28
>          just_got_select = 0 '\000'
> #6  0x00036c9c in TRANS_code () at gbc_trans_code.c:536
>          i = 2
> #7  0x0004b454 in compile_file (file=0x6343c
> "/usr/src/RPM/BUILD/gambas3-3.2.0/gb.qt4/src/gb.qt4/.src/Action.class")
>      at gbc.c:336
>          i = 17175534
>          time_src = 0
>          time_form = 405744
>          time_pot = 398268
>          time_output = 309272
>          source = 0xbecd3184 "\340\271\004"
> #8  0x0004b9e0 in main (argc=4, argv=0xbecd3494) at gbc.c:472
>          __err = 0xbecd3198
>          __err_context = {prev = 0x0, code = 0, env = {{__jmpbuf = {0, 0, 0, 0,
> 0, 0, 1073905584, -1093848252,
>                 -1093848696, 309528, 0, 0, 0, 1073741824, 1073743676,
> 1073905616, 1073838196, -1093848560,
>                  1073742584, 1073762232, 0, 0, 0, 0, -1093847920, 1073907760,
> 1073843988, 1073905584, 1073741824, 0,
>                  1073905384, 0, 0, 0, 0, 0, 0, 0, 1073905448, 1073905440,
> 1073905392, 1073905408, 1073905416, 0, 0,
>                  0, 1073905424, 1073905432, 0, 0, 1073905384, 0, 0, 1073905472,
> 1073905480, 1073905488, 1073905456,
>                  0, 0, 1073905464, 1073905512, 0, 0, 0}, __mask_was_saved = 0,
> __saved_mask = {__val = {0, 0, 0, 0,
>                    0, 0, 0, 1074993496, 3, 0, 1073875008, 4131212846,
> 1073783400, 0, 1074993496, 1073905000,
>                    129100401, 4294966712, 1075026804, 3201118984, 1073865324,
> 1073907820, 1074993988, 0, 0, 0, 0, 1,
>                    2051, 1073875064, 1073874240, 37704}}}}}
>          i = 0
>
> Regards,
> Silvan
>

Mmffff... Is it possible to use valgrind on ARM? Which ARM architecture 
do you use exactly?

-- 
Benoît Minisini




More information about the Devel mailing list