After a random but very long period of time (i.e. very many successful
calls) I get a SEGV in the built-in function fpc_AnsiStr_Decr_Ref.
GDB reports the argument to fpc_AnsiStr_Decr_Ref (the string who's
reference is to be decremented) is nil (i.e. 0x0).
Prima facie, that's the reason for the
I should clarify, foo is a virtual method of an object, not a regular
function. -b
On Wed, May 8, 2013 at 4:13 PM, Bruce Tulloch pas...@causal.com wrote:
After a random but very long period of time (i.e. very many successful
calls) I get a SEGV in the built-in function fpc_AnsiStr_Decr_Ref.
On Wed, 8 May 2013, silvioprog wrote:
Oops,
2013/5/8 silvioprog silviop...@gmail.com
[...]
uses
resolve, winsock;
procedure TForm1.Button1Click(Sender: TObject);
var
FHostEntry: PHostEnt;
begin
FHostEntry := gethostbyname('www.google.com.br');
end;
...
On Wed, 8 May 2013, Bruce Tulloch wrote:
After a random but very long period of time (i.e. very many successful calls)
I get a SEGV in the built-in function fpc_AnsiStr_Decr_Ref.
GDB reports the argument to fpc_AnsiStr_Decr_Ref (the string who's reference is
to be decremented) is nil
Hello.
I want add access to AT-SPI interface.
http://en.wikipedia.org/wiki/Assistive_Technology_Service_Provider_Interface
Does it exist a pascal header for that ?
Does anybody know how to do it, via fpc, not lcl ?
Thanks.
Toc, toc, toc, is there anybody here ?
Nobody have some experience with
On Wed, 8 May 2013, Fred van Stappen wrote:
Hello.
I want add access to AT-SPI interface.
http://en.wikipedia.org/wiki/Assistive_Technology_Service_Provider_Interface
Does it exist a pascal header for that ?
Does anybody know how to do it, via fpc, not lcl ?
Thanks.
Toc, toc, toc, is there
On 05/08/2013 10:07 AM, Fred van Stappen wrote:
Toc, toc, toc, is there anybody here ?
You hitchhiked a running forum thread.
Nobody likes to answer on such indecent posts.
-Michael
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Am 08.05.2013 10:07, schrieb Fred van Stappen:
Hello.
I want add access to AT-SPI interface.
http://en.wikipedia.org/wiki/Assistive_Technology_Service_Provider_Interface
http://en.wikipedia.org/wiki/Assistive_Technology_Service_Provider_Interface
Does it exist a pascal header for that ?
Does
Am 08.05.2013 10:16, schrieb Michael Schnell:
On 05/08/2013 10:07 AM, Fred van Stappen wrote:
Toc, toc, toc, is there anybody here ?
You hitchhiked a running forum thread.
Nobody likes to answer on such indecent posts.
Except to tell the writer about his/her indecency :)
Regards,
Sven
On 05/08/2013 10:17 AM, Sven Barth wrote:
Except to tell the writer about his/her indecency :)
... if (s)he insists :-)
-Michael
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Except to tell the writer about his/her indecency :)
Yep, sorry but with my indecent PS:..., already 5 answers !...
So the question must be :
PS : Why must i be indecent to have some answers...
Thanks and sorry to disturb you.
Am 08.05.2013 10:34, schrieb Fred van Stappen:
The point is nevertheless that you answered to an existing thread
with a completely new/unrelated question.
OK, my fault, i wanted to answer to my own tread an that answer
appears like a new one ( i used ( RE: ... ) in place of (Re: ...). ).
The C headers are documented here (I don't know where they are
located though):
https://developer.gnome.org/at-spi-cspi/stable/
Also useable might be this:
http://accessibility.kde.org/developer/atk.php#coreclasses
Many thanks Sven, gonna study it...
I'm working on a glut app but I keep on getting the message: Error:
Can't assign local procedure/function to procedure variable
The error is at this line: glutDisplayFunc(@redrawfunc);
And the callback (which is declared in the same .inc file) is declared
as: procedure redrawfunc; cdecl;
I
Am 08.05.2013 11:20, schrieb Darius Blaszyk:
I'm working on a glut app but I keep on getting the message: Error:
Can't assign local procedure/function to procedure variable
The error is at this line: glutDisplayFunc(@redrawfunc);
And the callback (which is declared in the same .inc file) is
Am 08.05.2013 11:20, schrieb Darius Blaszyk:
I'm working on a glut app but I keep on getting the message: Error: Can't
assign local procedure/function to procedure variable The error is at this
line: glutDisplayFunc(@redrawfunc); And the callback (which is declared in
the same .inc
Am 08.05.2013 11:40, schrieb Darius Blaszyk:
Am 08.05.2013 11:20, schrieb Darius Blaszyk:
I'm working on a glut app but I keep on getting the message: Error:
Can't assign local procedure/function to procedure variable The
error is at this line: glutDisplayFunc(@redrawfunc); And the
callback
Am 08.05.2013 11:40, schrieb Darius Blaszyk:
Am 08.05.2013 11:20, schrieb Darius Blaszyk:
I'm working on a glut app but I keep on getting the message: Error: Can't
assign local procedure/function to procedure variable The error is at this
line: glutDisplayFunc(@redrawfunc); And the
Am 08.05.2013 12:37, schrieb Darius Blaszyk:
Am 08.05.2013 11:40, schrieb Darius Blaszyk:
Am 08.05.2013 11:20, schrieb Darius Blaszyk:
I'm working on a glut app but I keep on getting the message:
Error: Can't assign local procedure/function to procedure
variable
In our previous episode, Jonas Maebe said:
I also don't know where the -Xd comes from in the above compiler
invocation. If you added that yourself, remove it again.
I inherited it from the buildcrosssnapshot script found in
fpcbuild-2.6.2.zip, and never even thought about its effect.
On 08 May 2013, at 14:01, Marco van de Voort wrote:
In our previous episode, Jonas Maebe said:
I also don't know where the -Xd comes from in the above
compiler invocation. If you added that yourself, remove it again.
I inherited it from the buildcrosssnapshot script found in
In our previous episode, Jonas Maebe said:
That script probably hasn't been used for ages. It's probably best to
remove it in order to prevent confusion like you are encountering.
Please don't, since that just makes it hard to add anything.
I don't understand what you mean by this. How
On 08 May 2013, at 14:57, Marco van de Voort wrote:
In our previous episode, Jonas Maebe said:
That script probably hasn't been used for ages. It's probably
best to
remove it in order to prevent confusion like you are encountering.
Please don't, since that just makes it hard to add
2013/5/8 Michael Van Canneyt mich...@freepascal.org
On Wed, 8 May 2013, silvioprog wrote:
Oops,
2013/5/8 silvioprog silviop...@gmail.com
[...]
uses
resolve, winsock;
procedure TForm1.Button1Click(Sender: TObject);
var
FHostEntry: PHostEnt;
begin
FHostEntry :=
In our previous episode, Jonas Maebe said:
svn) and probably hasn't worked correctly in 10 years or so (if it
ever worked really correctly, given that adding -Xd to OPT never
never
was correct).
It was the best that could be done then.
The best that could have been done was to add
On 08 May 2013, at 08:13, Bruce Tulloch wrote:
After a random but very long period of time (i.e. very many successful
calls) I get a SEGV in the built-in function fpc_AnsiStr_Decr_Ref.
GDB reports the argument to fpc_AnsiStr_Decr_Ref (the string who's
reference is to be decremented) is nil
waldo kitty wrote:
You are trying to build with 2.7.1. If you are absolutely sure that the
current compiler is built from the exact same version/revision, you
can try
to use OVERRIDEVERSIONCHECK=1 to override . Stop.
perhaps the message is too long and too informative? maybe something
Maybe it use the thread again, try many requests if there is more threads?
On Wed, May 8, 2013 at 4:35 PM, silvioprog silviop...@gmail.com wrote:
2013/5/8 Michael Van Canneyt mich...@freepascal.org
On Wed, 8 May 2013, silvioprog wrote:
Oops,
2013/5/8 silvioprog silviop...@gmail.com
2013/5/8 Zaher Dirkey parm...@gmail.com
Maybe it use the thread again, try many requests if there is more threads?
It keep only one thread. :)
Sorry Michael, Zaher and friends. A friend tested it in Delphi on Window XP
and it's same to Free Pascal.
--
Silvio Clécio
My public projects -
On 08/05/13 16:45, Marco van de Voort wrote:
In our previous episode, Jonas Maebe said:
svn) and probably hasn't worked correctly in 10 years or so (if it
ever worked really correctly, given that adding -Xd to OPT never
never
was correct).
It was the best that could be done then.
The best
On 5/8/2013 04:34, Fred van Stappen wrote:
The point is nevertheless that you answered to an existing thread with a
completely new/unrelated question.
OK, my fault, i wanted to answer to my own tread an that answer appears like a
new one ( i used ( RE: ... ) in place of (Re: ...). ).
that
On 5/8/2013 12:22, Mark Morgan Lloyd wrote:
waldo kitty wrote:
You are trying to build with 2.7.1. If you are absolutely sure that the
current compiler is built from the exact same version/revision, you can try
to use OVERRIDEVERSIONCHECK=1 to override . Stop.
perhaps the message is too
On 08.05.2013 22:27, waldo kitty wrote:
On 5/8/2013 12:22, Mark Morgan Lloyd wrote:
waldo kitty wrote:
You are trying to build with 2.7.1. If you are absolutely sure that
the
current compiler is built from the exact same version/revision, you
can try
to use OVERRIDEVERSIONCHECK=1 to override
On 5/8/2013 17:50, Sven Barth wrote:
On 08.05.2013 22:27, waldo kitty wrote:
On 5/8/2013 12:22, Mark Morgan Lloyd wrote:
waldo kitty wrote:
You are trying to build with 2.7.1. If you are absolutely sure that
the
current compiler is built from the exact same version/revision, you
can try
to
Thanks Jonas, that confirms what I suspected. Next time I trap an instance
of this (rare) fault I will inspect exactly which CPU instruction raised
the SEGV inside fpc_AnsiStr_Decr_Ref in search of a source of memory
corruption.
Bruce.
On Wed, May 8, 2013 at 11:49 PM, Jonas Maebe
Michael, thanks for your feedback.
One thing that confuses me in light of Jonas' reply, if what you say is
correct (that local variables that have just come into scope are not
guaranteed to be nil) then assignment of Result := ''; at the first line of
foo may arbitrarily SEGV because
I've not managed to trap it again, but based on the information I have from
the last time it occurred I can say the error happened here:
--- a/rtl/i386/i386.inc
+++ b/rtl/i386/i386.inc
@@ -1523,7 +1523,7 @@
movl(%eax),%edx
subl$8,%edx
// [102] If l^0 then exit;
So here's some more diagnostic at the point of the SEGV:
(gdb) disass
Dump of assembler code for function _$SYSTEM$_Ll1637:
= 0x0118ace1 +0: cmpl $0x0,(%edx)
End of assembler dump.
(gdb) i reg
eax0xb6c77158 -1228443304
ecx0xb6c76c04 -1228444668
edx
Image Magick comes with static libraries and dynamic libraries.
Is there any way to make ImageMagick unit support the *.lib files?
I'm trying to avoid having to distribute the ImageMagick dlls.
Thanks,
--
Andrew Brunner
Aurawin LLC
15843 Garrison Circle
Austin, TX 78717
https://aurawin.com
39 matches
Mail list logo