Re: Need help with debugging a directx9 game crashing

2013-07-25 Thread Ken Thomases
On Jul 25, 2013, at 2:11 PM, Qian Hong wrote: > On Fri, Jul 26, 2013 at 2:52 AM, Ken Thomases wrote: >> I think your Valgrind results are telling us that there's a bug in the game >> where it's using an uninitialized stack variable. >> >> There's still a chance that it's something in Wine that'

Re: Need help with debugging a directx9 game crashing

2013-07-25 Thread Qian Hong
On Fri, Jul 26, 2013 at 2:52 AM, Ken Thomases wrote: > I think your Valgrind results are telling us that there's a bug in the game > where it's using an uninitialized stack variable. > > There's still a chance that it's something in Wine that's using the > uninitialized variable and passing a ga

Re: Need help with debugging a directx9 game crashing

2013-07-25 Thread Ken Thomases
Hi Qian, On Jul 25, 2013, at 11:53 AM, Qian Hong wrote: > On Thu, Jul 25, 2013 at 2:33 AM, Ken Thomases wrote: >> Hmm. You may need to mark the dummy array as volatile to prevent it from >> being optimized away. Worth trying. You might also increase the size of >> the array. > > You are ri

Re: Need help with debugging a directx9 game crashing

2013-07-25 Thread Qian Hong
Hi Ken, On Thu, Jul 25, 2013 at 2:33 AM, Ken Thomases wrote: > Hmm. You may need to mark the dummy array as volatile to prevent it from > being optimized away. Worth trying. You might also increase the size of the > array. You are right, thanks! Increasing the size of the array helps, the m

Re: Need help with debugging a directx9 game crashing

2013-07-24 Thread Ken Thomases
On Jul 24, 2013, at 12:49 PM, Qian Hong wrote: > Hi Ken, > > On Sun, Jul 21, 2013 at 2:39 PM, Ken Thomases wrote: >> Instead of enabling the trace, try replacing it with something like: >> >>char dummy[256]; >>memset(dummy, 0x55, sizeof(dummy)); >> >> I bet the crash will change from a

Re: Need help with debugging a directx9 game crashing

2013-07-24 Thread Qian Hong
Hi Ken, On Sun, Jul 21, 2013 at 2:39 PM, Ken Thomases wrote: > Instead of enabling the trace, try replacing it with something like: > > char dummy[256]; > memset(dummy, 0x55, sizeof(dummy)); > > I bet the crash will change from a read access to 0x0001 to 0x. > Thanks for the

Re: Need help with debugging a directx9 game crashing

2013-07-24 Thread Qian Hong
On Sat, Jul 20, 2013 at 2:21 AM, Marcus Meissner wrote: > Or timing ... Also can you print out refcount there to see if the refcounting > is good? Thanks Marcus, yes, I tried replace the TRACE to printf, to my surprise, the magic disappear. In other words, if I replace the TRACE in d3d9_AddRef t

Re: Need help with debugging a directx9 game crashing

2013-07-24 Thread Qian Hong
Hello, Thanks everyone's help, sorry for delay, I was blocked by something else. I've created http://bugs.winehq.org/show_bug.cgi?id=34125 to track down this bug. On Fri, Jul 19, 2013 at 10:06 PM, Henri Verbeet wrote: > Well, it sounds a bit like some form of memory corruption. Sometimes > WINED

Re: Need help with debugging a directx9 game crashing

2013-07-20 Thread Ken Thomases
On Jul 19, 2013, at 8:34 AM, Qian Hong wrote: > I was debugging on a popular game [1] [2] (9 GB), it crashes on start. > > +relay,+seh,+tid log show that there are some calls to > wined3d.wined3d_mutex_lock / wined3d.wined3d_buffer_map / > wined3d.wined3d_mutex_unlock before cras

Re: Need help with debugging a directx9 game crashing

2013-07-19 Thread Marcus Meissner
On Fri, Jul 19, 2013 at 04:06:56PM +0200, Henri Verbeet wrote: > On 19 July 2013 15:34, Qian Hong wrote: > > Further tests show that the simplest hack to avoid crashing is > > replacing line 71 to: > > FIXME("anything %x\n", 0xdeadbeef); > > > > I have no idea what the real fix is, any suggestion

Re: Need help with debugging a directx9 game crashing

2013-07-19 Thread Henri Verbeet
On 19 July 2013 15:34, Qian Hong wrote: > Further tests show that the simplest hack to avoid crashing is > replacing line 71 to: > FIXME("anything %x\n", 0xdeadbeef); > > I have no idea what the real fix is, any suggestion what is the next > step to debug? > Well, it sounds a bit like some form of

