Lyrik Project Forum

 
Please login or register.

Author Topic: A sudden crash on some songs on Vista  (Read 750 times)

DXMan

  • Jr. Member
  • **
  • Posts: 15
  • Karma: 1
    • View Profile
A sudden crash on some songs on Vista
« on: November 08, 2008, 06:29:31 PM »
When I start some songs like Sad But True or Easier to Run, Lyrik crashes and a balloon appears near the clock showing that dep closed the program, so i made the following:
1- Open run-> sysdm.cpl
2- on the advanced tab click performance settings
3- on the data execution prevention tab choose "Turn on DEP for all programs and services except those I select:"
4- click Add button and select lyrik.exe and winamp.exe
It worked for me... ;)

Magus

  • Administrator
  • Hero Member
  • *****
  • Posts: 120
  • Karma: 4
    • View Profile
    • Lyrik Project
Re: A sudden crash on some songs on Vista
« Reply #1 on: November 09, 2008, 09:16:19 PM »
Really strange... I tried to crash it by 'Easier to Run' music (it is Linkin Park?) but nothing (I'm on Vista u 64)

Did you noticed if Lyrik wrote a log file? (C:\Program Files\Lyrik\LyrikError.log) If so, post it here  ;)

DXMan

  • Jr. Member
  • **
  • Posts: 15
  • Karma: 1
    • View Profile
Re: A sudden crash on some songs on Vista
« Reply #2 on: November 10, 2008, 07:06:58 PM »
I think it happenned on my machine CUZ i was already turned on DEP (choosen second choice in that tab).

Magus

  • Administrator
  • Hero Member
  • *****
  • Posts: 120
  • Karma: 4
    • View Profile
    • Lyrik Project
Re: A sudden crash on some songs on Vista
« Reply #3 on: November 11, 2008, 04:48:47 AM »
Yes, you're right. I turned on DEP for all programs and tried to play that song again, lyrik got crashed  ::)

But I already knows why: I'm using an ASM algorithm injection for faster bitwise (yes, visualbasic sucks in bitwise, simple doesn't have shift-left, shift-right...). There is another way to do that (with pure math) but it's slowly and experimental. I use bitwise for UTF-8 to Unicode (wide-string) conversions, thats explains why just some songs got crash.

I turned off ASM and used math, worked fine. So I'll work harder to pure math (sometimes overflows happens...) and add a option to use just math.

Tkz for your bug report  :)

 

Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
ModernDark64 design by BlocWeb