Opened 8 years ago

Closed 5 years ago

#754 closed defect (fixed)

test macro capability at startup

Reported by: westram Owned by: westram
Priority: major Milestone:
Component: no idea Version: SVN
Keywords: Cc:

Description

The macro capability of ARB is easily broken by installing an incompatible ARB-version. ARB does not complain, recording work but playback fails. Errors are only shown in console.

One common cause is

  • compile arb on a system with perl 5.14 (e.g.)
  • execute it on a system with perl 5.20 ⇒ macros won't run

ARB should test whether macros work (at startup) and pop-up an error message.

Change History (5)

comment:1 Changed 5 years ago by westram

  • Owner changed from devel to westram
  • Status changed from new to _started

[18326] adds a script that could be used here.

Last edited 5 years ago by westram (previous) (diff)

comment:2 Changed 5 years ago by westram

called the above script under mint19 (based on ubuntu 18.04)

arb-build for ubuntu 16.04:

ARB.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xde00080)
exitcode=1

arb-build for ubuntu 14.04:

Segmentation fault (core dumped)
exitcode=139

arb-build for debian8:

/usr/bin/perl: symbol lookup error: /path/to/arb/lib/ARB.so: undefined symbol: Perl_xs_apiversion_bootcheck
exitcode=127

Last edited 5 years ago by westram (previous) (diff)

comment:3 Changed 5 years ago by westram

Now arb shows a warning message after startup:

Incompatibility detected between installed arb build and perl version:
* arb macro playback will not work and
* other arb perl scripts wont work either.

This has been tested on ubuntu 16.04 using an ubuntu 14.04 build (of r18336).
Running a perl script does SEGfault under these conditions.

comment:4 Changed 5 years ago by westram

HOWTO solve this issue:

  • build arb from scratch for your OS

    or

  • ask someone to build an arb tarball for your OS

    or

  • install another arb build which is compatible with your perl version

    or

  • install a perl version that works with your arb build (as alternative perl version)

comment:5 Changed 5 years ago by westram

  • Resolution set to fixed
  • Status changed from _started to closed

by [18339].

Note: See TracTickets for help on using tickets.