When I try to run any program from Digital Mars C/C++ Compiler http://www.digitalmars.com/download/freecompiler.html under Wine 0.9.10 on FreeBSD 6.1, I always see the error:
C:\dmc\bin>dmc wine: Unhandled stack overflow at address 0x405620 (thread 0017), starting debugger... WineDbg starting on pid 0x16 Couldn't initiate DbgHelp Unhandled exception: stack overflow in 32-bit code (0x00405620). file_set_error: Bad address file_set_error: Bad address Register dump: CS:0033 SS:003b DS:003b ES:003b FS:1007 GS:001b EIP:00405620 ESP:0035ff6c EBP:0035ffe8 EFLAGS:00010216( - 00 -RIAP1) EAX:00000000 EBX:9c297064 ECX:0035ff1c EDX:00000000 ESI:9c099460 EDI:00405620 Stack dump: 0x0035ff6c: 9c20b210 9c099460 00000000 00000000 0x0035ff7c: 00000000 ffffffff 9c1d1ff8 9c1e47ec 0x0035ff8c: 9c20b1a8 9c297064 0035ff6c 0035ffe8 0x0035ff9c: 00110000 00001000 0000127f 00000000 0x0035ffac: 00000000 00000000 00000000 00000001 0x0035ffbc: 00000000 00000000 00000000 00000000 0200: sel=1007 base=00110000 limit=00001fff 32-bit rw- Backtrace: =>1 0x00405620 (0x00405620) file_set_error: Bad address 0x00405620: -- no code accessible -- Modules: Module Address Debug info Name (0 modules) Threads: process tid prio (all id:s are in hex) 00000016 (D) C:\dmc\bin\dmc.exe 00000017 0 <== 00000008 00000009 0
Igor Sysoev http://sysoev.ru/en/
Igor Sysoev wrote:
When I try to run any program from Digital Mars C/C++ Compiler http://www.digitalmars.com/download/freecompiler.html under Wine 0.9.10 on FreeBSD 6.1, I always see the error:
this works fine here (on Linux)... may be a freebsd issue ?
On Thu, 23 Mar 2006, Eric Pouech wrote:
Igor Sysoev wrote:
When I try to run any program from Digital Mars C/C++ Compiler http://www.digitalmars.com/download/freecompiler.html under Wine 0.9.10 on FreeBSD 6.1, I always see the error:
this works fine here (on Linux)... may be a freebsd issue ?
Well, is the way to try to debug the problem ? Some debug log ?
Igor Sysoev http://sysoev.ru/en/
Igor Sysoev wrote:
On Thu, 23 Mar 2006, Eric Pouech wrote:
Igor Sysoev wrote:
When I try to run any program from Digital Mars C/C++ Compiler http://www.digitalmars.com/download/freecompiler.html under Wine 0.9.10 on FreeBSD 6.1, I always see the error:
this works fine here (on Linux)... may be a freebsd issue ?
Well, is the way to try to debug the problem ? Some debug log ?
from what I see from your first post, a few remarks: - file_set_error: Bad address => likely a read/write operation that fails with an incorrect buffer - stack overflow sent as a signal to the debugger
it may well sound like that the running thread doesn't have all the required memory another strange item: fs is set to 1007 which is a rather high value (maybe that's what you get on FreeBSD) I'd start by looking at the stack allocation for the threads
it also seems that you cannot get to the debug information (as dbghelp cannot initiate), but this sounds like another issue
A+
On Sat, 25 Mar 2006, Eric Pouech wrote:
Igor Sysoev wrote:
On Thu, 23 Mar 2006, Eric Pouech wrote:
Igor Sysoev wrote:
When I try to run any program from Digital Mars C/C++ Compiler http://www.digitalmars.com/download/freecompiler.html under Wine 0.9.10 on FreeBSD 6.1, I always see the error:
this works fine here (on Linux)... may be a freebsd issue ?
Well, is the way to try to debug the problem ? Some debug log ?
from what I see from your first post, a few remarks:
- file_set_error: Bad address => likely a read/write operation that fails
with an incorrect buffer
- stack overflow sent as a signal to the debugger
it may well sound like that the running thread doesn't have all the required memory another strange item: fs is set to 1007 which is a rather high value (maybe that's what you get on FreeBSD) I'd start by looking at the stack allocation for the threads
it also seems that you cannot get to the debug information (as dbghelp cannot initiate), but this sounds like another issue
I can run "WINEDEBUG=+all wine dmc.exe" and send a log.
Igor Sysoev http://sysoev.ru/en/