[interchange-bugs] [rt.icdevgroup.org #346] Can't setup DBI handle of DBI::st=HASH(0xaff6bb0) to DBD::mysql::st_mem: unknown _mem package

Gert van der Spoel via RT interchange at rt.icdevgroup.org
Wed Apr 6 07:34:42 UTC 2011


Wed Apr 06 07:34:41 2011: Request 346 was acted upon.
Transaction: Ticket created by thunder
       Queue: Interchange
     Subject: Can't setup DBI handle of DBI::st=HASH(0xaff6bb0) to
 DBD::mysql::st_mem: unknown _mem package
       Owner: Nobody
  Requestors: ic-rt at 3edge.com
      Status: new
 Ticket <URL: http://rt.icdevgroup.org/Ticket/Display.html?id=346 >


IC: 5.7.6  (but possibly other versions)
Perl: 5.12.3

When doing something like 
[xxx-exec bar_link]yyyy[/xxx]

The following crash occurs:
Can't setup DBI handle of DBI::st=HASH(0xaff6bb0) to DBD::mysql::st_mem: unknown _mem package at /export/opt/perl-5.12.3/lib/site_perl/5.12.3/i686-linux/DBI.pm line 1285.

This happens in
/path/to/interchange/catalog_before.cfg

line 70:
        my $record =  tag_data($base, 'n/a', $code, { hash => 1 });

Currently there are 2 possible workarounds:
1) Downgrade to Perl 5.10
2) set AllowGlobal <catalog>   for the catalog using this code.

Both workarounds are not perfect. Assumption has been made it has to do with Safe ... Perhaps there is an Untrap possibility to work around this aswell.



More information about the interchange-bugs mailing list