This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---1046673355-2136500302-941201237=:5450 Content-Type: TEXT/PLAIN; charset=US-ASCII
Dear Forum
There seems to be a problem with the function Group();
I have attached a file named "testgroup". You should use this in gap with
Read("testgroup").
Then the function NewGroup(n,q) should create a new group depending from
the parameters n and q, n being a positive integer and q being a prime
power.
When you use this, you will get a segmentation fault and gap will be
terminated. (I have tested this on different systems, unix/windows)
When you replaces the function "Group()" by "GroupWithGenerators()" in
line 72, the problem doesn't occur, and you should indeed have the desired
new group.
Regards,
Jan De Beule
---1046673355-2136500302-941201237=:5450 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=testgroup Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.4.10.9910291347170.5450@cage.rug.ac.be> Content-Description: Content-Disposition: attachment; filename=testgroup
RGVjbGFyZUNhdGVnb3J5KCAiSXNOZXdPYmplY3QiLCBJc011bHRpcGxpY2F0
aXZlRWxlbWVudFdpdGhJbnZlcnNlICk7IA0KDQpJc05ld09iamVjdENvbGxl
Y3Rpb246PSBDYXRlZ29yeUNvbGxlY3Rpb25zKCBJc05ld09iamVjdCApOw0K
DQpEZWNsYXJlR2xvYmFsRnVuY3Rpb24oICJOT2JqIiApOw0KDQpEZWNsYXJl
R2xvYmFsVmFyaWFibGUoICJMaXN0T2ZOZXdHcm91cHMiICk7DQoNCkRlY2xh
cmVHbG9iYWxGdW5jdGlvbiggIk5ld0dyb3VwIiApOw0KDQpEZWNsYXJlUmVw
cmVzZW50YXRpb24oICJJc05ld09iamVjdFJlcCIsIA0KICAgICAgICAgICAg
ICAgICAgICAgICBJc1Bvc2l0aW9uYWxPYmplY3RSZXAsIFsgMSwgMiBdICk7
DQoNCkluc3RhbGxWYWx1ZSggTGlzdE9mTmV3R3JvdXBzLCBbXSApOw0KDQpJ
bnN0YWxsR2xvYmFsRnVuY3Rpb24oIE5PYmosIGZ1bmN0aW9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