php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78486 ext/dba/tests/dba_lmdb.phpt semop(1): encountered an error: Invalid argument
Submitted: 2019-09-03 05:49 UTC Modified: 2019-09-03 08:22 UTC
From: jose dot r dot r at metztli dot com Assigned:
Status: Verified Package: DBM/DBA related
PHP Version: 7.3.9 OS: Debian
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jose dot r dot r at metztli dot com
New email:
PHP Version: OS:

 

 [2019-09-03 05:49 UTC] jose dot r dot r at metztli dot com
Description:
------------
...
TEST 4362/14581 [ext/dba/tests/dba_handlers.phpt]^MPASS DBA Handler Test [ext/dba/tests/dba_handlers.phpt]
TEST 4363/14581 [ext/dba/tests/dba_inifile.phpt]^MPASS DBA INIFILE handler test [ext/dba/tests/dba_inifile.phpt]
TEST 4364/14581 [ext/dba/tests/dba_lmdb.phpt]^Msemop(1): encountered an error: Invalid argument
make: *** [debian/rules:284: binary] Terminated [1]
semop(1): encountered an error: Invalid argument

(Build comes to a halt)

[1] line 284: dh $@ $(DH_SYSTEMD) --with apache2 $(PARALLEL)

Expected result:
----------------
Build should proceed.

Actual result:
--------------
Build halts completely.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-03 08:22 UTC] cmb@php.net
-Summary: TEST 4364/14581 [ext/dba/tests/dba_lmdb.phpt]^Msemop(1): encountered an error: +Summary: ext/dba/tests/dba_lmdb.phpt semop(1): encountered an error: Invalid argument -Status: Open +Status: Verified -Package: Compile Failure +Package: DBM/DBA related
 [2019-09-03 08:22 UTC] cmb@php.net
This is obviously not a compile failure (otherwise the tests would
not be executed), so reclassifying as dba issue.  While I cannot
reproduce the reported error message, the test yields the
following output for me on Debian (WSL):

    database handler: lmdb

    Warning: dba_insert(key2,Content String 2): MDB_CORRUPTED: Located page was wrong type in %s on line 8

    Warning: dba_insert(key3,Third Content String): MDB_CORRUPTED: Located page was wrong type in %s on line 9

    Warning: dba_insert(key4,Another Content String): MDB_CORRUPTED: Located page was wrong type in %s on line 10

    Warning: dba_insert(key5,The last content string): MDB_CORRUPTED: Located page was wrong type in %s on line 11

    Warning: dba_delete(key3): MDB_CORRUPTED: Located page was wrong type in %s on line 13

    ** ERROR: process timed out **

So there is obviously something wrong.  On Windows the test
passes, though.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 07:02:12 2024 UTC