Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random timeouts in permgroup/libgap? #37066

Open
2 tasks done
tobiasdiez opened this issue Jan 16, 2024 · 0 comments
Open
2 tasks done

Random timeouts in permgroup/libgap? #37066

tobiasdiez opened this issue Jan 16, 2024 · 0 comments
Labels

Comments

@tobiasdiez
Copy link
Contributor

Steps To Reproduce

No response

Expected Behavior

Doctest pass

Actual Behavior

sage -t --random-seed=220465576182896972036089584212975524207 src/sage/groups/perm_gps/permgroup.py
....
sage: H = PermutationGroup(['(1,2,3,4,5)', '(1,3,5,2,4)']) ## line 3046 ##
sage: H.as_finitely_presented_group() ## line 3047 ##
Finitely presented group < a, b | b^-2*a^-1, b*a^-2 >
sage: H.as_finitely_presented_group(reduced=True) ## line 3049 ##
Finitely presented group < a | a^5 >
sage: PermutationGroup([]).as_finitely_presented_group() ## line 3054 ##
Finitely presented group < a | a >
sage: S = SymmetricGroup(6) ## line 3056 ##
sage: perm_ls = [S.random_element() for i in range(3)] ## line 3057 ##
sage: G = PermutationGroup(perm_ls) ## line 3058 ##
sage: while True:
    try:
        assert G.as_finitely_presented_group().as_permutation_group().is_isomorphic(G)  # sometimes results in GAP error (see :trac:`32141`)
        break
    except ValueError:
        pass ## line 3059 ##
