Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > WinVice & Windows 10 error
2016-04-21 12:23
The Phantom

Registered: Jan 2004
Posts: 360
WinVice & Windows 10 error

OK. I've dealt with this for a week or two and it's time to see if a solution is available.

WinVice 2.4 (win64 x64 mingw)

Anytime I double click a .d64, I get this error:

VICE Error!
Cannot startup logging system.

I hit enter (or click OK) and that is that. I haven't had any issues with Vice, just this silly error.

Any way to fix this? I can deal with hitting enter, but would rather Vice just boot up without my having to do so.
2016-04-21 12:25
iAN CooG

Registered: May 2002
Posts: 3132
https://sourceforge.net/p/vice-emu/bugs/?source=navbar
open a bug report there
2016-04-21 22:16
Moloch

Registered: Jan 2002
Posts: 2893
After you tried a nightly build? Grab the latest here -> http://vice.pokefinder.org/

Your problem might be fixed already considering VICE 2.4 is four years old now - released in late 2012. (pre-Windows 10)
2016-04-21 22:25
The Phantom

Registered: Jan 2004
Posts: 360
Thanks Ian.
2016-04-21 22:27
The Phantom

Registered: Jan 2004
Posts: 360
I haven't checked for the latest stable version, thought 2.4 was the last. Laziness I guess. Doesn't happen with 2.4.11, so for sure it's the version I use. I could deal with it, but meh, I'll go find the latest build.

Thanks Jon :)
2016-12-24 09:18
jailbird

Registered: Dec 2001
Posts: 1576
Just downloaded WinVice 3 to check if this bug is gone, but nah, it still exists. After a bit of googling, the amount of helpful informations I could gather considering this slight annoyance is close to zero.

Oh and by the way, can't save settings neither.

+ a special bonus bug: if I'm dragging a .prg to Vice's window, it says it can't autostart specified file.

Windows 7 here, btw.

2016-12-24 09:34
Perplex

Registered: Feb 2009
Posts: 254
Nice screenshot trolling.
2016-12-24 09:57
oziphantom

Registered: Oct 2014
Posts: 478
Try putting it somewhere other than Program Files, the folder has special permissions to stop virues/malware etc.
2016-12-24 10:00
chatGPZ

Registered: Dec 2001
Posts: 11108
i love how this bug was not reported, ever (and yes, its a permission problem, like oziphantom said)
2016-12-24 11:09
jailbird

Registered: Dec 2001
Posts: 1576
Quoting Groepaz
i love how this bug was not reported, ever

Well I would gladly report them, only if the project wasn't using that malware-ridden SourceForge ordeal.

Anyhow...

Quoting Oziphantom
Try putting it somewhere other than Program Files, the folder has special permissions to stop virues/malware etc.

Facepalming myself for not thinking of this yet... Probably as I avoid placing executables outside Program Files, but yes, this actually helped. Thanks!
2016-12-24 12:09
chatGPZ

Registered: Dec 2001
Posts: 11108
Quote:
malware-ridden SourceForge

*facepalm*
2016-12-24 12:45
jailbird

Registered: Dec 2001
Posts: 1576
Quote: Quote:
malware-ridden SourceForge

*facepalm*


Facepalm indeed. You still living in the early 2000s?

https://en.wikipedia.org/wiki/SourceForge#Project_hijackings_an..

I know people who unwillingly installed shit on their computers thanks to SF and their petty adware injections into hosted projects. This isn't just a hearsay, they openly admitted being malicious.
Granted, it's mostly the users' fault for not being cautious enough and clicking the next button blindly, but apart of those fishy ads all over the place that looked like download buttons, the site was somewhat reputable till then, so there was no reason to be overly suspicious.

All that crap started about 2013. For a while they were even straight up hosting a malware version of FileZilla, one of the most popular FTP clients out there.

I am aware that they replaced the management and now trying to act much more transparent, but as for me, it will take a long time till they regain my trust. I avoid the site lite plague and try to find alternative download options in case a default Google search directs me there.
2016-12-24 13:09
chatGPZ

Registered: Dec 2001
Posts: 11108
good story bro

however, none of that applies to VICE (no installer sf could rape) - or even using the bug tracker.


*facepalm* indeed.
2016-12-24 13:38
jailbird

Registered: Dec 2001
Posts: 1576
Ah I see, so avoiding sites broadly known for exploiting their users is facepalm material now? My bad, it seems I didn't got the memo *sigh*

Anyhow, since WinVice works fine from non-system partitions, I guess it's not even a bug, but rather something related to Windows' UAC settings?
2016-12-24 13:45
chatGPZ

Registered: Dec 2001
Posts: 11108
its like avoiding the US because of slavery and NSA. but ok - each to his own.

and no, its clearly a bug - applications shouldnt write to the program directory, but to the user home directory.
2016-12-24 14:05
soci

