Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Tomaž Žveglič
On 28.10.2015 13:42, Zeljko wrote: On 10/28/2015 01:36 PM, Tomaž Žveglič wrote: I did as you suggest and I also did similar changes to FontIsMonoSpaceFont. Ok, seem that there's no more help from trial error. I'll check it when I install OpenBSD in virtual machine. zeljko --

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
On 10/28/2015 01:48 PM, Tomaž Žveglič wrote: Thanks Željko for your help. I owe you beer. Do you have bitcoin address? No, but thanks for good will :) zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Tomaž Žveglič
On 28.10.2015 11:41, Zeljko wrote: ... Seem that nil params kills openbsd 64. Go to FontIsDoubleByteCharsFont() in gtk2proc.inc and add dummy integers to null params. var SingleCharLen, DoubleCharLen, DummyCharHeight {added}: integer; begin

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
On 10/28/2015 01:36 PM, Tomaž Žveglič wrote: I did as you suggest and I also did similar changes to FontIsMonoSpaceFont. Ok, seem that there's no more help from trial error. I'll check it when I install OpenBSD in virtual machine. zeljko --

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
#6 0x00a1bae4 in CREATEFORMCONTENTS (AFORM=0x2c31ef530, FORMWIDGET=0x2887b8500, AWIDGETINFO=0x282a0bb20) at gtk2proc.inc:7485 ah, maybe lineinfo is invalid (not like in trunk), so pls. in that function of gtk2proc add gtk_adjustment_new where crash occurs...there are 2 places

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
#6 0x00a1bae4 in CREATEFORMCONTENTS (AFORM=0x2c31ef530, FORMWIDGET=0x2887b8500, AWIDGETINFO=0x282a0bb20) at gtk2proc.inc:7485 huh ?!? There's simple pointer assignment at this point FormWidget := Result ... definitelly must install openbsd and see what's up. zeljko --

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Tomaž Žveglič
On 28.10.2015 8:22, Zeljko wrote: #6 0x00a1bae4 in CREATEFORMCONTENTS (AFORM=0x2c31ef530, FORMWIDGET=0x2887b8500, AWIDGETINFO=0x282a0bb20) at gtk2proc.inc:7485 ah, maybe lineinfo is invalid (not like in trunk), so pls. in that function of gtk2proc add gtk_adjustment_new where

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-28 Thread Zeljko
On 10/28/2015 11:28 AM, Tomaž Žveglič wrote: at /usr/xenocara/lib/fontconfig/src/../../../dist/fontconfig/src/fcpat.c:1083 #1 0x000253822306 in pango_fc_font_map_load_fontset () from /usr/local/lib/libpangoft2-1.0.so.3600.0 #2 0x0002498afb7b in itemize_state_process_run ()

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-27 Thread Zeljko
gdb ./lazarus GNU gdb 6.3 ... (gdb) run Starting program: /root/lazarus/lazarus Program received signal SIGBUS, Bus error. 0x0002954fe2fa in g_object_new () from /usr/local/lib/libgobject-2.0.so.4200.1 Current language: auto; currently c (gdb) bt #0 0x0002954fe2fa in

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-27 Thread Tomaž Žveglič
On 10/27/15 09:46, Zeljko wrote: gdb ./lazarus GNU gdb 6.3 ... (gdb) run Starting program: /root/lazarus/lazarus Program received signal SIGBUS, Bus error. 0x0002954fe2fa in g_object_new () from /usr/local/lib/libgobject-2.0.so.4200.1 Current language: auto; currently c (gdb) bt

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-26 Thread Zeljko
gtk+2 2.24.28 glib2 2.44.1 Can you start lazarus via gdb and send backtrace ? Buld lazarus with -gl and gdb ./lazarus run ---crash bt now copy backtrace here zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-26 Thread Zeljko
On 10/26/2015 02:35 PM, Tomaž Žveglič wrote: When I run lazarus this error is displayed: # ./lazarus (lazarus:32495): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed [FORMS.PP] ExceptionOccurred

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-26 Thread Tomaž Žveglič
On 26.10.2015 15:31, Zeljko wrote: On 10/26/2015 02:35 PM, Tomaž Žveglič wrote: When I run lazarus this error is displayed: # ./lazarus (lazarus:32495): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-26 Thread Tomaž Žveglič
On 26.10.2015 14:45, Mattias Gaertner wrote: On Mon, 26 Oct 2015 14:35:21 +0100 Tomaž Žveglič wrote: OS: OpenBSD bsd 5.8 GENERIC#1170 amd64 lazarus was compiled using fpc 2.6.4: [...] When I run lazarus this error is displayed:

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-26 Thread Mattias Gaertner
On Mon, 26 Oct 2015 14:35:21 +0100 Tomaž Žveglič wrote: > OS: OpenBSD bsd 5.8 GENERIC#1170 amd64 > > lazarus was compiled using fpc 2.6.4: >[...] > When I run lazarus this error is displayed: > > # ./lazarus > >

Re: [Lazarus] OpenBSD 5.8 64bit - lazarus - exception

2015-10-26 Thread Tomaž Žveglič
On 26.10.2015 16:02, Zeljko wrote: gtk+2 2.24.28 glib2 2.44.1 Can you start lazarus via gdb and send backtrace ? Buld lazarus with -gl and gdb ./lazarus run ---crash bt now copy backtrace here zeljko -- ___ Lazarus mailing list