Need help with debugging a directx9 game crashing

2013-07-19 Thread Qian Hong
Hello, I was debugging on a popular game [1] [2] (9 GB), it crashes on start. +relay,+seh,+tid log show that there are some calls to wined3d.wined3d_mutex_lock / wined3d.wined3d_buffer_map / wined3d.wined3d_mutex_unlock before crashing, so I turn on +d3d9 trace to get a new log in details. To

Re: d3dx9: Specify arguments in trace to ease debugging

2013-02-15 Thread Alexandre Julliard
Nozomi Kodama writes: > Hello. > > I took advantage of this minor patch to clean up and  make uniform the > coding style of this file. Please don't do that. -- Alexandre Julliard julli...@winehq.org

Re: d3dx9: Specify arguments in trace to ease debugging

2013-02-15 Thread Rico Schüller
On 15.02.2013 08:20, Nozomi Kodama wrote: @@ -721,9 +739,10 @@ D3DXMATRIX* WINAPI D3DXMatrixTransformation(D3DXMATRIX *pout, const D3DXVECTOR3 @@ -797,69 +821,70 @@ D3DXMATRIX* WINAPI D3DXMatrixTransformation2D(D3DXMATRIX *pout, const D3DXVECTOR Those two functions need a speed improvement. No

Re: Debugging and steam

2013-02-10 Thread Henri Verbeet
n, please enlighten me. > Thank You in advance! > There are some tricks you can do to limit what executables you turn debugging on for, or to e.g. dump the output to separate files. You'll mostly want to look at debug_init() in libs/wine/debug.c. If this is a simple crash though, perhap

Debugging and steam

2013-02-10 Thread Gediminas Jakutis
Good day! Does anyone has any experience on dealing with Steam when debugging a game which depends on Steam? I am trying to squash a bug which makes a game crash. I started from relay logs, but have a bit of a problem - calls from Steam itself produce a few megabytes worth of relay logs every

Question on debugging wineboot..

2012-11-11 Thread Roger Cruz
What is the proper way to debug wineboot and services.exe in order to find out what is causing the error outputted by wineserver below? err:wineboot:start_services_process Couldn't start services.exe: error 1359 wine: failed to update /winearm/winehome with /winearm/bin/../share/wine/wine.inf:

Re: Debugging wine/windows applications

2012-07-07 Thread John Yani
Actually, to enable attach, I had to make ptrace more permissive: https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace_Protection by doing "echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" To run it under eclipse I had to choose Traditional Attach to process instead of DSF. On

Re: Debugging wine/windows applications

2012-07-07 Thread John Yani
Attach works. Thanks!

Re: Debugging wine/windows applications

2012-07-07 Thread John Yani
So, you didn't try to build wine? Installed wine also works for me.

Re: Debugging wine/windows applications

2012-07-07 Thread Marcus Meissner
On Sat, Jul 07, 2012 at 01:25:12PM +0300, John Yani wrote: > I tried "WINELOADER=./wine winedbg --gdb notepad" > > And its output is the same as "./wine winedbg --gdb notepad" Well, i have a installed wine... but doing this there: wine winedbg.exe --gdb notepad.exe 0042:0043: create process 'C

Re: Debugging wine/windows applications

2012-07-07 Thread John Yani
Maybe it's because I'm building on chrooted Ubuntu x32 and run on Ubuntu x64?

Re: Debugging wine/windows applications

2012-07-07 Thread John Yani
I tried "WINELOADER=./wine winedbg --gdb notepad" And its output is the same as "./wine winedbg --gdb notepad"

Re: Debugging wine/windows applications

2012-07-07 Thread John Yani
Unfortunately, it doesn't work: ./wine winedbg --gdb notepad.exe err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\notepad.exe" failed, status c022 0023:0024: create process ''/0x1106c0 @0x7ebe233c (0<0>) fixme:dbghelp:EnumerateLoadedModulesW64 If this happens,

Re: Debugging wine/windows applications

2012-07-07 Thread Marcus Meissner
On Sat, Jul 07, 2012 at 01:11:42PM +0300, John Yani wrote: > Did you mean './wine winedbg --gdb notepad'? Because I can't find winedbg > binary. This would be the same. There usually is a "winedbg" wrapper installed that does the same, but for all purposes its the same thing. Ciao, Marcus

Re: Debugging wine/windows applications

2012-07-07 Thread John Yani
Did you mean './wine winedbg --gdb notepad'? Because I can't find winedbg binary.

Re: Debugging wine/windows applications

2012-07-06 Thread Marcus Meissner
On Sat, Jul 07, 2012 at 12:17:00AM +0300, John Yani wrote: > I tried to run wine under gdb and failed. Using multiprocess gdb I > endup with weird trace: > > 0xf7ffd430 > 0x7bc846f9 > 0x7bc8480f > 0x7bc84855 > 0x7bc42a94 > 0x7bc433b1 > 0x7b8772f7 > 0x7ebab89b > 0x7b

Debugging wine/windows applications

2012-07-06 Thread John Yani
I tried to run wine under gdb and failed. Using multiprocess gdb I endup with weird trace: 0xf7ffd430 0x7bc846f9 0x7bc8480f 0x7bc84855 0x7bc42a94 0x7bc433b1 0x7b8772f7 0x7ebab89b 0x7bc80014 0x7bc8005d Where 0x7** addresses are not co

Debugging WINE 1.3.24 with GDB

2012-02-29 Thread louis
e big picture is that I'd like to get an IDE such as QtCreator or KDevelop to work debugging a WINE application. Any way that is possible would be a good solution for me; it doesn't necessarily have to be through GDB if there's another way. Thanks for your help in advance! -Louis

Re: [SOLVED] Debugging Wine with Lightroom 3.5

2012-01-18 Thread Joris Huizer
On 01/18/2012 10:10 PM, Roland Baudin wrote: You can find the attached complete patch against wine 1.3.35. Hello Roland, Please send patches to wine-patches. Unless you are asking for feedback? HTH, Joris

Re: [SOLVED] Debugging Wine with Lightroom 3.5

2012-01-18 Thread Roland Baudin
Hi, I finally solved the menubar issue (menubar not shown in Lightroom 3.x when Windows version is set to Windows XP or below). I used a mix of the following patches : - http://source.winehq.org/patches/data/67089 from Andrew Eikum (GetMenuBarInfo() partial implementation) - http://www.win

Re: Debugging Wine with Lightroom 3.5

2011-12-21 Thread roland65
OK, thanks for your help. I'll try this when I'll be back to home. RB - Mail original - De: "Frédéric Delanoy" À: rolan...@free.fr Cc: "Juan Lang" , wine-devel@winehq.org Envoyé: Mardi 20 Décembre 2011 12:28:57 Objet: Re: Debugging Wine with Lightroom 3.5

Re: Debugging Wine with Lightroom 3.5

2011-12-20 Thread Frédéric Delanoy
On Tue, Dec 20, 2011 at 10:04, wrote: > > Yes, I'm that kind of person (I'm the developer of Xfe and TexMaths) but I've > seen the +relay logs logs and they are indeed very huge, even for me! > RB What you can do to reduce/manage the log size: 1. Launch any application (without logging), e.g. n

Re: Debugging Wine with Lightroom 3.5

2011-12-20 Thread roland65
Dimanche 18 Décembre 2011 16:15:49 Objet: Re: Debugging Wine with Lightroom 3.5 Hi Roland, On Sun, Dec 18, 2011 at 6:46 AM, Roland Baudin wrote: > Yes, I suspected such a mechanism. Now if I understand well I have to find > which one is the "builtin mechanism" and which one is the "

Re: Debugging Wine with Lightroom 3.5

2011-12-18 Thread Juan Lang
Hi Roland, On Sun, Dec 18, 2011 at 6:46 AM, Roland Baudin wrote: > Yes, I suspected such a mechanism. Now if I understand well I have to find > which one is the "builtin mechanism" and which one is the "fallback > mechanism". > Is there some documentation around about the differences between Vist

Re: Debugging Wine with Lightroom 3.5

2011-12-18 Thread Roland Baudin
Yes, I suspected such a mechanism. Now if I understand well I have to find which one is the "builtin mechanism" and which one is the "fallback mechanism". Is there some documentation around about the differences between Vista and XP? Anyway, thanks for your help... RB Le 18/12/2011 13:40, Jo

Re: Debugging Wine with Lightroom 3.5

2011-12-18 Thread Joris Huizer
Replying, also including the wine-devel list, On 12/17/2011 05:15 PM, Roland Baudin wrote: Hi, thanks for the answer. What do you mean by "a different execution path"? RB The application might decide to execute different code given the Vista settings. It may have a preferred execution path u

Re: Debugging Wine with Lightroom 3.5

2011-12-17 Thread Joris Huizer
It's possible the application is choosing a different execution path, using Vista-specific features. This could be an explanation for the differences you are seeing. HTH, Joris

Debugging Wine with Lightroom 3.5

2011-12-13 Thread Roland Baudin
ng I suspect the problem is in the user32.dll and perhaps the DrawMenuBar implementation but I'm not sure... Any help (at least some clue to start debugging) would be greatly appreciated. Thanks, RB -- X File Explorer http://roland65.free.fr/xfe Toutes Choses http://roland65.free.fr/ttc

re: mscoree: Add .Net debugging interfaces

2011-09-19 Thread Dan Kegel
Doesn't apply here: $ wget http://source.winehq.org/patches/data/79041 $ git reset --hard origin $ patch -p1 < 79041 patching file include/Makefile.in patching file include/cordebug.idl patch: malformed patch at line 998: -- $ git reset --hard origin $ git apply 79041 79041:99: trailing whit

Re: How to do single-step debugging while testing?

2011-06-24 Thread Michael Mc Donnell
alhost:57380" in ddd's command line and it connects. But how do I >>> attach the source code and so on (I'm use to debugging in Eclipse and >>> VS)? >> I'm not sure about that, I never used any graphical debuggers with Wine. But >> gdb(and winedbg) al

Re: How to do single-step debugging while testing?

2011-06-24 Thread Michael Mc Donnell
On Fri, Jun 24, 2011 at 3:55 PM, Henri Verbeet wrote: > On 24 June 2011 15:24, Michael Mc Donnell wrote: >> I can set a break point at test_convert_point_reps_to_adjacency (my >> new test) and it stops there. I can also set a break point for >> ID3DXMeshImpl_ConvertPointRepsToAdjacency but it jus

Re: How to do single-step debugging while testing?

2011-06-24 Thread Henri Verbeet
On 24 June 2011 15:24, Michael Mc Donnell wrote: > I can set a break point at test_convert_point_reps_to_adjacency (my > new test) and it stops there. I can also set a break point for > ID3DXMeshImpl_ConvertPointRepsToAdjacency but it just goes past it. > > Here are the commands I used: > b test_c

Re: How to do single-step debugging while testing?

2011-06-24 Thread Michael Mc Donnell
gt; attach the source code and so on (I'm use to debugging in Eclipse and >> VS)? > I'm not sure about that, I never used any graphical debuggers with Wine. But > gdb(and winedbg) always found the Wine source, my assumption was that the path > to it is stored in the binaries

Re: How to do single-step debugging while testing?

2011-06-24 Thread Stefan Dösinger
On Friday 24 June 2011 14:44:10 Michael Mc Donnell wrote: > Now I want to connect my graphical debugger. I enter "target remote > localhost:57380" in ddd's command line and it connects. But how do I > attach the source code and so on (I'm use to debugging in Eclipse

Re: How to do single-step debugging while testing?

2011-06-24 Thread Michael Mc Donnell
what port to connect on. Something like: target remote localhost:57380 Now I want to connect my graphical debugger. I enter "target remote localhost:57380" in ddd's command line and it connects. But how do I attach the source code and so on (I'm use to debugging in Eclipse and VS)?

Re: How to do single-step debugging while testing?

2011-06-24 Thread Stefan Dösinger
On Friday 24 June 2011 11:53:22 Michael Mc Donnell wrote: > $ ../../../tools/runtest name_of_test > > Is there a way to run the test in a debugger, so that I can single > step through the functions that the test calls? ../../../wine winedbg foo_test.exe.so should work. signature.asc Description:

How to do single-step debugging while testing?

2011-06-24 Thread Michael Mc Donnell
Hi I'm trying to figure out how to single step through the code. I've looked at the winedbg and gdb information on winehq, but still can't figure out what to do. I normally run tests by issuing: $ ../../../tools/runtest name_of_test Is there a way to run the test in a debugger, so that I can sin

Re: D3D performance debugging report

2011-05-02 Thread Henri Verbeet
her point, what about how we handle offscreen buffers? All FBO etc etc? > Most of it really does come down to careful debugging / benchmarking, I'm afraid. There's plenty of speculation, but at some point someone just has to do the actual work. > If I remember correctly someone was worki

Re: D3D performance debugging report

2011-05-02 Thread Emanuele Oriani
Hi, let me agree with you... probably there might be one or two fixes somewhere which will make performance go better, but apparently the idea is that now, if "early optimization is the root of all evils" was true a while a go, I guess we're at a place where all the small optimizations should t

Re: D3D performance debugging report

2011-05-01 Thread Stefan Dösinger
On Sunday 01 May 2011 14:34:53 Emanuele Oriani wrote: > Indeed, I've written a spinlock with GCC extension and replaced the > EnterCriticalSection in the x11 drv file. > Apart that the lock has got to be recursive, so I implemented a quick > (but incorrect) recursive spinlock for the purpose of run

Re: D3D performance debugging report

2011-05-01 Thread Emanuele Oriani
Indeed, I've written a spinlock with GCC extension and replaced the EnterCriticalSection in the x11 drv file. Apart that the lock has got to be recursive, so I implemented a quick (but incorrect) recursive spinlock for the purpose of running SC2 and difference was barely negligible. The biggest

Re: D3D performance debugging report

2011-05-01 Thread Stefan Dösinger
On Saturday 30 April 2011 18:26:04 Emanuele Oriani wrote: > Hi Stefan, > > What do you think about using inline spinlocks (in asm code maybe) to > implement locks? > Clearly an optimized spinlock would mean different code for different > compilers/architectures, but shouldn't it be the best soluti

Re: D3D performance debugging report

2011-04-30 Thread Stefan Dösinger
On Saturday 30 April 2011 17:18:54 Stefan Dösinger wrote: > 9-11) Distributor / End use choice. Note that some compiler > flags(especially the framepointer one) can break apps and copy protection > systems. Forget about -O3. I can't get any Windows game working with that. Apparently I am already l

