LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 04-27-2005, 07:23 PM   #1
jechkaar
LQ Newbie
 
Registered: Apr 2005
Location: Québec- Canada
Distribution: Mandrake 10.1 Powerpack DVD
Posts: 1

Rep: Reputation: 0
cedega segfault mandrake 10.1 standard


EDIT : WELL problem fixed by repartitionning, reformatting and installing Mandriva 2005 le and the last nvidia 7174 driver...

as of now everything is working #1.

Thanks anyways, but this problem doesn't exit anymore in my computer.


********************************************************


This a really long post so bare with me, i already did a lot of research.....

ok this is what happened,

first off, i quite new to linux (yes another one)
I recently installer Mandrake Powerpack 10.1, on my PC.

i managed to install some program i needed, and after a while i felt like i was starting to get around...

So i decided to install cedega, to try to play Diablo 2 in linux, instead of continually switching back from linux to windows.

Everything went fine, and before i knew it i was playing diablo2 on my lan....

-----

My problem is that after a while i decided to try out Suse an got rid of my "temporary" Mandrake Install.

But i ended up not liking Suse as much as Mandrake (had issues after my installtion so i formatted and reinstalled Mandrake)

so mandrake is reinstalled, i reinstall my programs, like before, and reinstall cedega, but when i try to start anything a get this error message :

[toxic@localhost toxic]$ cedega "/mnt/win_e/Diablo II/Diablo II.exe"
/usr/bin/cedega: line 348: 4691 Segmentation fault $SHELL -c "$RUNWINE $WINVER -debugmsg $DEBUGMSG -use-dos-cwd $WORKDIR $EJECT $DT -- $COMMAND_LINE"


this is with diablo2 but i tested with any *.exe file and nothing happen except the error.

now i googled a lot in the past weeek aboiut this problem but i didnt find anything (except this maybe related to nvidia drviers ???) The only website talking about something resembling my problem, where in some obscure and unknown language (be me atleast).

So now i have a clean install of mandrake , as before and i cannot play anygame (through cedega)

Does anyone as any clue what can be the source of my problem...

as basic info, i'm running on a geforcefx 5900xt with nvidia 6111 driver, on dual screen with xinerama (as before, when it was working), i got an nforce2 ultra chipsetr on asus a7n8x mobo... 1gig ram, so definetly enough.... same files, same install...

mandrake 10.1, kernel : - 2.6.8.12 (base kernel in this distro) as nvidia 6111, preinstalled drivers... (as before)

i tryed running cedega in my session and in root, with no success. Tryed reinstalling it in different seesion, as root, anything....

oh and i also tried editing the cedega binary to see what is on line 348 (in my error msg), but line 348 is the endoffile.
-------------------------

i also tried
unset LD_PRELOAD
as suggested elsewhere
------------

The first time it was working (before i formatted) , the only difference ...


before : "/" is ext2 fs, 6 gig...
after : "/" is reiserfs, 30 gig, with 600mg swap file (same program installed, only difference is that i installed samba server, should really not matter)

still have the same video driver and everything else...

(all config files are standard, not modified, as i didnt modify them the first time y installed....)

well gonna continu looking on the net for those to error (line 348 and line 87 (error line 87 happens with cvscedega)), unfortunatly most of the webpage discussing them are in some unknow language...

----------

i tried with a lot of .exe, including notepad.exe and calc.exe, but the problem is not the exe because it gives me the same error no matter what...

my driver are installed properly, currently version 6111 (wich are preinstalled in mandrake 10.1 powerpack)

i did every test in ppoint2play, and passed them all.

direct rendering is on


------------

well, back at my place, i redid the --debugmsg

cedega --debugmsg +all "/mnt/win_c/windws/system32/calc.exe"

it gives me something like this :



[...]
a lot of debugmsg (wich seems fine)
from 001-
to 244-
[...]