Registered: Sep 2003
Posts: 473
If Windows then the one true way would be to store settings in registry and logging to event log ;) Ok, maybe not.
2016-12-24 14:08
chatGPZ

Registered: Dec 2001
Posts: 11108
whatever the windows maintainer decides to do :=)
2016-12-24 14:09
jailbird

Registered: Dec 2001
Posts: 1576
Quoting Groepaz
its like avoiding the US because of slavery and NSA. but ok - each to his own.

LOL. Well, I don't have the extra time nor the energy to clean shit smeared all over my computer, so for some reason (unusual, I know) I prefer it to stay ad- and malwareless, what the fuck this has to do with the US and slavery? :D I don't visit sites which have/had bad rep till they don't prove their trustability, as simple as that.

OK, I'll report this fucking bug. On SourceForge. Jesus.
2016-12-24 14:24
soci

Registered: Sep 2003
Posts: 473
Use the nightly builds which don't come from Sourceforge if you don't like it.

By the way Sourceforge was sold back in January and with that there were a few changes. The experimental installer "improvements" were stopped for good.
2016-12-24 14:26
chatGPZ

Registered: Dec 2001
Posts: 11108
i hate them more for their "improvements" they did to the ticket system than anything they did to installers of software i never used =P
2016-12-24 14:33
jailbird

Registered: Dec 2001
Posts: 1576
Quoting Soci
By the way Sourceforge was sold back in January and with that there were a few changes after that. The experimental installer "improvements" was stopped for good.

Yeah and apparently now they do malware scan on all the hosted stuff too, but my approach is always "better safe than sorry". I am really afraid to lose or compromise important/confidential client data. Yep I understand that may seem paranoid, but it could easily affect my life quite negatively.
2016-12-24 14:53
soci

Registered: Sep 2003
Posts: 473
I can understand that. The easiest is to have several limited virtual machines for different purposes instead of putting everything in one basket.
2016-12-24 14:56
chatGPZ

Registered: Dec 2001
Posts: 11108
i simply make backups, and dont click on everything :)
2016-12-25 21:27
Compyx

Registered: Jan 2005
Posts: 631
SF has indeed improved a lot since new management took over. All the ads are still annoying, but there seem to be browser plugins for that.

Switching to GitHub won't help either, since it looks like GitHub is having severe financial difficulties, so I expect some 'installers' appearing on GitHub before long.

And the nightlies sort of come from SF, at least the source ;)
2016-12-26 11:00
Perplex

Registered: Feb 2009
Posts: 254
Quoting Compyx

Switching to GitHub won't help either, since it looks like GitHub is having severe financial difficulties, so I expect some 'installers' appearing on GitHub before long.


Sources?
2016-12-26 11:59
jailbird

Registered: Dec 2001
Posts: 1576
Quote: Quoting Compyx

Switching to GitHub won't help either, since it looks like GitHub is having severe financial difficulties, so I expect some 'installers' appearing on GitHub before long.


Sources?


Yes, I'm interested as well as I've heard exactly the opposite. AFAIK, GitHub was always cash-flow positive, and still is. There were some internal struggles due to corporate politics, but that didn't affected their profit.
2016-12-26 12:46
Compyx

Registered: Jan 2005
Posts: 631
I think it was this article I read: https://developers.slashdot.org/story/16/12/16/1639222/building..
2016-12-26 13:13
jailbird

Registered: Dec 2001
Posts: 1576
Quote: I think it was this article I read: https://developers.slashdot.org/story/16/12/16/1639222/building..

Oh right, totally forgot about this. Concerning, but I'd take that Bloomberg article with a grain of salt:

https://medium.com/@moritzplassnig/github-is-doing-much-better-..

Anyhow, personally I rely more on BitBucket, Atlassian seems like a more mature company than GitHub anyway.
2016-12-26 13:57
Compyx

Registered: Jan 2005
Posts: 631
Thanks for that article.

It appears GitHub is doing much better than the Bloomberg article implies. I use GitHub myself for some small tools and code examples for some Codebase64 articles, but those are easily moved should shit hit the fan.

The private repositories of BitBucket sound interesting, gives me a place to host some projects before they're ready for public access.
2016-12-29 11:52
Rastah Bar

Registered: Oct 2012
Posts: 336
When I go to SID settings, I get the following error message in Windows 7

"An unexpected error occurred. Received signal 11 ()"

and Vice exits.
The log file shows:

Cannot open winio32.dll, trying direct PCI I/O access.
Cannot use direct PCI I/O access on Windows NT/2000/Server/XP/Vista/7/8/10.
Detecting libieee1284 ParSIDs.
An unexpected error occurred. Received signal 11 ().