Re: D3D performance debugging report

2011-04-30 Thread Emanuele Oriani
Hi Stefan, What do you think about using inline spinlocks (in asm code maybe) to implement locks? Clearly an optimized spinlock would mean different code for different compilers/architectures, but shouldn't it be the best solution? For your reference, once I commented out the GL locks to see St

Re: D3D performance debugging report

2011-04-30 Thread Stefan Dösinger
Hi, Here's another update. First I expanded my performance tests at https://84.112.174.163/~git/perftest a bit. The old tests were renamned to streamsrc_d3d and streamsrc_gl, and I added another set of tests that just tests the draw overhead without ever changing any states: drawprim_d3d and dr

D3D performance debugging report

2011-04-27 Thread Stefan Dösinger
Hi, I spent a few hours debugging wined3d performance today. No, I found no magic fix for the slowness, just some semi-usable data. First I wrote a hacky patch to avoid redundant FBO applications. This gave a tiny, tiny performance increase, see http://www.winehq.org/pipermail/wine- devel/2011

Re: Missing backtrace when debugging a game

2011-04-23 Thread Eric Pouech
Le 23/04/2011 11:34, Jerome Leclanche a écrit : I'm currently trying to debug http://bugs.winehq.org/show_bug.cgi?id=25977. Even when running "winedbg bin/release/loader.exe", this is what happens: Unhandled exception: page fault on read access to 0x in 32-bit code (0x00365327). Registe

