[Lazarus] Compiling on OpenBSD
Leonardo M. Ramé
l.rame at griensu.com
Fri Mar 7 02:52:51 CET 2014
On 2014-03-03 23:00:50 +0100, Mattias Gaertner wrote:
> On Thu, 27 Feb 2014 08:09:42 -0300
> Leonardo Rame <l.rame at griensu.com> wrote:
>
> > #7 0x0000000000b038ce in GETSTYLEWITHNAME (
> > WNAME=0x1ae7258 "vertical scrollbar") at gtk2proc.inc:7815
>
> That is
> StyleObject^.Widget := gtk_vscrollbar_new(nil);
>
> That means a normal gtk call fails.
>
> Probably there was some other bug happened prior to this and crumbled
> the heap or stack.
> Please compile with more checks. For example:
>
> make clean all OPT='-Criot -ghtl'
>
> Mattias
>
Hi Mattias, I've compiled with OPT='-Criot -ghtl', here are the results
if I run from gdb:
Program received signal SIGBUS, Bus error.
0x000000020b953389 in snprintf (str=0x7f7ffffd8b38 "", n=39,
fmt=0x2021dc755 "%.17g") at /usr/src/lib/libc/stdio/snprintf.c:43
43 /usr/src/lib/libc/stdio/snprintf.c: No such file or directory.
in /usr/src/lib/libc/stdio/snprintf.c
Current language: auto; currently c
The program is running. Exit anyway? (y or n) % ➜ lazarus ./lazarus --g-fatal-warnings
Here's the result of just running from the command prompt:
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/martin/.lazarus"
SecondaryConfigPath="/etc/lazarus"
TApplication.HandleException Access violation
Stack trace:
$000000020CE4A389 line 43 of /usr/src/lib/libc/stdio/snprintf.c
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list