Agent crashes when sending article

Gerhard W. Gruber sparhawk at gmx.at
Fri May 23 16:38:44 CDT 2003


Some time ago I posted that Agent crashes when sending an email. At this time
the crash was sometimes quite frequently and sometimes it worked well for an
extended period of time. Now I found a scenario which will cause this crash
rather reliably (it failed only one time for me when I tested it).

Compose an article with a non-existent newsgroup., messagetext and subjectline
doesn't matter I think, and then send this article with <ALT>-S (for
Send-Now). 

When the crash occurs ebx contains a pointer that is pointing to some invalid
address (actually it is a string instead of a pointer) which is subsequently
referenced. On each crash the pointer and it's content is the same.

I already run agent with "wine -debugmsg +all" and got a rather huge trace
(about 500MB) so if you need any info I can extract it from this. I tried to
anlyze the problem but I have problems interpreting the trace so it doesn't
tell me much. I would investigate this myself but I need some input how the
best way to approach this. winedbg is not much help to me for now. Or can you
set memory access breakpoints like in Softice?

Backtrace:
=>0 0x005b507b (agent.exe. at InitWndProc$qp6HWND__uiuil+0x202cd in
D:\home\agent\agent.exe) (ebp=406b1cd8)
  1 0x0046cd45 (agent.exe. at ENUMERATEACTIVEWNDS$QP6HWND__P9TENUMINFO+0x39175 in
D:\home\agent\agent.exe) (ebp=406b1f60)
  2 0x0040e1ba (agent.exe.__GetExceptDLLinfo+0xd14c in
D:\home\agent\agent.exe) (ebp=406b1f74)
  3 0x0058e5c3 (agent.exe. at WinTimerStatics@Func$qp6HWND__uiuiul+0xe35b in
D:\home\agent\agent.exe) (ebp=406b1f88)
  4 0x00531d64
(agent.exe. at MyDdeCallback$quiuip7HCONV__p5HSZ__t4p10HDDEDATA__ulul+0x17d5c in
D:\home\agent\agent.exe) (ebp=406b1fd8)
  5 0x004dacf4 (agent.exe. at PropdlgKbdProc$qiuil+0x261fc in
D:\home\agent\agent.exe) (ebp=406b2024)
  6 0x00598543 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x3795 in
D:\home\agent\agent.exe) (ebp=406b207c)
  7 0x005985a0 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x37f2 in
D:\home\agent\agent.exe) (ebp=406b20b0)
  8 0x0059865f (agent.exe. at InitWndProc$qp6HWND__uiuil+0x38b1 in
D:\home\agent\agent.exe) (ebp=406b20f8)
  9 0x005985c8 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x381a in
D:\home\agent\agent.exe) (ebp=406b2110)
  10 0x408141fb (WINPROC_wrapper+0x17 in user32.dll.so) (ebp=406b2134)
  11 0x4081429f (WINPROC_CallWndProc+0x8f(proc=0x416b1fb8, hwnd=0x10025,
msg=0x411, wParam=0x100, lParam=0x4199cac8) [winproc.c:184] in user32.dll.so)
(ebp=406b2164)
  12 0x4081a6e8 (CallWindowProcA+0x88(func=0x413b0848, hwnd=0x10025,
msg=0x411, wParam=0x100, lParam=0x4199cac8) [winproc.c:2854] in user32.dll.so)
(ebp=406b218c)
  13 0x407fc1da (DispatchMessageA+0x12a(msg=0x406b222c) [message.c:794] in
user32.dll.so) (ebp=406b21d0)
  14 0x407dc9f9 (MENU_TrackMenu+0x5e9(hmenu=0x0, wFlags=0x80000000, x=0x0,
y=0x0, hwnd=0x10025, lprect=0x0) [menu.c:2891] in user32.dll.so)
(ebp=406b2248)
  15 0x407dce67 (MENU_TrackKbdMenuBar+0x147(hwnd=0x10025, wParam=0xf100,
vkey=0x0) [menu.c:3049] in user32.dll.so) (ebp=406b2278)
  16 0x40801266 (NC_HandleSysCommand+0x266(hwnd=0x10025, wParam=0xf100,
lParam=0x0) [nonclient.c:2194] in user32.dll.so) (ebp=406b22a0)
  17 0x407f0aee (DEFWND_DefWinProc+0x74e(hwnd=0x10025, msg=0x112,
wParam=0xf100, lParam=0x0) [defwnd.c:534] in user32.dll.so) (ebp=406b2330)
  18 0x407f1517 (DefWindowProcA+0x3a7(hwnd=0x10025, msg=0x112, wParam=0xf100,
lParam=0x0) [defwnd.c:863] in user32.dll.so) (ebp=406b2364)
  19 0x407f9daf (DefFrameProcA+0xff(hwnd=0x10025, hwndMDIClient=0x10026,
message=0x112, wParam=0xf100, lParam=0x0) [mdi.c:1492] in user32.dll.so)
(ebp=406b2388)
  20 0x005a1dea (agent.exe. at InitWndProc$qp6HWND__uiuil+0xd03c in
D:\home\agent\agent.exe) (ebp=406b23a4)
  21 0x0059c206 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x7458 in
D:\home\agent\agent.exe) (ebp=406b23c4)
  22 0x00598556 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x37a8 in
D:\home\agent\agent.exe) (ebp=406b241c)
  23 0x005985a0 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x37f2 in
D:\home\agent\agent.exe) (ebp=406b2450)
  24 0x0059865f (agent.exe. at InitWndProc$qp6HWND__uiuil+0x38b1 in
D:\home\agent\agent.exe) (ebp=406b2498)
  25 0x005985c8 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x381a in
