Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 06-27-2007, 07:39 AM   #1
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("").

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 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.


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

All times are GMT -5. The time now is 07:18 PM.

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