On Sun, 11 Aug 2002 18:18:37 +0200, you wrote:
On Sun, 11 Aug 2002 17:26:17 +0200, Rein Klazes rklazes@xs4all.nl wrote:
On Sun, 11 Aug 2002 14:21:57 +0200, you wrote:
Howdy, I've just found a problem with Agent when trying to save attachments from email, that I thought I'd share with the devel community. (It's happening in both v1.9 and v1.92.) This is also happening with my just updated today CVS version.
When I tried to save an attachment, the following messages appear:
[snip]
Oliver, I always get essentially the same messages as those, but no crash. So it is quite possible that they are unrelated to the crash.
Look at the backtrace in the debugger, the last messages before the crash with relay debugging enabled, and (because this is Agent) check that if you have native windows dll's lying around that Agent doesn't use them.
This is a linux only install, so there are no Windows.dlls on my system.
I did a --debug message -relay, and here's the output from the console window. I've included it all even though only the last couple of lines look pertinent.
For a backtrace type 'bt' in the console at the "Wine-dbg>" prompt, no additional debug messages enabled;
Relay debugging: run with "--debugmsg +relay" and capture the output in a file. With a texteditor look for the line where the first indication of the crash is (search for something like "starting debugger" or "unhandled exception"). In the lines above this you can see what the program was doing at that moment.
To post logs: try to preserve the line-breaks. In Agent I usually use "Paste as Quote (Custom)", Agent doesn't insert additional line-breaks in that case. Attaching as "plain text" is another possibility.
Rein.
Hi, Thanks for the details on how to get the details. Incidentally, I would have preferred to attach the output files, but until this gets fixed I'm not able to :-|
The output from the relay messages, although voluminous, didn't contain a "starting debugger" message. The last message seems unusual: ------
08084a40:Ret PE DLL (proc=0x41668084,module=4165d000,type=0,res=0x1) retval=1 08084a40:Call PE DLL (proc=0x406631d0,module=405ed000,type=0,res=0x1) 08084a40:Ret PE DLL (proc=0x406631d0,module=405ed000,type=0,res=0x1) retval=1 08084a40:Call PE DLL (proc=0x4074a954,module=4071f000,type=0,res=0x1) 08084a40:Ret PE DLL (proc=0x4074a954,module=4071f000,type=0,res=0x1) retval=1 08084a40:Call PE DLL (proc=0x404df5bc,module=404b3000,type=0,res=0x1) 08084a40:Ret PE DLL (proc=0x404df5bc,module=404b3000,type=0,res=0x1) retval=1 08084a40:Call PE DLL (proc=0x4055c650,module=40549000,type=0,res=0x1) 08084a40:Ret PE DLL (proc=0x4055c650,module=40549000,type=0,res=0x1) retval=1 Terminated [olsam@friday agent]$ wineserver: select.c:101: remove_select_user: Assertion `user >= 0' failed.
---------
The output from the wine-dbg looked pretty good, but one funny thing happened when I try to paste it into a text editor. It was repeated in columns four times over, which makes it *very* difficult to read. So I manually edited out the last 75% of each line. Does somebody already know about this behavior?
Thanks, Oliver -------------
----
Wine-dbg>bt Backtrace: =>0 0x400cd1ec (RtlImageNtHeader+0x8(hModule=0x6ca000) [loader.c:81] in libntdll.dll.so) (ebp=403747d0) 1 0x400cd241 (RtlImageDirectoryEntryToData+0x35(module=0x6ca000, image=0x1, dir=0x2, size=0x40374804) [loader.c:103] in libntdll.dll.so) (ebp=403747ec) 2 0x400c658e (UnhandledExceptionFilter+0x52(epointers=0x403748ec) [except.c:379] in libntdll.dll.so) (ebp=40374834) 3 0x400baee4 (call_stdcall_function+0x80(func=0x400c653c, nb_args=0x1, args=0x403748dc) [relay386.c:324] in libntdll.dll.so) (ebp=40374848) 4 0x400bb275 (RELAY_CallFrom32+0x13d(ret_addr=0x5aba2d) [relay386.c:400] in libntdll.dll.so) (ebp=403748d0) 5 0x4050ad85 (KERNEL32.DLL.UnhandledExceptionFilter+0x5 in kernel32.dll.so) (ebp=403748f4) 6 0x400c9fa7 (EXC_CallHandler+0x6f(record=0x403749c8, frame=0x40486e7c, context=0x40374a44, dispatcher=0x40374958, handler=0x5ab998, nested_handler=0x400c9ee0) [exception.c:117] in libntdll.dll.so) (ebp=40374928) 7 0x400ca2a0 (EXC_RtlRaiseException+0x110(rec=0x403749c8, context=0x40374a44) [exception.c:214] in libntdll.dll.so) (ebp=403749b8) 8 0x400d2bd0 (do_segv+0x188(context=0x40374a44, trap_code=0xe, cr2=0x3c4856b8, err_code=0x6) [signal_i386.c:798] in libntdll.dll.so) (ebp=40374a24)o) (ebp=40374a24) 9 0x400d2fc6 (segv_handler+0x2a(__signal=0xb, __context=0x0) [signal_i386.c:986] in libntdll.dll.so) (ebp=40374d1c) 10 0x42029098 (_end+0x1190310) (ebp=4048574c) 11 0x408a5020 (TOOLBAR_Refresh+0x110(hwnd=0x1004e, hdc=0x868, ps=0x40485810) [toolbar.c:976] in comctl32.dll.so) (ebp=404857fc) 12 0x408abb06 (TOOLBAR_Paint+0x82(hwnd=0x1004e, wParam=0x0) [toolbar.c:5318] in comctl32.dll.so) (ebp=4048585c) 13 0x408ace1a (ToolbarWindowProc+0x1026(hwnd=0x1004e, uMsg=0xf, wParam=0x0, lParam=0x0) [toolbar.c:5811] in comctl32.dll.so) (ebp=40485888) 14 0x405a1d0f (WINPROC_wrapper+0x17 in user32.dll.so) (ebp=404858ac) 15 0x405a1d9a (WINPROC_CallWndProc+0x82(proc=0x408abdf4, hwnd=0x1004e, msg=0xf, wParam=0x0, lParam=0x0) [winproc.c:183] in user32.dll.so) (ebp=404858dc) 16 0x405a7c80 (WINPROC_CallProc32WTo32A+0xb8(func=0x408abdf4, hwnd=0x1004e, msg=0xf, wParam=0x0, lParam=0x0) [winproc.c:2616] in user32.dll.so) (ebp=40485904) 17 0x405a81eb (CallWindowProcW+0xab(func=0x40bd05d8, hwnd=0x1004e, msg=0xf, wParam=0x0, lParam=0x0) [winproc.c:2831] in user32.dll.so) (ebp=40485938) 18 0x4058a742 (DispatchMessageW+0x11e(msg=0x404859a8) [message.c:1156] in user32.dll.so) (ebp=4048597c) 19 0x4057fcf4 (IsDialogMessageW+0x2b8(hwndDlg=0x30022, msg=0x404859a8) [dialog.c:1433] in user32.dll.so) (ebp=40485994) 20 0x4057f329 (DIALOG_DoDialogBox+0x95(hwnd=0x30022, owner=0x10038) [dialog.c:1044] in user32.dll.so) (ebp=404859d4) 21 0x4057f64f (DialogBoxIndirectParamA+0x2b(hInstance=0x408ec000, template=0x4092dbe0, owner=0x10038, dlgProc=0x408f4d08, param=0x40294778) [dialog.c:1167] in user32.dll.so) (ebp=404859e8) 22 0x400baf2c (call_stdcall_function+0xc8(func=0x4057f624, nb_args=0x5, args=0x40485aa0) [relay386.c:328] in libntdll.dll.so) (ebp=40485a0c) 23 0x400bb275 (RELAY_CallFrom32+0x13d(ret_addr=0x408f3dfd) [relay386.c:400] in libntdll.dll.so) (ebp=40485a94) 24 0x405e426d (USER32.DLL.DialogBoxIndirectParamA+0x5 in user32.dll.so) (ebp=40485ac0) 25 0x408f3edf (GetFileDialog95A+0xcb(ofn=0x40485cb0, iDlgType=0x1) [filedlg95.c:334] in comdlg32.dll.so) (ebp=40485ae8) 26 0x408f3c90 (GetSaveFileNameA+0x40(ofn=0x40485cb0) [filedlg.c:1652] in comdlg32.dll.so) (ebp=40485b04) 27 0x400baee4 (call_stdcall_function+0x80(func=0x408f3c50, nb_args=0x1, args=0x40485bac) [relay386.c:324] in libntdll.dll.so) (ebp=40485b18) 28 0x400bb275 (RELAY_CallFrom32+0x13d(ret_addr=0x5a37f2) [relay386.c:400] in libntdll.dll.so) (ebp=40485ba0) 29 0x40941439 (COMDLG32.DLL.GetSaveFileNameA+0x5 in comdlg32.dll.so) (ebp=40485bb8) 30 0x004d43b9 (agent.exe.@PropdlgKbdProc$qiuil+0x1f8c1 in D:\bin\Agent\1.92\agent.exe) (ebp=40485bc8) 31 0x004deba8 (agent.exe.@StdDlgProc$qp6HWND__uiuil+0x424 in D:\bin\Agent\1.92\agent.exe) (ebp=40485c2c) 32 0x00509e2a (agent.exe.@StdDlgProc$qp6HWND__uiuil+0x2b6a6 in D:\bin\Agent\1.92\agent.exe) (ebp=4048605c) 33 0x0042c8ed (agent.exe.@TPrinterAbortProc$qp5HDC__i+0x18d0d in D:\bin\Agent\1.92\agent.exe) (ebp=40486088) 34 0x0058e84d (agent.exe.@WinTimerStatics@Func$qp6HWND__uiuiul+0xe4c9 in D:\bin\Agent\1.92\agent.exe) (ebp=40486094) 35 0x00531e80 (agent.exe.@MyDdeCallback$quiuip7HCONV__p5HSZ__t4p10HDDEDATA__ulul+0x17d5c in D:\bin\Agent\1.92\agent.exe) (ebp=404860e4) 36 0x00597e3d (agent.exe.@InitWndProc$qp6HWND__uiuil+0x2f73 in D:\bin\Agent\1.92\agent.exe) (ebp=40486130) 37 0x00598161 (agent.exe.@InitWndProc$qp6HWND__uiuil+0x3297 in D:\bin\Agent\1.92\agent.exe) (ebp=40486184) 38 0x00598213 (agent.exe.@InitWndProc$qp6HWND__uiuil+0x3349 in D:\bin\Agent\1.92\agent.exe) (ebp=404861b8) 39 0x004dc803 (agent.exe.@DisableWnds$qp6HWND__p9TEnumInfo+0xe0f in D:\bin\Agent\1.92\agent.exe) (ebp=404861dc) 40 0x0059b823 (agent.exe.@InitWndProc$qp6HWND__uiuil+0x6959 in D:\bin\Agent\1.92\agent.exe) (ebp=40486210) 41 0x00430c40 (agent.exe.@TPrinterAbortProc$qp5HDC__i+0x1d060 in D:\bin\Agent\1.92\agent.exe) (ebp=40486234) 42 0x0059849a (agent.exe.@InitWndProc$qp6HWND__uiuil+0x35d0 in D:\bin\Agent\1.92\agent.exe) (ebp=4048628c) 43 0x005986bc (agent.exe.@InitWndProc$qp6HWND__uiuil+0x37f2 in D:\bin\Agent\1.92\agent.exe) (ebp=404862c0) 44 0x0059877b (agent.exe.@InitWndProc$qp6HWND__uiuil+0x38b1 in D:\bin\Agent\1.92\agent.exe) (ebp=40486308) 45 0x005986e4 (agent.exe.@InitWndProc$qp6HWND__uiuil+0x381a in D:\bin\Agent\1.92\agent.exe) (ebp=40486320) 46 0x405a1d0f (WINPROC_wrapper+0x17 in user32.dll.so) (ebp=40486344) 47 0x405a1d9a (WINPROC_CallWndProc+0x82(proc=0x40e41bd0, hwnd=0x10025, msg=0x111, wParam=0x1643, lParam=0x0) [winproc.c:183] in user32.dll.so) (ebp=40486374) 48 0x405a808a (CallWindowProcA+0x4a(func=0x40e41bd0, hwnd=0x10025, msg=0x111, wParam=0x1643, lParam=0x0) [winproc.c:2779] in user32.dll.so) (ebp=404863a8) 49 0x405b6c6e (call_window_proc+0xf2(hwnd=0x10025, msg=0x111, wparam=0x1643, lparam=0x0, unicode=0x0) [message.c:1372] in user32.dll.so) (ebp=40486404) 50 0x405b791f (SendMessageTimeoutA+0xdf(hwnd=0x10025, msg=0x111, wparam=0x1643, lparam=0x0, flags=0x0, timeout=0xffffffff, res_ptr=0x40486488) [message.c:1784] in user32.dll.so) (ebp=40486464) 51 0x405b7a87 (SendMessageA+0x37(hwnd=0x10025, msg=0x111, wparam=0x1643, lparam=0x0) [message.c:1829] in user32.dll.so) (ebp=40486498) 52 0x400baf15 (call_stdcall_function+0xb1(func=0x405b7a50, nb_args=0x4, args=0x4048654c) [relay386.c:327] in libntdll.dll.so) (ebp=404864b8) 53 0x400bb275 (RELAY_CallFrom32+0x13d(ret_addr=0x599861) [relay386.c:400] in libntdll.dll.so) (ebp=40486540) 54 0x405e591d (USER32.DLL.SendMessageA+0x5 in user32.dll.so) (ebp=40486564) 55 0x004319b0 (agent.exe.@TPrinterAbortProc$qp5HDC__i+0x1ddd0 in D:\bin\Agent\1.92\agent.exe) (ebp=404865c0) 56 0x004318e6 (agent.exe.@TPrinterAbortProc$qp5HDC__i+0x1dd06 in D:\bin\Agent\1.92\agent.exe) (ebp=404865d8) 57 0x0048426d (agent.exe.@ENUMERATEACTIVEWNDS$QP6HWND__P9TENUMINFO+0x5069d in D:\bin\Agent\1.92\agent.exe) (ebp=404865f8) 58 0x00481b07 (agent.exe.@ENUMERATEACTIVEWNDS$QP6HWND__P9TENUMINFO+0x4df37 in D:\bin\Agent\1.92\agent.exe) (ebp=40486618) 59 0x00481fee (agent.exe.@ENUMERATEACTIVEWNDS$QP6HWND__P9TENUMINFO+0x4e41e in D:\bin\Agent\1.92\agent.exe) (ebp=40486630) 60 0x0058e94c (agent.exe.@WinTimerStatics@Func$qp6HWND__uiuiul+0xe5c8 in D:\bin\Agent\1.92\agent.exe) (ebp=4048664c) 61 0x00531e80 (agent.exe.@MyDdeCallback$quiuip7HCONV__p5HSZ__t4p10HDDEDATA__ulul+0x17d5c in D:\bin\Agent\1.92\agent.exe) (ebp=4048669c) 62 0x00597e3d (agent.exe.@InitWndProc$qp6HWND__uiuil+0x2f73 in D:\bin\Agent\1.92\agent.exe) (ebp=404866e8) 63 0x005985b5 (agent.exe.@InitWndProc$qp6HWND__uiuil+0x36eb in D:\bin\Agent\1.92\agent.exe) (ebp=40486740) 64 0x005986bc (agent.exe.@InitWndProc$qp6HWND__uiuil+0x37f2 in D:\bin\Agent\1.92\agent.exe) (ebp=40486774) 65 0x0059877b (agent.exe.@InitWndProc$qp6HWND__uiuil+0x38b1 in D:\bin\Agent\1.92\agent.exe) (ebp=404867bc) 66 0x005986e4 (agent.exe.@InitWndProc$qp6HWND__uiuil+0x381a in D:\bin\Agent\1.92\agent.exe) (ebp=404867d4) 67 0x405a1d0f (WINPROC_wrapper+0x17 in user32.dll.so) (ebp=404867f8) 68 0x405a1d9a (WINPROC_CallWndProc+0x82(proc=0x411405d0, hwnd=0x1003a, msg=0x205, wParam=0x0, lParam=0x40004f) [winproc.c:183] in user32.dll.so) (ebp=40486828) 69 0x405a80eb (CallWindowProcA+0xab(func=0x40bd0c98, hwnd=0x1003a, msg=0x205, wParam=0x0, lParam=0x40004f) [winproc.c:2795] in user32.dll.so) (ebp=4048685c)r32.dll.so) (ebp=4048685c) 70 0x4058a586 (DispatchMessageA+0x11e(msg=0x40486978) [message.c:1064] in user32.dll.so) (ebp=404868a0) 71 0x400baee4 (call_stdcall_function+0x80(func=0x4058a468, nb_args=0x1, args=0x40486948) [relay386.c:324] in libntdll.dll.so) (ebp=404868b4) 72 0x400bb275 (RELAY_CallFrom32+0x13d(ret_addr=0x4db200) [relay386.c:400] in libntdll.dll.so) (ebp=4048693c) 73 0x405e42bd (USER32.DLL.DispatchMessageA+0x5 in user32.dll.so) (ebp=40486994) 74 0x004db4c3 (agent.exe.@PropdlgKbdProc$qiuil+0x269cb in D:\bin\Agent\1.92\agent.exe) (ebp=404869e4) 75 0x004dadbb (agent.exe.@PropdlgKbdProc$qiuil+0x262c3 in D:\bin\Agent\1.92\agent.exe) (ebp=40486a4c) 76 0x0040fd3b (agent.exe.__GetExceptDLLinfo+0xeccd in D:\bin\Agent\1.92\agent.exe) (ebp=40486e10) 77 0x005a55f0 (agent.exe.@InitWndProc$qp6HWND__uiuil+0x10726 in D:\bin\Agent\1.92\agent.exe) (ebp=40486e54) 78 0x005b41d1 (agent.exe.@InitWndProc$qp6HWND__uiuil+0x1f307 in D:\bin\Agent\1.92\agent.exe) (ebp=40486e84) Wine-dbg>
==================================================== Oliver Sampson olsam@quickaudio.com http://www.oliversampson.com
On Mon, 12 Aug 2002 13:49:45 +0200, you wrote:
The output from the relay messages, although voluminous, didn't contain a "starting debugger" message.
Probably the way I've set up the debugger here. Still you should be able to find the spot, accompanied by "EXC_RtlRaiseException" and "UnhandledExceptionFilter". I see those in the backtrace.
The output from the wine-dbg looked pretty good, but one funny thing happened when I try to paste it into a text editor. It was repeated in columns four times over, which makes it *very* difficult to read. So I manually edited out the last 75% of each line. Does somebody already know about this behavior?
I have set up the debugger so that output to the debug console also appears in the terminal. Cut and paste from an xterm works much better. See the wine documentation for details (I would have given a URL on www.winehq.com, but the site seems to be down at the moment). I've set the relevant register keys ConChannelMask, StdChannelMask and UseXTerm all to 1.
Rein.