Re: Missing backtrace when debugging a game

2011-04-23 Thread Stefan Dösinger
ou may have more luck with gdb. On OSX this sometimes gives more helpful output. But I am afraid you'll need other debugging techniques like logfiles. -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) iQIcBAEBAgAGBQJNsqKRAAoJEN0/YqbEcdMwjHIP+wZc/5gVsQ/a7NpNHu4w0bcm u7ZB

Missing backtrace when debugging a game

2011-04-23 Thread Jerome Leclanche
I'm currently trying to debug http://bugs.winehq.org/show_bug.cgi?id=25977. Even when running "winedbg bin/release/loader.exe", this is what happens: Unhandled exception: page fault on read access to 0x in 32-bit code (0x00365327). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 G

Re: debugging wine itself with GDB

2011-04-13 Thread Eric Pouech
Le 12/04/2011 22:50, joed...@winedev1.nospam.homeip.net a écrit : I was taking a look at http://wiki.jswindle.com/index.php/Debugging_Wine to see how to debug wine with gdb, and there was reference to starting up gdb using wine-pthread, but I see no such executable now. I can attach gdb after i

debugging wine itself with GDB

2011-04-12 Thread joedude
I was taking a look at http://wiki.jswindle.com/index.php/Debugging_Wine to see how to debug wine with gdb, and there was reference to starting up gdb using wine-pthread, but I see no such executable now. I can attach gdb after it starts to run, but then do not get all the symbol information.

Re: ntdll: Increase buffer size for debugging functions

2011-02-09 Thread Alexandre Julliard
Maarten Lankhorst writes: > Since warn+debugstr takes user data increase and basically does > WARN("%s\n", msg); the buffer size is too small, increasing the size > makes the lord of the rings online launcher print messages to WARN > without crashing That's just hiding the bug. -- Alexandre Ju

Re: 64bit debugging or 32/64bit wine coexistence?

2011-01-15 Thread André Hentschel
= 1.3.10-1.fc14 for package: > wine-1.3.10-1.fc14.i686 > --> Running transaction check > ---> Package wine-wow.i686 0:1.3.10-1.fc14 set to be installed > --> Processing Conflict: wine-1.3.10-1.fc14.x86_64 conflicts wine-wow(x86-32) > = 1.3.10-1.fc14 > --> Finished D

64bit debugging or 32/64bit wine coexistence?

2011-01-14 Thread Geoff Hart
3.10-1.fc14 set to be installed --> Processing Conflict: wine-1.3.10-1.fc14.x86_64 conflicts wine-wow(x86-32) = 1.3.10-1.fc14 --> Finished Dependency Resolution Error: wine conflicts with wine-wow To me this suggests that wine.i686 is exclusively for 32bit, which I'm hesitant use (I'd l

Re: Debugging 64-bit Wine Apps with winedbg

2010-10-08 Thread Eric Pouech
Le 24/09/2010 05:12, Peter Urbanec a écrit : On 24/09/10 06:43, Eric Pouech wrote: sure send me the .exe+pdb (+source) I'll have a look at it Source and binaries sent to Eric in private, so that the list isn't polluted with megabytes of binaries. If anyone else is interested in having a co

Re: Debugging 64-bit Wine Apps with winedbg

2010-09-23 Thread Peter Urbanec
On 24/09/10 06:43, Eric Pouech wrote: sure send me the .exe+pdb (+source) I'll have a look at it Source and binaries sent to Eric in private, so that the list isn't polluted with megabytes of binaries. If anyone else is interested in having a copy, please let me know and I'll forward it in p

Re: Debugging 64-bit Wine Apps with winedbg

2010-09-23 Thread Eric Pouech
I'm happy to provide test source code, 64-bit and 32-bit binaries and matching PDB files, if anyone is interested in looking at the issue. sure send me the .exe+pdb (+source) I'll have a look at it I only tested winedbg on 64bit with gcc A+ -- Eric Pouech "The problem with designing something

RE: Debugging 64-bit Wine Apps with winedbg

2010-09-23 Thread Tom Grubbe
lto:winehq@urbanec.net] Sent: Thursday, September 23, 2010 10:05 AM To: wine-devel@winehq.org Subject: Re: Debugging 64-bit Wine Apps with winedbg On 23/09/10 06:51, Tom Grubbe wrote: > problem seems to be getting any kind of stack trace information from > the 64-bit winedbg. This used t

Re: Debugging 64-bit Wine Apps with winedbg

2010-09-23 Thread Peter Urbanec
t Wine applications is welcome I would also like to hear any tips for debugging under wine64. I'm finding that even the minidump files produced by wine64 are not much use in VS2005 or VS2008. At least the minidumps from wine32 can provide a little bit of info when loaded into VS2008 debug

Re: Debugging 64-bit Wine Apps with winedbg

2010-09-23 Thread GOUJON Alexandre
Hi, I'm not a winedbg expert but I think your mis-using it. As it's your software, you can compile it from source and add debug info. I know Visual Studio can create .pdb files but I don't know if winedbg can use it. Personally, I'm using gcc mingw with -g and that perfectly works. The easies

Debugging 64-bit Wine Apps with winedbg

2010-09-22 Thread Tom Grubbe
Hello, we're the developers of a large 64-bit Windows application that uses Wine 1.3.0 64-bit on Linux. When testing began we discovered several crashes inside our windows code on startup and needed to debug them. But the problem seems to be getting any kind of stack trace information from the

Any recommendations on 64-bit debugging tools?

2010-09-21 Thread Ben Parker
For those of you who have developed 64-bit apps with wine, I'd like to ask what debugging tools and techniques you found most effective in that environment. Anyone have good luck with the 64-bit winedbg or remote debugging using Visual Studio? Thanks, Ben Parker ESRI

Re: GDB debugging on ARM

2010-08-04 Thread Dylan Smith
2010/8/4 André Hentschel > Hi, > what is the best/easiest/fastest way to hack Wine so it does not start > winedbg and i can debug it with gdb? > my problem is that my WineARM works so far that it tries to run winedbg and > uses its own handlers. but i want that not to happen > of course it crashe

GDB debugging on ARM

2010-08-04 Thread André Hentschel
Hi, what is the best/easiest/fastest way to hack Wine so it does not start winedbg and i can debug it with gdb? my problem is that my WineARM works so far that it tries to run winedbg and uses its own handlers. but i want that not to happen of course it crashes somewhere and then tries to start w