D:\home\agent\agent.exe) (ebp=406b24b0)
  26 0x408141fb (WINPROC_wrapper+0x17 in user32.dll.so) (ebp=406b24d4)
  27 0x4081429f (WINPROC_CallWndProc+0x8f(proc=0x416b1fb8, hwnd=0x10025,
msg=0x112, wParam=0xf100, lParam=0x0) [winproc.c:184] in user32.dll.so)
(ebp=406b2504)
  28 0x4081a246 (WINPROC_CallProc32WTo32A+0xc6(func=0x416b1fb8, hwnd=0x10025,
msg=0x112, wParam=0xf100, lParam=0x0) [winproc.c:2676] in user32.dll.so)
(ebp=406b2530)
  29 0x4081a7c8 (CallWindowProcW+0x88(func=0x413b0856, hwnd=0x10025,
msg=0x112, wParam=0xf100, lParam=0x0) [winproc.c:2890] in user32.dll.so)
(ebp=406b2558)
  30 0x4082dc00 (call_window_proc+0xd0(hwnd=0x10025, msg=0x112, wparam=0xf100,
lparam=0x0, unicode=0x1, same_thread=0x1) [message.c:1401] in user32.dll.so)
(ebp=406b25a8)
  31 0x4082e85f (SendMessageTimeoutW+0xdf(hwnd=0x10025, msg=0x112,
wparam=0xf100, lparam=0x0, flags=0x0, timeout=0xffffffff, res_ptr=0x406b2630)
[message.c:1791] in user32.dll.so) (ebp=406b2600)
  32 0x4082eae9 (SendMessageW+0x39(hwnd=0x10025, msg=0x112, wparam=0xf100,
lparam=0x0) [message.c:1873] in user32.dll.so) (ebp=406b2634)
  33 0x407f0c03 (DEFWND_DefWinProc+0x863(hwnd=0x1003e, msg=0x105, wParam=0x12,
lParam=0xc0380001) [defwnd.c:571] in user32.dll.so) (ebp=406b26c8)
  34 0x407f1517 (DefWindowProcA+0x3a7(hwnd=0x1003e, msg=0x105, wParam=0x12,
lParam=0xc0380001) [defwnd.c:863] in user32.dll.so) (ebp=406b26fc)
  35 0x408141fb (WINPROC_wrapper+0x17 in user32.dll.so) (ebp=406b2720)
  36 0x4081429f (WINPROC_CallWndProc+0x8f(proc=0x407f1170, hwnd=0x1003e,
msg=0x105, wParam=0x12, lParam=0xc0380001) [winproc.c:184] in user32.dll.so)
(ebp=406b2750)
  37 0x4081a69b (CallWindowProcA+0x3b(func=0x407f1170, hwnd=0x1003e,
msg=0x105, wParam=0x12, lParam=0xc0380001) [winproc.c:2839] in user32.dll.so)
(ebp=406b2778)
  38 0x005982ed (agent.exe. at InitWndProc$qp6HWND__uiuil+0x353f in
D:\home\agent\agent.exe) (ebp=406b279c)
  39 0x00598556 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x37a8 in
D:\home\agent\agent.exe) (ebp=406b27f4)
  40 0x005985a0 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x37f2 in
D:\home\agent\agent.exe) (ebp=406b2828)
  41 0x0059865f (agent.exe. at InitWndProc$qp6HWND__uiuil+0x38b1 in
D:\home\agent\agent.exe) (ebp=406b2870)
  42 0x005985c8 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x381a in
D:\home\agent\agent.exe) (ebp=406b2888)
  43 0x408141fb (WINPROC_wrapper+0x17 in user32.dll.so) (ebp=406b28ac)
  44 0x4081429f (WINPROC_CallWndProc+0x8f(proc=0x41998408, hwnd=0x1003e,
msg=0x105, wParam=0x12, lParam=0xc0380001) [winproc.c:184] in user32.dll.so)
(ebp=406b28dc)
  45 0x4081a6e8 (CallWindowProcA+0x88(func=0x413b0db8, hwnd=0x1003e,
msg=0x105, wParam=0x12, lParam=0xc0380001) [winproc.c:2854] in user32.dll.so)
(ebp=406b2904)
  46 0x407fc1da (DispatchMessageA+0x12a(msg=0x406b2980) [message.c:794] in
user32.dll.so) (ebp=406b2948)
  47 0x004db200 (agent.exe. at PropdlgKbdProc$qiuil+0x26708 in
D:\home\agent\agent.exe) (ebp=406b299c)
  48 0x004db4c3 (agent.exe. at PropdlgKbdProc$qiuil+0x269cb in
D:\home\agent\agent.exe) (ebp=406b29ec)
  49 0x004dadbb (agent.exe. at PropdlgKbdProc$qiuil+0x262c3 in
D:\home\agent\agent.exe) (ebp=406b2a54)
  50 0x0040fd3b (agent.exe.__GetExceptDLLinfo+0xeccd in
D:\home\agent\agent.exe) (ebp=406b2e18)
  51 0x005a54d4 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x10726 in
D:\home\agent\agent.exe) (ebp=406b2e5c)
  52 0x005b40b5 (agent.exe. at InitWndProc$qp6HWND__uiuil+0x1f307 in
D:\home\agent\agent.exe) (ebp=406b2e8c)


Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:008f GS:005f
 EIP:005b507b ESP:406b1cb4 EBP:406b1cd8 EFLAGS:00210206(  R- 00  I   - -P1 )
 EAX:2d746e65 EBX:4199cacc ECX:4199c268 EDX:406b1d48
 ESI:00000000 EDI:4199cac8
-- 
Gerhard Gruber

Für jedes menschliche Problem gibt es immer eine einfache Lösung:
Klar, einleuchtend und falsch. (Henry Louis Mencken)




More information about the wine-devel mailing list