Exiting...
Sound: Closing device `dx'

Any suggestions?
2016-12-29 12:02
chatGPZ

Registered: Dec 2001
Posts: 11108
i think its trying to say "please delete this parsid stuff noone used for a decade" =P
2016-12-30 17:32
Compyx

Registered: Jan 2005
Posts: 631
Can't produce this. When I select SID settings, nothing weird happens and I can quit VICE gracefully:

Cannot open winio32.dll, trying direct PCI I/O access.
Cannot use direct PCI I/O access on Windows NT/2000/Server/XP/Vista/7/8/10.
Detecting dll assisted PardSIDs.
Cannot open inpout32.dll.
Detecting direct I/O PardSIDs.
Cannot use direct I/O on Windows NT/2000/Server/XP/Vista/7/8/10.
Detecting ISA SSI2001 boards.
Cannot open inpout32.dll, trying direct ISA I/O access.
Cannot use direct I/O access on Windows NT/2000/Server/XP/Vista/7/8/10.
Sound: Closing device `dx'
Sound: Opened device `dx', speed 44100Hz, fragment size 2.9ms, buffer size 101ms
reSID: MOS8580, filter on, sampling rate 44100Hz - resampling, pass to 19845Hz

Exiting...
Sound: Closing device `dx'


Perhaps this has something to with parallel ports, my VM doesn't expose those.
Looks like another job for our Windows maintainer.
2019-01-08 23:35
bepp

Registered: Jun 2010
Posts: 263
Necro-posting to this old thread if someone finds it on google (like I did).

I just started to get the "Cannot startup logging system" in Win10. It turns out I had a faulty entry in the setting for LogFileName, pointing to a folder/file that did not exist. Simply removing this line from vice.ini (which is stored in %appdata%\vice\3.1\vice.ini) did the trick for me. Maybe it can help someone that stumbles upon this.
2019-01-09 01:04
Compyx

Registered: Jan 2005
Posts: 631
For VICE 3.3+ the vice config dir is in %appdata%/vice, we removed the "$major.$minor" subdir. So on my box it's C:\users\comp*x\appdata\roaming\vice.

The 'roaming' bit is currently hardcoded, if someone can explain why it's sometimes 'roaming' and sometimes 'local', or even 'LocalLow', our Windows maintainer would be much obliged :)
2019-01-09 07:27
soci

Registered: Sep 2003
Posts: 473
Use SHGetFolderPath with CSIDL_APPDATA instead of hardcoding the path within the profile directory. Or even SHGetKnownFolderPath if supporting XP is not a concern.
2019-01-09 11:22
Stryyker

Registered: Dec 2001
Posts: 465
In relation to error: lib_stralloc(NULL) not allowed

Some of the recent issues with Windows 10 can be because of winpcap being installed and not detecting network interfaces. The same can be witnessed in Wireshark. Uninstall winpcap and use npcap instead. Alternatively a vice build without ethernet
2019-01-10 17:33
Compyx

Registered: Jan 2005
Posts: 631
Quoting soci
Use SHGetFolderPath with CSIDL_APPDATA instead of hardcoding the path within the profile directory. Or even SHGetKnownFolderPath if supporting XP is not a concern.


Thanks, will check out these functions.
2019-01-10 17:48
Compyx

Registered: Jan 2005
Posts: 631
Quoting Stryyker
In relation to error: lib_stralloc(NULL) not allowed

Some of the recent issues with Windows 10 can be because of winpcap being installed and not detecting network interfaces. The same can be witnessed in Wireshark. Uninstall winpcap and use npcap instead. Alternatively a vice build without ethernet


I had some suspicions the lib_stralloc(NULL) might be coming from a failure to enumerate network adapters via winpcap.
Of course on my box any Windows update doesn't trigger any pcap errors or UAC prompts, so it's a little hard to debug on my end.
2019-01-10 19:35
Stryyker

Registered: Dec 2001
Posts: 465
I recently done a test in a fresh VM of Windows 10, 1809 as a standard users and r35878 seemed to work fine. No need to start as admin or any UAC issues.
2019-01-10 21:26
Compyx

Registered: Jan 2005
Posts: 631
Nice, and I assume this was with npcap, disabling the tick mark in the installer for 'require admin' and enabling the tick mark for 'wpcap API compatibility'?

That worked for me at least.

If so, we need to update our docs to tell people to use npcap and not wpcap.
2019-01-11 11:04
Stryyker

Registered: Dec 2001
Posts: 465
no npcap or wincap installed. I guess the VM exposes the NICs a little differently.

In a 2nd native install on a system with Realtek with Windows 10, 1809 it ran fine - no need for admin.

The 1st native install was on a system with Intel NIC using 23.5 Intel ProSet drivers using the new Windows 10 driver model.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Matt
Smasher/F4CG
Board Rider/Commodor..
E$G/hOKUtO fOrcE
Jucke
aeeben
Airwolf/F4CG
wil
Guests online: 167
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.097 sec.