Multithreaded debugging

2009-11-09 Thread Peter Urbanec
Eric Pouech wrote: Peter Urbanec a écrit : It can't be as simple as updating the value of dbg_curr_thread with the result of dbg_get_thread(dbg_curr_process, tid) and then calling GetThreadContext(dbg_curr_thread->handle, &dbg_context), can it? the changes will need to be larger than that wi

Re: Debugging Xfire: need help

2009-10-18 Thread Stefan Dösinger
Am 18.10.2009 um 16:24 schrieb Warren Dumortier: I don't think it's worth to be tested, because if Xfire doesn't crash (simply by not interacting with it) games are detected. However i will try it, who knows! ;) An easier way to test is probably to disable Xfire In-Game, if you find out how

Re: Debugging Xfire: need help

2009-10-18 Thread Stefan Dösinger
Am 18.10.2009 um 15:02 schrieb Warren Dumortier: Xfire was working until version 1.104, but since then it crashed on every Wine version, so the Xfire update broke it under Wine. Here's the problem: Xfire crashes every time you interact with it's GUI, well most of the time... When using the

Debugging Xfire: need help

2009-10-18 Thread Warren Dumortier
Xfire was working until version 1.104, but since then it crashed on every Wine version, so the Xfire update broke it under Wine. Here's the problem: Xfire crashes every time you interact with it's GUI, well most of the time... When using the keyboard it crashes sometimes, but when using the mouse

Re: Debugging tools

2009-08-10 Thread Alex Dermenakis
> I just would try to use Kdevelop, but i dont know if it will work. > Actually KDevelop works. I created a new empty project and Imported the whole git repository and I chose to use wine's custom MakeFile and configure files. I'm not able though to start the debug properly but I'm working on it.

Re: Debugging tools

2009-08-10 Thread André Hentschel
Alexandros Dermenakis schrieb: Hi, I would like some help about which tools to use for editing code, searching through the source files etc. also, is there a way to import all the source code in Kdevelop? thanks I mostly edit the files with Geany(geany.org), but thats a matter of taste.

Re: Debugging tools

2009-08-09 Thread Austin English
On Sun, Aug 9, 2009 at 10:50 PM, Alexandros Dermenakis wrote: > Hi, > > I would like some help about which tools to use for editing code, searching > through the source files etc. also, is there a way to import all the source > code in Kdevelop? To get the source: http://wiki.winehq.org/GitWine f

Debugging tools

2009-08-09 Thread Alexandros Dermenakis
Hi, I would like some help about which tools to use for editing code, searching through the source files etc. also, is there a way to import all the source code in Kdevelop? thanks

GUI debugging

2009-05-07 Thread Benoit SCHWINDEN
Hello, I am trying to make a very special application working with Wine 1.1.20 (Loris, from Ever Ezida, a library management software). Almost everything is functionnal, but there is a little graphical bug with some texfields. Also, I would like to know if there are some ways to debug a GUI, espec

GUI debugging

2009-05-07 Thread Benoit SCHWINDEN
Hello, I am trying to make a very special application working with Wine 1.1.20 (Loris, from Ever Ezida, a library management software). Almost everything is functionnal, but there is a little graphical bug with some texfields. Also, I would like to know if there are some ways to debug a GUI, espec

GUI debugging

2009-05-05 Thread Benoit SCHWINDEN
Reece Dunn a écrit : > 2009/5/5 Austin English : > >> On Tue, May 5, 2009 at 2:13 AM, Benoit SCHWINDEN >> wrote: >> >>> Hello, >>> >>> I am trying to make a very special application working with Wine 1.1.20 >>> (Loris, from Ever Ezida, a library management software). Almost >>> everything

Re: GUI debugging

2009-05-05 Thread Benoit SCHWINDEN
Austin English a écrit : > On Tue, May 5, 2009 at 2:13 AM, Benoit SCHWINDEN > wrote: > >> Hello, >> >> I am trying to make a very special application working with Wine 1.1.20 >> (Loris, from Ever Ezida, a library management software). Almost >> everything is functionnal, but there is a little g

Re: GUI debugging

2009-05-05 Thread Reece Dunn
2009/5/5 Austin English : > On Tue, May 5, 2009 at 2:13 AM, Benoit SCHWINDEN > wrote: >> Hello, >> >> I am trying to make a very special application working with Wine 1.1.20 >> (Loris, from Ever Ezida, a library management software). Almost >> everything is functionnal, but there is a little graph

Re: GUI debugging

2009-05-05 Thread Austin English
On Tue, May 5, 2009 at 2:13 AM, Benoit SCHWINDEN wrote: > Hello, > > I am trying to make a very special application working with Wine 1.1.20 > (Loris, from Ever Ezida, a library management software). Almost > everything is functionnal, but there is a little graphical bug with some > texfields. Als

GUI debugging

2009-05-05 Thread Benoit SCHWINDEN
Hello, I am trying to make a very special application working with Wine 1.1.20 (Loris, from Ever Ezida, a library management software). Almost everything is functionnal, but there is a little graphical bug with some texfields. Also, I would like to know if there are some ways to debug a GUI, espec

Re: crypt32(1/4): Add chain debugging channel for debugging certificate chaining errors

2009-02-11 Thread Alexandre Julliard
Juan Lang writes: > +static void dump_element(PCCERT_CONTEXT cert) > +{ > +LPWSTR name = NULL; > +DWORD len, i; > + > +TRACE_(chain)("%p\n", cert); > +len = CertGetNameStringW(cert, CERT_NAME_SIMPLE_DISPLAY_TYPE, > + CERT_NAME_ISSUER_FLAG, NULL, NULL, 0); > +name = CryptMe

Re: msi: improve a debugging message

2008-12-15 Thread James Hawkins
On Mon, Dec 15, 2008 at 1:15 PM, Austin English wrote: > -- > -Austin > Are you adding this because you've been debugging the msi db code? Knowing the row number that we failed to insert is not helpful. In most cases, this message is harmless and should be a warn or removed comp

Additional debugging thoughts...

2008-10-09 Thread Chris Ahrendt
So Sitting on the airplane I was thinking of additional clarifications on debugging. Again these are just some ideas... So lets look at an exception: What I am talking about when more descriptive is this : Since we know from other parts where the read is done.. why not dump the line of code

Re: Debugging Wine thoughts

2008-09-11 Thread Markus Hitter
r:$cwd (gdb) ** Then, run the app (gdb) run windows/notepad.exe Starting program: /usr/local/bin/wine windows/notepad.exe [Thread debugging using libthread_db enabled] [New Thread 0xf7c628c0 (LWP 793)] [New Thread 0xf7c61b90 (LWP 796)] [Thread 0xf7c61b90 (LWP 796) exited] [New process 793] Execut

Re: Debugging Wine thoughts

2008-09-10 Thread Chris Robinson
On Wednesday 10 September 2008 10:44:09 pm Damjan Jovanovic wrote: > For example applications don't expect to see pointers into the upper > 1-2 GB of the 4 GB virtual memory address space because on Windows the > kernel's memory is mapped there. But, ld-linux.so.2 could load > libraries there, incl

Re: Debugging Wine thoughts

2008-09-10 Thread Damjan Jovanovic
On Wed, Sep 10, 2008 at 8:17 PM, <[EMAIL PROTECTED]> wrote: > Question : > Why does wine have to allocate all its memory at startup? re... the issue > that is causing the ATI drivers to have such > a fuss why not just allocate as needed? or have the ability (if its not > there already) to sp

Re: Debugging Wine thoughts

2008-09-10 Thread Eric Pouech
dbghelp supports both linux debug formats (stabs, dwarf) as well as microsoft's one so any debugger using dbghelp as it's debug info provide should debug with all bells & whistles native & builtin applications I had some success with windbg (with a an 'e' between n & d ;-) unfortunately, http://

Re: Debugging Wine thoughts

2008-09-10 Thread celticht32
ubject: RE: Debugging Wine thoughts You can attach any debugger to a Win32 process running in Wine. This includes Linux debuggers like gdb, or any graphical frontends, as well as Windows debuggers like visual studio. If you built wine from source, the Linux debuggers will s

RE: Debugging Wine thoughts

2008-09-10 Thread Stefan Dösinger
devel@winehq.org Subject: Debugging Wine thoughts Dan / All, I think what the guy was asking on improving winedbg is to have some sort of visual debugger much like VC/C++ , Eclipse, Borland C++ or the like... Where you can step through the code (seeing the whole thing like any visual debugger). Then

Re: Debugging applications running on wine

2008-09-09 Thread Kevin Krieser
On Sep 8, 2008, at 9:36 PM, Dan Kegel wrote: > Kevin K wrote: >> Is winedbg the only method of debugging applications being >> developed for Windows on Wine? >> >> For instance, assume a program developed with Visual Studio >> in C or C++, and I needed to

  1   2   3   4   5   >