#64: hugs crashes upon module reload

View: New views
5 Messages — Rating Filter:   Alert me  

#64: hugs crashes upon module reload

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#64: hugs crashes upon module reload
----------------------+-----------------------------------------------------
 Reporter:  guest     |       Owner:  nobody
     Type:  defect    |      Status:  new  
 Priority:  critical  |   Milestone:        
Component:  hugs      |     Version:  200609
 Keywords:            |  
----------------------+-----------------------------------------------------
A common occurence is the following failure when loading dll modules.
 with the latest release of hugs.

 This only occurs upon a reload. i.e. the initial load is fine. a reload
 from the hugs command line will cause the error.

 Database.HSQL> :load Database.HSQL
 ../../gcc/gcc/config/i386/w32-shared-ptr.c:234: failed assertion
 `w32_sharedptr-
 >size == sizeof(W32_EH_SHARED)'

--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/64>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
Hugs-Bugs@...
http://www.haskell.org/mailman/listinfo/hugs-bugs

Re: #64: hugs crashes upon module reload

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#64: hugs crashes upon module reload
-----------------------+----------------------------------------------------
  Reporter:  guest     |       Owner:  nobody
      Type:  defect    |      Status:  new  
  Priority:  critical  |   Milestone:        
 Component:  hugs      |     Version:  200609
Resolution:            |    Keywords:        
-----------------------+----------------------------------------------------
Comment (by guest):

 could be related to the modules being compile with msvc and latest release
 of hugs being compiled with mingw was it ?

--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/64>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
Hugs-Bugs@...
http://www.haskell.org/mailman/listinfo/hugs-bugs

Re: #64: hugs crashes upon module reload

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#64: hugs crashes upon module reload
----------------------+-----------------------------------------------------
  Reporter:  guest    |       Owner:  nobody
      Type:  defect   |      Status:  new  
  Priority:  blocker  |   Milestone:        
 Component:  hugs     |     Version:  200609
Resolution:           |    Keywords:        
----------------------+-----------------------------------------------------
Changes (by guest):

  * priority:  critical => blocker

Comment:

 you can get this error straight out of the box


 Hugs> :load System.Directory
 System.Directory> :load System.Directory
 ../../gcc/gcc/config/i386/w32-shared-ptr.c:234: failed assertion
 `w32_sharedptr-
 >size == sizeof(W32_EH_SHARED)'

--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/64>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
Hugs-Bugs@...
http://www.haskell.org/mailman/listinfo/hugs-bugs

Re: #64: hugs crashes upon module reload

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#64: hugs crashes upon module reload
----------------------+-----------------------------------------------------
  Reporter:  guest    |       Owner:  neil  
      Type:  defect   |      Status:  new  
  Priority:  major    |   Milestone:        
 Component:  winhugs  |     Version:  200609
Resolution:           |    Keywords:        
----------------------+-----------------------------------------------------
Changes (by ross):

  * component:  hugs => winhugs
  * priority:  blocker => major
  * owner:  nobody => neil

--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/64>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
Hugs-Bugs@...
http://www.haskell.org/mailman/listinfo/hugs-bugs

Re: #64: hugs crashes upon module reload

by GHC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#64: hugs crashes upon module reload
----------------------+-----------------------------------------------------
  Reporter:  guest    |       Owner:  neil  
      Type:  defect   |      Status:  new  
  Priority:  major    |   Milestone:        
 Component:  winhugs  |     Version:  200609
Resolution:           |    Keywords:        
----------------------+-----------------------------------------------------
Comment (by neil):

 I can't replicate this on my system, loading System.Directory repeatedly
 works just fine. I wouldn't be massively surprised if there were GCC vs VC
 issues with the FFI in places, but I can't trip them up out of the box.

 guest: Did you compile Hugs yourself, or any of the libraries? Does the
 installation of HSQL do something quirky?

--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/64>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
Hugs-Bugs@...
http://www.haskell.org/mailman/listinfo/hugs-bugs
LightInTheBox - Buy quality products at wholesale price!