[Lazarus] Beta testers needed / Lazarus with Editor-Macro-Script
Ludo Brands
ludo.brands at free.fr
Sat Dec 1 12:28:57 CET 2012
> I need some testers for all the different available platforms.
> Because, unfortunately, I do not have every available hardware/OS
> myself :(
>
> I added a package called "macroscript" (in the components folder),
> there also is a modified (bug fixes) version of pascalscript (the
> original will not work).
> Only SVN trunk / 1.1 snapshot revision 39418 and up
>
> There is no need to install the package (but if the IDE does not find
> it, or if you used another pascalscript), then you *must* at least use
> "open package" and open it from the IDE.
>
> The package has a folder "test" with a testcase. When running the
> interactive part, take care, of pressing the right button (2 dlg want
> "cancel"). And edit the text (set to "123" for 2 out of 3 dlg)
>
> Please report your OS and CPU (including 32/64 bit) and fpc version
> along with test results.
>
ARM Debian Sid, fpc 2.6.0
Compiles OK. Running all tests just hangs at the 3rd test, no CPU usage.
Running individual tests:
<TestResults>
<!-- Generated using FPCUnit on 2012-12-01 12:14:41-->
<TestListing>
<Test Name="TestBasics" Result="Failed" ElapsedTime="00:00:00.234">
<Message>TTestCase1.TestBasics: SizeOf(TPoint) contains: Y IN
</Message>
<ExceptionClass>EAssertionFailedError</ExceptionClass>
<ExceptionMessage>SizeOf(TPoint) contains: Y IN </ExceptionMessage>
</Test>
</TestListing>
<NumberOfRunTests>1</NumberOfRunTests>
<NumberOfErrors>0</NumberOfErrors>
<NumberOfFailures>1</NumberOfFailures>
<NumberOfIgnoredTests>0</NumberOfIgnoredTests>
<TotalElapsedTime>00:00:00.716</TotalElapsedTime>
<DateTimeRan>2012-12-01 12:14:42</DateTimeRan>
</TestResults>
<TestResults>
<!-- Generated using FPCUnit on 2012-12-01 12:17:35-->
<TestListing>
<Test Name="TestSynProcs" Result="Failed" ElapsedTime="00:00:00.299">
<Message>TTestCase1.TestSynProcs: InsertTextAtCaret contains: Foo
IN </Message>
<ExceptionClass>EAssertionFailedError</ExceptionClass>
<ExceptionMessage>InsertTextAtCaret contains: Foo IN
</ExceptionMessage>
</Test>
</TestListing>
<NumberOfRunTests>1</NumberOfRunTests>
<NumberOfErrors>0</NumberOfErrors>
<NumberOfFailures>1</NumberOfFailures>
<NumberOfIgnoredTests>0</NumberOfIgnoredTests>
<TotalElapsedTime>00:00:01.395</TotalElapsedTime>
<DateTimeRan>2012-12-01 12:17:36</DateTimeRan>
</TestResults>
Running TestInteractive alone results in a pop-up window "I am at
10,10". Clicking OK hangs the test.
Running in gdb gives an identical sigsegv in all tree tests:
(gdb) bt
#0 0x00029988 in fpc_ansistr_incr_ref ()
#1 0x0036724c in TEMSSYNWRAPPER__EMS_INSERTTEXTATCARET (ATEXT=0x2
<Address 0x2 out of bounds>,
ACARETMODE=SCAMADJUST, this=<error reading variable>) at
emscriptclasses.pas:282
#2 0x003c54a8 in _$UPSRUNTIME$_Lj22888 () at arm.inc:105
#3 0x003c54a8 in _$UPSRUNTIME$_Lj22888 () at arm.inc:105
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Continue in TestInteractive gices a second sigsegv:
(gdb) bt
#0 0x4093b72c in strchr () from /lib/arm-linux-gnueabi/libc.so.6
#1 0x4060bf18 in g_param_spec_pool_lookup () from
/usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0
#2 0x40605884 in g_object_new_valist () from
/usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0
#3 0x40605bb0 in g_object_new () from
/usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0
#4 0x40202c38 in gtk_adjustment_new () from
/usr/lib/arm-linux-gnueabi/libgtk-x11-2.0.so.0
#5 0x402bddb8 in ?? () from /usr/lib/arm-linux-gnueabi/libgtk-x11-2.0.so.0
#6 0x402bddb8 in ?? () from /usr/lib/arm-linux-gnueabi/libgtk-x11-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Continue prints "Parameter type not implemented!" on the console and
then nothing more. Breaking the program gives the following :
(gdb) thr a a bt
Thread 1 (Thread 0x40f37320 (LWP 12840)):
#0 0x4004497c in __lll_lock_wait () from
/lib/arm-linux-gnueabi/libpthread.so.0
#1 0x4003e6bc in pthread_mutex_lock () from
/lib/arm-linux-gnueabi/libpthread.so.0
#2 0x4060be80 in g_param_spec_pool_lookup () from
/usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0
#3 0x4060685c in g_object_get_valist () from
/usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0
#4 0x40606c58 in g_object_get () from
/usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0
#5 0x403a938c in ?? () from /usr/lib/arm-linux-gnueabi/libgtk-x11-2.0.so.0
#6 0x403a938c in ?? () from /usr/lib/arm-linux-gnueabi/libgtk-x11-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Ludo
More information about the Lazarus
mailing list