244 - 0002:trace:reg:NtEnumerateValueKey (0x20,40,1,0xbfffea3c,256)
Setting the debug level to 1
0002:: boot_done() = 0
244 - 0002:trace:heap:RtlAllocateHeap (40370000,00000002,0000004c): returning 40370d50
244 - 0002:trace:reg:NtOpenKey (0x80000002,L"Software\\Wine\\Wine\\Config\\AppDefaults",f003f,0xbfffeae0)
0002:: open_key( parent=-2147483646, access=000f003f, name=L"Software\\Wine\\Wine\\Config\\AppDefaults" )
0002:: open_key() = 0 { hkey=32 }
245 - 0002:trace:reg:NtOpenKey <- 0x0020
245 - 0002:trace:heap:RtlFreeHeap (40370000,00000002,40370d50): returning TRUE
245 - 0002:trace:heap:RtlAllocateHeap (40370000,00000002,0000002c): returning 40370d50
245 - 0002:trace:reg:NtOpenKey (0x20,L"calc.exe\\TransGaming",f003f,0xbfffeadc)
0002:: open_key( parent=32, access=000f003f, name=L"calc.exe\\TransGaming" )
0002:: open_key() = OBJECT_NAME_NOT_FOUND { hkey=0 }
245 - 0002:trace:reg:NtOpenKey <- 0x0000
245 - 0002:trace:heap:RtlFreeHeap (40370000,00000002,40370d50): returning TRUE
0002:: close_handle( handle=32 )
0002:: close_handle() = 0 { fd=-1 }
246 - 0002:trace:heap:RtlAllocateHeap (40370000,00000002,00000024): returning 40370d50
246 - 0002:trace:dosfs:DOSFS_GetFullName /mnt/win_c/windws/system32/calc.exe (last=1)
246 - 0002:trace:dosfs:DRIVE_FindDriveRoot /mnt/win_c/windws -> drive G:, root='/', name='/mnt/win_c/windws/system32/calc.exe'
246 - 0002:trace:string:lstrcpynA (0xbfffe864, "/", 1024)
246 - 0002:trace:dosfs:DOSFS_FindUnixName /,mnt/win_c/windws/system32/calc.exe
246 - 0002:trace:heap:RtlAllocateHeap (40370000,00000002,0000022c): returning 40370094
246 - 0002:trace:dosfs:DOSFS_FindUnixName (/mnt,mnt/win_c/windws/system32/calc.exe) -> mnt (MNT)
246 - 0002:trace:heap:RtlFreeHeap (40370000,00000002,40370094): returning TRUE
247 - 0002:trace:dosfs:DOSFS_FindUnixName /mnt,win_c/windws/system32/calc.exe
247 - 0002:trace:heap:RtlAllocateHeap (40370000,00000002,0000022c): returning 40370094
247 - 0002:trace:dosfs:DOSFS_FindUnixName (/mnt,win_c/windws/system32/calc.exe) -> win_c (WIN_C)
247 - 0002:trace:heap:RtlFreeHeap (40370000,00000002,40370094): returning TRUE
247 - 0002:trace:dosfs:DOSFS_FindUnixName /mnt/win_c,windws/system32/calc.exe
247 - 0002:trace:heap:RtlAllocateHeap (40370000,00000002,0000022c): returning 40370094
fd server: Closing fd server[1] 9
/usr/bin/cedega: line 348: 12785 Segmentation fault $SHELL -c "$RUNWINE $WINVER -debugmsg $DEBUGMSG -use-dos-cwd $WORKDIR $EJECT $DT -- $COMMAND_LINE"
[toxic@localhost toxic]$ 0002:: *killed* exit_code=0/(nil)
fd server: exiting on revent 16
fd server: thread stopping
wineserver: Error on distributed command: 10
Server: exiting (pid=12788)
atexit destroy of semaphore

this is the debug it gives me...
i didnt post it all, because it was like 10 pages long....
but it goes all the ways to 001

ex: 247 - 0002:trace:heap:RtlAllocateHeap
where 247 downs to 001.....

hope this help you to help me :)

and so you know i did try wine (pure) and got it "working", but it is just not an option for me rigth now...

------------

Also if you can point me in a direction to what might be causing a segfault like that...?

I DID TRY A LOT OF .EXE, A LOT OF THEM (sorry every one keep asking me this)

well thats it for now, hope someone will have a clue!

Last edited by jechkaar; 05-10-2005 at 02:55 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
standard configure and Mandrake 10.1 CE FireHawk321 Linux - Software 3 11-24-2004 04:18 PM
X.org and standard Mandrake 10.1 fonts Haiyadragon Mandriva 3 07-09-2004 08:19 PM
X.org and standard Mandrake 10.1 fonts Haiyadragon Linux - General 0 07-03-2004 07:07 AM
standard or custom mandrake kernel? apberzerk Mandriva 3 10-26-2003 09:52 PM
Mandrake Standard 8.1 Karen Linux - Software 2 03-02-2002 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration