Digraphs icon indicating copy to clipboard operation
Digraphs copied to clipboard

Digraphs crashes on my Windows 10 laptop when computing ChromaticNumber

Open lhsoicher opened this issue 6 years ago • 12 comments

The following leads to a crash on my Windows 10 Home HP Pavilion Pentium 4415U 4GB laptop. GAP was installed using the gap-4.10.2.exe installer.

I think the problem is in computing a graph homomorphism.
Thanks for looking into this.

 ┌───────┐   GAP 4.10.2 of 19-Jun-2019
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: i686-pc-cygwin-default32-kv3
 Configuration:  gmp 6.1.2, readline
 Loading the library and packages ...
 Packages:   AClib 1.3.1, Alnuth 3.1.1, AtlasRep 2.1.0, AutoDoc 2019.05.20, AutPGrp 1.10, Browse 1.8.8, CRISP 1.4.4,
             Cryst 4.1.19, CrystCat 1.1.9, CTblLib 1.2.2, FactInt 1.6.2, FGA 1.4.0, Forms 1.2.5, GAPDoc 1.6.2,
             genss 1.6.5, IO 4.6.0, IRREDSOL 1.4, LAGUNA 3.9.3, orb 4.8.2, Polenta 1.3.8, Polycyclic 2.14,
             PrimGrp 3.3.2, RadiRoot 2.8, recog 1.3.2, ResClasses 4.7.2, SmallGrp 1.3, Sophus 1.24, SpinSym 1.5.1,
             TomLib 1.2.8, TransGrp 2.0.4, utils 0.63
 Try '??help' for help. See also '?copyright', '?cite' and '?authors'
gap> LoadPackage("digraphs");
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Loading  GRAPE 4.8.2 (GRaph Algorithms using PErmutation groups)
by Leonard H. Soicher (http://www.maths.qmul.ac.uk/~lsoicher/).
Homepage: https://gap-packages.github.io/grape
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Loading  Digraphs 0.15.2 (Digraphs - Methods for digraphs)
by Jan De Beule (http://homepages.vub.ac.be/~jdbeule/),
   Julius Jonusas (http://www-groups.mcs.st-andrews.ac.uk/~julius/),
   James Mitchell (http://goo.gl/ZtViV6),
   Michael Torpey (http://www-groups.mcs.st-andrews.ac.uk/~mct25/), and
   Wilf Wilson (http://wilf.me).
Homepage: https://gap-packages.github.io/Digraphs
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
true
gap> J:=JohnsonDigraph(4,2);
<digraph with 6 vertices, 24 edges>
gap> ChromaticNumber(J);

lhsoicher avatar Feb 26 '20 11:02 lhsoicher

Thanks for the report @lhsoicher. Can you please try with the most recently released version of Digraphs (v1.1.1) because I think we may have already fixed this issue?

james-d-mitchell avatar Feb 26 '20 12:02 james-d-mitchell

I think I would need to wait for the next release of GAP and use the .exe installer for Windows in order to get a newer compiled version of Digraphs to run on my Windows laptop. That's ok. I can wait.


From: James Mitchell [email protected] Sent: 26 February 2020 12:16 To: gap-packages/Digraphs Cc: Leonard Soicher; Mention Subject: Re: [gap-packages/Digraphs] Digraphs crashes on my Windows 10 laptop when computing ChromaticNumber (#295)

Thanks for the report @lhsoicherhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flhsoicher&data=02%7C01%7C%7C66cfd652484c49a7351f08d7bab5bf43%7C569df091b01340e386eebd9cb9e25814%7C0%7C1%7C637183162063667469&sdata=CCoBtC0j33GF9vhZsJe%2BJ9IHqH1t0%2BndrzQB2rhuK6M%3D&reserved=0. Can you please try with the most recently released version of Digraphs (v1.1.1) because I think we may have already fixed this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgap-packages%2FDigraphs%2Fissues%2F295%3Femail_source%3Dnotifications%26email_token%3DABXNAOEW6KTFG5U2X4EV3BDREZMSZA5CNFSM4K4DA5S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM7772A%23issuecomment-591396840&data=02%7C01%7C%7C66cfd652484c49a7351f08d7bab5bf43%7C569df091b01340e386eebd9cb9e25814%7C0%7C1%7C637183162063667469&sdata=yJvV63rI6iWGgXPiG0k21CB0ZOggZ%2BVFITXh45UqfCo%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABXNAOF2O6X6DDFCI3SFTVDREZMSZANCNFSM4K4DA5SQ&data=02%7C01%7C%7C66cfd652484c49a7351f08d7bab5bf43%7C569df091b01340e386eebd9cb9e25814%7C0%7C1%7C637183162063677425&sdata=yF%2FcJSSMNht8wtpKobLjv%2FI1AdcGcIx7Tx0TrH1aczg%3D&reserved=0.

lhsoicher avatar Feb 26 '20 14:02 lhsoicher

@lhsoicher GAP 4.11 is released with Digraphs 1.1.1, any chance you could double check if the issue is resolved? Thanks!

james-d-mitchell avatar Mar 09 '20 16:03 james-d-mitchell

Hi @james-d-mitchell

I installed gap 4.11.0 using the gap-4.11.0.exe installer, and got the following when I tried to load the Digraphs package:

┌───────┐ GAP 4.11.0 of 29-Feb-2020 │ GAP │ https://www.gap-system.org └───────┘ Architecture: x86_64-pc-cygwin-default64-kv7 Configuration: gmp 6.1.2, GASMAN, readline Loading the library and packages ... Packages: AClib 1.3.2, Alnuth 3.1.2, AtlasRep 2.1.0, AutoDoc 2019.09.04, AutPGrp 1.10.2, Browse 1.8.8, CaratInterface 2.3.3, CRISP 1.4.5, Cryst 4.1.23, CrystCat 1.1.9, CTblLib 1.2.2, FactInt 1.6.3, FGA 1.4.0, Forms 1.2.5, GAPDoc 1.6.3, genss 1.6.6, IO 4.7.0, IRREDSOL 1.4, LAGUNA 3.9.3, orb 4.8.3, Polenta 1.3.9, Polycyclic 2.15.1, PrimGrp 3.4.0, RadiRoot 2.8, recog 1.3.2, ResClasses 4.7.2, SmallGrp 1.4.1, Sophus 1.24, SpinSym 1.5.2, TomLib 1.2.9, TransGrp 2.0.5, utils 0.69 Try '??help' for help. See also '?copyright', '?cite' and '?authors' gap> LoadPackage("digraphs"); ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Loading GRAPE 4.8.3 (GRaph Algorithms using PErmutation groups) by Leonard H. Soicher (http://www.maths.qmul.ac.uk/~lsoicher/). Homepage: https://gap-packages.github.io/grape Report issues at https://github.com/gap-packages/grape/issues ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────── #W dlopen() error: Permission denied Error, module '/proc/cygdrive/C/gap-4.11.0/pkg/digraphs-1.1.1/bin/x86_64-pc-cygwin-default64-kv7/digraphs.so' not found in LOAD_DYN( arg[1], false ) at /proc/cygdrive/C/gap-4.11.0/lib/files.gd:587 called from <function "LoadDynamicModule">( ) called from read-eval loop at /proc/cygdrive/C/gap-4.11.0/pkg/digraphs-1.1.1/init.g:24 Error, was not in any namespace at /proc/cygdrive/C/gap-4.11.0/lib/variable.g:292 called from LEAVE_NAMESPACE( ); at /proc/cygdrive/C/gap-4.11.0/lib/package.gi:1303 called from ReadPackage( pkgname, "init.g" ); at /proc/cygdrive/C/gap-4.11.0/lib/package.gi:1670 called from <function "LoadPackage">( ) called from read-eval loop at stdin:1 you can 'quit;' to quit to outer loop, or you can 'return;' to continue brk>


From: James Mitchell [email protected] Sent: 09 March 2020 16:25 To: gap-packages/Digraphs Cc: Leonard Soicher; Mention Subject: Re: [gap-packages/Digraphs] Digraphs crashes on my Windows 10 laptop when computing ChromaticNumber (#295)

@lhsoicherhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flhsoicher&data=02%7C01%7C%7Cd70fe9a303da4981e7c808d7c4467ffe%7C569df091b01340e386eebd9cb9e25814%7C0%7C0%7C637193679384839494&sdata=1U%2BmIyBYJnsFWwvJMMo3OEYbeqmftv6Dm3qeeY2iq64%3D&reserved=0 GAP 4.11 is released with Digraphs 1.1.1, any chance you could double check if the issue is resolved? Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgap-packages%2FDigraphs%2Fissues%2F295%3Femail_source%3Dnotifications%26email_token%3DABXNAOAJB22LZ3DNVLLE3BDRGUJ77A5CNFSM4K4DA5S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOH6IQI%23issuecomment-596632641&data=02%7C01%7C%7Cd70fe9a303da4981e7c808d7c4467ffe%7C569df091b01340e386eebd9cb9e25814%7C0%7C0%7C637193679384849490&sdata=fyYFIDSCHZzZTQE%2B78Ygk5nPaiI6h0N6RXJIJFodN10%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABXNAOGD4S4FUPFLK3NKGPDRGUJ77ANCNFSM4K4DA5SQ&data=02%7C01%7C%7Cd70fe9a303da4981e7c808d7c4467ffe%7C569df091b01340e386eebd9cb9e25814%7C0%7C0%7C637193679384849490&sdata=CvvYxUn%2FCY8HyfCVDji0JgBX6lfwjWZxKkqMK3uYSL0%3D&reserved=0.

lhsoicher avatar Mar 09 '20 20:03 lhsoicher

@lhsoicher that's what I have, under Windows 10. How did you start GAP, which version of Windows do you have?

Screenshot 2020-03-09 at 22 03 21

olexandr-konovalov avatar Mar 09 '20 22:03 olexandr-konovalov

I'm running Microsoft Windows 10 Home [Version 10.0.18362 Build 18362], and I run GAP 4.11.0 via its desktop icon.

lhsoicher avatar Mar 11 '20 09:03 lhsoicher

@lhsoicher can you try to start it using C:\gap-4-11.0\bin\gap.batfile?

olexandr-konovalov avatar Mar 11 '20 11:03 olexandr-konovalov

I still have a problem loading the digraphs package when I run GAP by typing

C:\gap-4.11.0\bin\gap.bat

at the command prompt.

lhsoicher avatar Mar 11 '20 11:03 lhsoicher

I usually go there using File Explorer and double-click on gap.bat. Tried via the command prompt - still can not reproduce. I don't know what to do next, without access to the actual machine. Two ideas:

  • are you sure that you are not using any packages from your _gap directory? Try to start GAP by typing C:\gap-4.11.0\bin\gap.bat -r in the command prompt, to ignore it.

  • try to install GAP from -win.zip archive from https://www.gap-system.org/Releases/index.html instead.

olexandr-konovalov avatar Mar 11 '20 12:03 olexandr-konovalov

@lhsoicher is this still a problem or did you get it to work?

james-d-mitchell avatar Jun 17 '20 17:06 james-d-mitchell

I have not gotten it to work, but on the other hand, I no longer use GAP under Windows.

lhsoicher avatar Jul 02 '20 19:07 lhsoicher

That's one solution :) I'll leave this open until we can confirm that the issue is resolved.

james-d-mitchell avatar Jul 03 '20 11:07 james-d-mitchell