[Gambas-devel] gambas2 on FreeBSD Segment fault

Alonso Cárdenas Márquez acardenas at ...598...
Sat Aug 21 04:57:22 CEST 2010


Hi

I'm back to work on gambas2/FreeBSD. I applied those patch files to
gambas2-2.21.0 source code for it compiles without problems on FreeBSD
but it crashed when I tried run gambas2 (IDE) with a segment failed.
You can see build log at
http://people.freebsd.org/~acm/ports/gambas2/build-gambas.out

The backtrace show the following

hellfire# pwd
/usr/ports/editors/gambas2-ide/work/gambas2-2.21.0/app/src/gambas2
hellfire# gbc2 -agt
OK
hellfire# gdb gbx2
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)...
(gdb) set args -p
(gdb) r
Starting program: /usr/local/bin/gbx2 -p
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...[New LWP 100169]
[New Thread 8012041c0 (LWP 100169)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8012041c0 (LWP 100169)]
0x000000000040d1de in _start ()
(gdb) bt
#0  0x000000000040d1de in _start ()
#1  0x000000000040ee09 in _start ()
#2  0x000000000043d15f in _start ()
#3  0x000000000040c6a3 in _start ()
#4  0x000000000040c637 in _start ()
#5  0x000000000040e8ff in _start ()
#6  0x000000000043d170 in _start ()
#7  0x000000000040c6a3 in _start ()
#8  0x000000000040c637 in _start ()
#9  0x000000000040d641 in _start ()
#10 0x000000000040d8b1 in _start ()
#11 0x000000000042e831 in _start ()
#12 0x0000000000411767 in _start ()
#13 0x000000000040df5e in _start ()
#14 0x000000000040d59d in _start ()
#15 0x000000000040ee25 in _start ()
#16 0x000000000043d15f in _start ()
...

See the patch files at http://freebsd.pastebin.org/644102. It add some
changes for FreeBSD

BTW I'm running gambas2 on FreeBSD-8.1/amd64, 4G RAM, AMD Phenom II X2
550 Processor

Greetings
ACM




More information about the Devel mailing list