------------------------------------------------------------------------
0   signals.cpython-311-darwin.so       0x00000001036705ba print_backtrace + 58
1   signals.cpython-311-darwin.so       0x0000000103673120 cysigs_signal_handler + 336
2   libsystem_platform.dylib            0x00007ff80125adfd _sigtramp + 29
3   ???                                 0x0000000000000000 0x0 + 0
4   libgap.8.dylib                      0x0000000164c63048 EvalFunccall4args + 920
5   libgap.8.dylib                      0x0000000164d52f08 ExecAssLVar + 120
6   libgap.8.dylib                      0x0000000164d1e1d1 ExecSeqStat3 + 81
7   libgap.8.dylib                      0x0000000164d1e0e2 ExecSeqStat + 146
8   libgap.8.dylib                      0x0000000164d200e3 ExecWhile3 + 291
9   libgap.8.dylib                      0x0000000164d1e0e2 ExecSeqStat + 146
10  libgap.8.dylib                      0x0000000164d1e391 ExecSeqStat7 + 81
11  libgap.8.dylib                      0x0000000164d1d986 EXEC_CURR_FUNC + 54
12  libgap.8.dylib                      0x0000000164c5e627 DoExecFunc1args + 439
13  libgap.8.dylib                      0x0000000164c607af ExecProccall1args + 607
14  libgap.8.dylib                      0x0000000164d1e2b1 ExecSeqStat5 + 81
15  libgap.8.dylib                      0x0000000164d1fe3a ExecWhile + 202
16  libgap.8.dylib                      0x0000000164d1e2b1 ExecSeqStat5 + 81
17  libgap.8.dylib                      0x0000000164d1e391 ExecSeqStat7 + 81
18  libgap.8.dylib                      0x0000000164d1d986 EXEC_CURR_FUNC + 54
19  libgap.8.dylib                      0x0000000164c5e627 DoExecFunc1args + 439
20  libgap.8.dylib                      0x0000000164c60aca ExecProccall2args + 714
21  libgap.8.dylib                      0x0000000164d1e241 ExecSeqStat4 + 81
22  libgap.8.dylib                      0x0000000164d1fe3a ExecWhile + 202
23  libgap.8.dylib                      0x0000000164d1e2b1 ExecSeqStat5 + 81
24  libgap.8.dylib                      0x0000000164d1e391 ExecSeqStat7 + 81
25  libgap.8.dylib                      0x0000000164d1d986 EXEC_CURR_FUNC + 54
26  libgap.8.dylib                      0x0000000164c5e627 DoExecFunc1args + 439
27  libgap.8.dylib                      0x0000000164c607af ExecProccall1args + 607
28  libgap.8.dylib                      0x0000000164d1e0e2 ExecSeqStat + 146
29  libgap.8.dylib                      0x0000000164d1e391 ExecSeqStat7 + 81
30  libgap.8.dylib                      0x0000000164d1d986 EXEC_CURR_FUNC + 54
31  libgap.8.dylib                      0x0000000164c5e917 DoExecFunc2args + 455
32  libgap.8.dylib                      0x0000000164c628ba EvalFunccall2args + 714
33  libgap.8.dylib                      0x0000000164d52f08 ExecAssLVar + 120
34  libgap.8.dylib                      0x0000000164d1e321 ExecSeqStat6 + 81
35  libgap.8.dylib                      0x0000000164d1e391 ExecSeqStat7 + 81
36  libgap.8.dylib                      0x0000000164d1d986 EXEC_CURR_FUNC + 54
37  libgap.8.dylib                      0x0000000164c5ec1d DoExecFunc3args + 477
38  libgap.8.dylib                      0x0000000164cc02c6 DoOperation3Args + 1302
39  libgap.8.dylib                      0x0000000164c62c4d EvalFunccall3args + 813
40  libgap.8.dylib                      0x0000000164d20b24 ExecReturnObj + 100
41  libgap.8.dylib                      0x0000000164d1e2b1 ExecSeqStat5 + 81
42  libgap.8.dylib                      0x0000000164d1d986 EXEC_CURR_FUNC + 54
43  libgap.8.dylib                      0x0000000164c5e627 DoExecFunc1args + 439
44  element.cpython-311-darwin.so       0x00000001644534f9 __pyx_pf_4sage_4libs_3gap_7element_19GapElement_Function_2__call__ + 1257
45  element.cpython-311-darwin.so       0x0000000164452fc4 __pyx_pw_4sage_4libs_3gap_7element_19GapElement_Function_3__call__ + 36
46  python3.11                          0x00000001024cfefa _PyEval_EvalFrameDefault + 227850
47  python3.11                          0x000000010249631f _PyEval_Vector + 1599
48  python3.11                          0x0000000102495c69 PyEval_EvalCode + 249
49  python3.11                          0x0000000102490b6d builtin_exec + 381
50  python3.11                          0x00000001024d4393 _PyEval_EvalFrameDefault + 245411
51  python3.11                          0x000000010237b996 _PyFunction_Vectorcall + 2678
52  python3.11                          0x000000010237d5ae _PyObject_Call_Prepend + 334
53  python3.11                          0x000000010240cfe1 slot_tp_call + 97
54  python3.11                          0x00000001024cfefa _PyEval_EvalFrameDefault + 227850
55  python3.11                          0x000000010237b996 _PyFunction_Vectorcall + 2678
56  python3.11                          0x000000010240e85d slot_tp_init + 317
57  python3.11                          0x000000010240373a type_call + 122
58  python3.11                          0x00000001024cfefa _PyEval_EvalFrameDefault + 227850
59  python3.11                          0x000000010249631f _PyEval_Vector + 1599
60  python3.11                          0x0000000102495c69 PyEval_EvalCode + 249
61  python3.11                          0x0000000102542cd8 run_mod + 168
62  python3.11                          0x0000000102542ae5 pyrun_file + 133
63  python3.11                          0x00000001025425c3 _PyRun_SimpleFileObject + 275
64  python3.11                          0x0000000102541f5f _PyRun_AnyFileObject + 143
65  python3.11                          0x00000001025664fb pymain_run_file_obj + 267
66  python3.11                          0x0000000102565f75 pymain_run_file + 85
67  python3.11                          0x00000001025658ee Py_RunMain + 1966
68  python3.11                          0x0000000102308eb8 main + 56
69  dyld                                0x000000010d7ea52e start + 462

Additional Information

Only happened once so far at https://github.com/sagemath/sage/actions/runs/7440331770/job/20241220809.

Environment

Conda? Macos?

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant