LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-27-2007, 06:39 AM   #1
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Debugging Wine - Segmentation faults during dlopen("wined3d.dll.so").


Hello!
I"ve been trying to debug some problem with Wine 0.9.39 and right now I'm stuck. It looks like calling dlopen() with a path to wined3d.dll.so causes segmentation faults, but only if environmental variable WINEDEBUG+=relay was not set.
The question is: are there callbacks or library functions that are performed automatically during dlopen (like a Windows DLLMain() equivalent)? Because the only explanation of this bug I can imagine is a problem with one of those functions. And what are the ways to debug this kind of problems? I've tried strace, but it doesn't show anything useful or suspicious (logs can be found here). If it is a system bug (Slackware 11) then I do not understand why it appears only if WINEDEBUG doesn't contain "relay" channel mention.
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
not getting "core" file after segmentation faults hedpe Programming 2 01-17-2006 08:10 AM
Segmentation Faults with "ls" and "mount" Mark007 Slackware 11 03-02-2005 09:45 AM
Error: "A required .DLL file, CYGPCRE -0.DLL, was not found" when using man dipperdan Linux - Newbie 2 04-28-2004 03:55 PM
wine and "Segmentation fault" jaan kaer Linux - Newbie 3 11-24-2003 04:21 PM
wine "segmentation fault" error Anarchist Linux - Software 6 11-18-2003 05:29 AM


All times are GMT -5. The time now is 05:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration