Bug Hunting Session
Bug 47139 - CRASH: choosing proxy settings is crashing LO
Summary: CRASH: choosing proxy settings is crashing LO
Status: RESOLVED DUPLICATE of bug 47044
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.0 release
Hardware: Other All
: medium major
Assignee: Not Assigned
Depends on:
Reported: 2012-03-09 02:18 UTC by bfoman (inactive)
Modified: 2012-05-24 05:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Proxy settings window with garbage text (43.15 KB, image/png)
2012-03-09 02:18 UTC, bfoman (inactive)

Note You need to log in before you can comment on or make changes to this bug.
Description bfoman (inactive) 2012-03-09 02:18:04 UTC
Created attachment 58226 [details]
Proxy settings window with garbage text

Active Directory enviroment, proxy system settings defined by GPO as autoconfiguration url, Windows 7 SP1 32 and 64 bit, normal domain user account. 

LibreOffice 3.5/3.5.1rc1:
Aplication is crashing instantly after opening Tools>Options>Internet>Proxy settings.

No crash when clicking Browser Plug-in first - Proxy settings tab is available, but garbage is displayed in unactive text fields (see attached screenshot).

Willing to help debug this (procdump etc.) - waiting for instructions.
Comment 1 Julien Nabet 2012-03-09 15:31:41 UTC
Don't hesitate to update this tracker if you don't consider it as a duplicate.

*** This bug has been marked as a duplicate of bug 47044 ***
Comment 2 Stephan Bergmann 2012-03-12 01:38:17 UTC
The way values are obtained when "Proxy server" is "System" is platform specific.  For Windows, the code is in the directory shell/source/backends/wininetbe/.  However, finding out why it crashes and/or delivers garbage likely requires a proper debugger and debuggable code (see <http://wiki.documentfoundation.org/Development/How_to_debug>, <http://wiki.documentfoundation.org/Development/BuildingOnWindowsWithCygwinAndMSVCExpress>).
Comment 3 bfoman (inactive) 2012-03-12 05:23:43 UTC
Catching this with procdump is a hassle, because this feature crashes or do not crash at all when procdump is run in the background, or proxy settings (and other options) are not displayed at all. After many triesI managed to catch this one on LibreOffice 3.5.1rc2 (Windows 7 SP1 64 bit) (unfortunately no symbols set correctly at this computer):

*** procdump.exe  -t soffice.bin
*** Process termination'
Symbol search path is: C:\Symbols
Executable search path is: 
Windows 7 Version 7601 (Service Pack 1) MP (2 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Mon Mar 12 12:34:44.000 2012 (UTC + 1:00)
System Uptime: not available
Process Uptime: 0 days 0:01:52.000
Loading unloaded module list
eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=77e52100 edi=77e520c0
eip=77d6fca2 esp=00bef8d0 ebp=00bef8ec iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll - 
77d6fca2 83c404          add     esp,4
0:000> .reload
Loading unloaded module list
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll - 
0:000> !analyze -v
Failed calling InternetOpenUrl, GLE=12029

00000000 ??              ???

EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 00000000
   ExceptionCode: 80000003 (Break instruction exception)
  ExceptionFlags: 00000000
NumberParameters: 0


PROCESS_NAME:  soffice.bin


FAULTING_MODULE: 75de0000 kernel32


MODULE_NAME: msvcr90

ERROR_CODE: (NTSTATUS) 0x80000003 - {WYJ

EXCEPTION_CODE: (HRESULT) 0x80000003 (2147483651) - Co najmniej jeden z argument w jest nieprawid owy.





LAST_CONTROL_TRANSFER:  from 75df79f5 to 77d6fca2

WARNING: Stack unwind information not available. Following frames may be wrong.
00bef8ec 75df79f5 00000000 77e8f3b0 ffffffff ntdll!NtTerminateProcess+0x12
00bef900 72d221cc 00000000 00bef950 72d22411 kernel32!ExitProcess+0x15
00bef90c 72d22411 00000000 fb5d1161 01134380 msvcr90!amsg_exit+0x75
00bef950 72d22466 00000000 00000000 00000000 msvcr90!get_pgmptr+0x196
00bef964 01131922 00000000 fb52c59e 00000000 msvcr90!exit+0x11
00bef9e8 75df339a 7efde000 00befa34 77d89ef2 soffice+0x1922
00bef9f4 77d89ef2 7efde000 76488b9d 00000000 kernel32!BaseThreadInitThunk+0x12
00befa34 77d89ec5 01131aec 7efde000 00000000 ntdll!RtlInitializeExceptionChain+0x63
00befa4c 00000000 01131aec 7efde000 00000000 ntdll!RtlInitializeExceptionChain+0x36

STACK_COMMAND:  ~0s; .ecxr ; kb

72d221cc cc              int     3


SYMBOL_NAME:  msvcr90!amsg_exit+75

FOLLOWUP_NAME:  MachineOwner

IMAGE_NAME:  msvcr90.dll


FAILURE_BUCKET_ID:  WRONG_SYMBOLS_SHUTDOWN_80000003_msvcr90.dll!amsg_exit

Hope this helps...
Comment 4 Stephan Bergmann 2012-03-12 08:38:16 UTC
@bfoman: I'm afraid the information you gathered is useless.
Comment 5 bfoman (inactive) 2012-03-14 07:25:56 UTC
(In reply to comment #4)
> @bfoman: I'm afraid the information you gathered is useless.

Sight. How should I debug on Windows 7? I am not a programmer you know... Reproducing the crash using this (http://dev-builds.libreoffice.org/win32-debug/libreoffice-3-5/LibO-Dev_3.5.1rc1_Win_x86_install_en-US.msi) will be any help?
Comment 6 Stephan Bergmann 2012-03-14 08:09:46 UTC
Maybe <http://lists.freedesktop.org/archives/libreoffice/2012-March/027979.html> "How to report a LibreOffice crash on Windows like a pro" is useful (I didn't watch it myself, not working with Windows).
Comment 7 bfoman (inactive) 2012-04-26 04:13:53 UTC
Hope this debug log made with LOdev is better. Any Windows LO developer can comment?
Confirmed with:
LOdev 3.5.3rc1+ 
Build ID: 51648779-22e3d74-d554af7
Windows 7 Professional SP1 64 bit

Run LOdev, attach to soffice.bin process in WinDbg, click on Tools>Settings>Options>Proxy - instant crash:

0:011> g
ModLoad: 059e0000 05c8b000   C:\Program Files (x86)\LOdev 3.5\program\fwklo.dll
ModLoad: 059e0000 05c8b000   C:\Program Files (x86)\LOdev 3.5\program\fwklo.dll
(a40.d38): C++ EH exception - code e06d7363 (first chance)
(a40.d38): C++ EH exception - code e06d7363 (first chance)
ModLoad: 57990000 57a05000   C:\Program Files (x86)\LOdev 3.5\program\fwllo.dll
ModLoad: 059e0000 05e4d000   C:\Program Files (x86)\LOdev 3.5\program\sfxlo.dll
ModLoad: 57620000 5798f000   C:\Program Files (x86)\LOdev 3.5\program\cuilo.dll
ModLoad: 575e0000 57611000   C:\Program Files (x86)\LOdev 3.5\program\avmedialo.dll
ModLoad: 059e0000 05c25000   C:\Program Files (x86)\LOdev 3.5\program\editenglo.dll
ModLoad: 56b30000 5738c000   C:\Program Files (x86)\LOdev 3.5\program\svxcorelo.dll
ModLoad: 569f0000 56b2f000   C:\Program Files (x86)\LOdev 3.5\program\drawinglayerlo.dll
ModLoad: 569a0000 569ef000   C:\Program Files (x86)\LOdev 3.5\program\canvastoolslo.dll
ModLoad: 74a80000 74ab2000   C:\Windows\SysWOW64\WINMM.dll
ModLoad: 56930000 5699c000   C:\Program Files (x86)\LOdev 3.5\program\cppcanvaslo.dll
ModLoad: 56580000 56922000   C:\Program Files (x86)\LOdev 3.5\program\svxlo.dll
(a40.d38): C++ EH exception - code e06d7363 (first chance)
ModLoad: 56530000 56575000   C:\Program Files (x86)\LOdev 3.5\program\updchk.uno.dll
ModLoad: 48930000 48990000   C:\Program Files (x86)\LOdev 3.5\program\libcurl.dll
ModLoad: 564e0000 56525000   C:\Program Files (x86)\LOdev 3.5\program\updchk.uno.dll
ModLoad: 48930000 48990000   C:\Program Files (x86)\LOdev 3.5\program\libcurl.dll
(a40.d38): C++ EH exception - code e06d7363 (first chance)
ModLoad: 05c80000 05e08000   C:\Program Files (x86)\LOdev 3.5\program\i18npool.uno.dll
ModLoad: 05c80000 05e08000   C:\Program Files (x86)\LOdev 3.5\program\i18npool.uno.dll
ModLoad: 56550000 56573000   C:\Program Files (x86)\LOdev 3.5\program\localedata_en.dll
ModLoad: 05c90000 05d38000   C:\Program Files (x86)\LOdev 3.5\program\lnglo.dll
ModLoad: 05c90000 05d38000   C:\Program Files (x86)\LOdev 3.5\program\lnglo.dll
ModLoad: 56540000 5654c000   C:\Program Files (x86)\LOdev 3.5\program\wininetbe1.uno.dll
ModLoad: 76ac0000 76bdb000   C:\Windows\syswow64\wininet.dll
ModLoad: 753a0000 753a3000   C:\Windows\syswow64\Normaliz.dll
ModLoad: 76340000 764f8000   C:\Windows\syswow64\iertutil.dll
ModLoad: 751f0000 75301000   C:\Windows\syswow64\urlmon.dll
ModLoad: 744d0000 744d8000   C:\Windows\SysWOW64\Secur32.dll
ModLoad: 74530000 74574000   C:\Windows\SysWOW64\dnsapi.DLL
ModLoad: 6fc50000 6fc6c000   C:\Windows\SysWOW64\iphlpapi.DLL
ModLoad: 6f660000 6f667000   C:\Windows\SysWOW64\WINNSI.DLL
ModLoad: 6e580000 6e5d2000   C:\Windows\SysWOW64\RASAPI32.dll
ModLoad: 6e600000 6e615000   C:\Windows\SysWOW64\rasman.dll
ModLoad: 74480000 7448d000   C:\Windows\SysWOW64\rtutils.dll
ModLoad: 725a0000 725a6000   C:\Windows\SysWOW64\sensapi.dll
(a40.d38): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=d2813c09 ebx=00000000 ecx=d2813c09 edx=d2813c09 esi=5952d890 edi=00000000
eip=5afbb085 esp=00b2cf8c ebp=00b2cf98 iopl=0         nv up ei ng nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010286
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\LOdev 3.5\URE\bin\sal3.dll - 
5afbb085 0fbe11          movsx   edx,byte ptr [ecx]         ds:002b:d2813c09=??
0:000> !analyze -v

Failed calling InternetOpenUrl, GLE=12029

5afbb085 0fbe11          movsx   edx,byte ptr [ecx]

EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 5afbb085 (sal3!rtl_uString_newFromAscii+0x00000015)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000000
   Parameter[1]: d2813c09
Attempt to read from address d2813c09



PROCESS_NAME:  soffice.bin

ERROR_CODE: (NTSTATUS) 0xc0000005 - Instrukcja spod 0x%08lx odwo

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - Instrukcja spod 0x%08lx odwo



READ_ADDRESS:  d2813c09 

5afbb085 0fbe11          movsx   edx,byte ptr [ecx]






LAST_CONTROL_TRANSFER:  from 565421a0 to 5afbb085

WARNING: Stack unwind information not available. Following frames may be wrong.
00b2cf98 565421a0 00b2cfb0 d2813c09 d2812379 sal3!rtl_uString_newFromAscii+0x15
00b2cfc0 56541947 00b2d098 d2813c09 d23df0f2 wininetbe1_uno!component_getFactory+0x10c0
00b2d0b0 565428ba d2813c6d 00b2d0cc 0518d3e8 wininetbe1_uno!component_getFactory+0x867
00b2d0d4 56541035 00b2d0e8 d2813c41 00000000 wininetbe1_uno!component_getFactory+0x17da
00b2d0f8 5acda3f8 00b2d144 58ca63f0 c9598715 wininetbe1_uno+0x1035
00b2d158 5acda703 00b2d42c 58ca63f0 c9598731 cppuhelper3MSC!cppu::createStandardClassWithSequence+0x208
00b2d17c 5acdb28e 0518959c 00b2d42c 58ca63f0 cppuhelper3MSC!cppu::createStandardClassWithSequence+0x513
00b2d1b4 5acdbe4b 0518959c 00b2d42c 58ca63f0 cppuhelper3MSC!cppu::createStandardClassWithSequence+0x109e
00b2d1f0 5acda703 00b2d42c 58ca63f0 c9598459 cppuhelper3MSC!cppu::createStandardClassWithSequence+0x1c5b
00b2d214 5acdb28e 0518d4e0 00b2d42c 58ca63f0 cppuhelper3MSC!cppu::createStandardClassWithSequence+0x513
00b2d24c 58f1b47e 0518d4e0 00b2d42c 58ca63f0 cppuhelper3MSC!cppu::createStandardClassWithSequence+0x109e
00b2d2e4 58c239ae 00da0134 00b2d42c 00b2d4f4 bootstrap_uno!component_getFactory+0x4a44e
00b2d51c 58c47731 00b2d544 027c23c8 c9a09ae8 configmgr_uno+0x439ae
00b2d560 58c1fe20 00b2d738 58ca63f0 c9a09918 configmgr_uno+0x67731
00b2d690 58be9173 00b2d738 c9a0994c 00000000 configmgr_uno+0x3fe20
00b2d6c4 5a87c3fd 08236038 00b2d738 0823b9f8 configmgr_uno+0x9173
00b2d774 5a8b2896 00b2d7a4 00b2d7b4 c95987a6 utllo!utl::ConfigItem::GetProperties+0xed
00b2d7e4 5a8b2df9 00b2d804 00000001 c9598862 utllo!SvtHistoryOptions::GetOwnStaticMutex+0x11c6
00b2d820 5a200dc7 c959957e 00000015 00f50000 utllo!SvtInetOptions::GetProxyType+0x39
00b2dd24 57777eb3 0577b5c8 cf84b3e8 00f50000 sfxlo!SfxApplication::GetOptions+0x11f7
00b2e020 577754b7 000028b0 cf84b7b4 00000000 cuilo!GetSpecialCharsForEdit+0x79da3
00b2e47c 57774dbf 0b7a9834 00b2e4a0 5aaf4764 cuilo!GetSpecialCharsForEdit+0x773a7
00b2e488 5aaf4764 0b7a8a10 0b7a9834 00000000 cuilo!GetSpecialCharsForEdit+0x76caf
00b2e4a0 591a3747 0b7a9834 0b7a9834 00b2e4dc tllo!Link::Call+0x24
00b2e4b0 591a3451 00f59570 00f59570 00b2e4cc vcllo!Timer::Timeout+0x17
00b2e4dc 5952da18 0569a580 00b2e530 5952d979 vcllo!Timer::ImplTimerCallbackProc+0xd1
00b2e4e8 5952d979 c959abcc 00000000 5952d890 vcllo!WorkWindow::IsMaximized+0x16a68
00b2e530 766362fa 00000000 00000113 00003e4c vcllo!WorkWindow::IsMaximized+0x169c9
00b2e55c 76637b16 5952d890 00000000 00000113 USER32!InternalCallWinProc+0x23
00b2e5d4 766379c7 00000000 5952d890 00000000 USER32!UserCallWinProc+0x104
00b2e62c 7663788a 00b2e66c 00000000 00b2e648 USER32!DispatchMessageWorker+0x155
00b2e63c 5951f71d 00b2e66c 00b2e65c 59527fe5 USER32!DispatchMessageW+0xf
00b2e648 59527fe5 00b2e66c 00000000 00f59330 vcllo!WorkWindow::IsMaximized+0x876d
00b2e65c 59527f9f 00b2e66c 00009570 00000000 vcllo!WorkWindow::IsMaximized+0x11035
00b2e68c 595280e8 00000001 00000000 00f51af0 vcllo!WorkWindow::IsMaximized+0x10fef
00b2e6b4 591955ae 00000001 00000000 013c4fa1 vcllo!WorkWindow::IsMaximized+0x11138
00b2e6cc 5919563f 00000001 00000000 00b2e714 vcllo!Application::Reschedule+0xae
00b2e6dc 594640df 00000000 c959a9e8 0b7a8a10 vcllo!Application::Yield+0xf
00b2e714 5777e377 cf84b494 00b2e740 00b2e740 vcllo!Dialog::Execute+0x7f
00b2e75c 576f1a7f 05763b60 00b2ef0c 5a21a23e cuilo!GetSpecialCharsForEdit+0x80267
00b2e768 5a21a23e c959a756 00000000 59569380 cuilo!CreateDialogFactory+0x2ef
00b2ef0c 5a20aebf 00b2f068 00b2ef2c 5a1f1052 sfxlo!SfxApplication::OfaExec_Impl+0x27e
00b2ef18 5a1f1052 056ec7c0 00b2f068 056ec7c0 sfxlo!SfxInterface::operator[]+0x66f
00b2ef2c 5a2a2a67 5a20aeb0 00b2f068 c959a792 sfxlo!SfxShell::CallExec+0x12
00b2efc8 5a2a4fcb 056ec7c0 5a617b40 00b2f068 sfxlo!SfxDispatcher::Call_Impl+0x327
00b2f00c 5a2a56ca 056ec7c0 5a617b40 00b2f068 sfxlo!SfxDispatcher::_Execute+0x17b
00b2f0b4 5a2b9f83 00007b8e 00000004 00000000 sfxlo!SfxDispatcher::Execute+0x17a
00b2f2c8 5a2b81f9 0b7a5d70 00b2f418 00b2f414 sfxlo!SfxShell::SetViewShell_Impl+0x6443
00b2f324 587f7918 0823c05c 00b2f418 00b2f414 sfxlo!SfxShell::SetViewShell_Impl+0x46b9
00b2f450 587f72df 0579ab68 00b2f474 5aaf4764 fwklo!fwk_component_getFactory+0xb07f8
00b2f45c 5aaf4764 0786b9ac 0579ab68 ffffffff fwklo!fwk_component_getFactory+0xb01bf
00b2f474 5947c9bf 0579ab68 c959ba5c 0579ab68 tllo!Link::Call+0x24
00b2f4a0 5948237e 0579ab68 00b2f4b8 5948234f vcllo!Menu::Select+0x7f
00b2f4ac 5948234f 00000000 00b2f4d0 5aaf4764 vcllo!Menu::ImplCallSelect+0x1e
00b2f4b8 5aaf4764 0579ab68 00000000 00b2f4d4 vcllo!Menu::LinkStubImplCallSelect+0xf
00b2f4d0 595154fc 00000000 056c9410 05699180 tllo!Link::Call+0x24
00b2f4f0 595136dd 056c94a0 59569380 00000000 vcllo!Window::ImplAsyncFocusHdl+0x2b1c
00b2f5bc 5955fd3e 05718320 057185c0 00000016 vcllo!Window::ImplAsyncFocusHdl+0xcfd
00b2f5dc 5956672c 00000016 056c94a0 057185c0 vcllo!WorkWindow::IsMaximized+0x48d8e
00b2f5f0 595647c6 00180896 056c94a0 00f50000 vcllo!WorkWindow::IsMaximized+0x4f77c
00b2f670 595693e1 00180896 00000482 00000000 vcllo!WorkWindow::IsMaximized+0x4d816
00b2f6c0 766362fa 00180896 00000482 00000000 vcllo!WorkWindow::IsMaximized+0x52431
00b2f6ec 76636d3a 59569380 00180896 00000482 USER32!InternalCallWinProc+0x23
00b2f764 766377c4 00000000 59569380 00180896 USER32!UserCallWinProcCheckWow+0x109
00b2f7c4 7663788a 59569380 00000000 00b2f7e0 USER32!DispatchMessageWorker+0x3bc
00b2f7d4 5951f71d 00b2f804 00b2f7f4 59527fe5 USER32!DispatchMessageW+0xf
00b2f7e0 59527fe5 00b2f804 00000000 00f59330 vcllo!WorkWindow::IsMaximized+0x876d
00b2f7f4 59527f2d 00b2f804 00009570 00180896 vcllo!WorkWindow::IsMaximized+0x11035
00b2f824 595280e8 00000001 00000000 00f51af0 vcllo!WorkWindow::IsMaximized+0x10f7d
00b2f84c 591955ae 00000001 00000000 01b2f874 vcllo!WorkWindow::IsMaximized+0x11138
00b2f864 5919563f 00000001 00000000 00b2f884 vcllo!Application::Reschedule+0xae
00b2f874 591954eb 00000000 596fdf28 00b2fcb8 vcllo!Application::Yield+0xf
00b2f884 5af28729 c959b496 0110437c 00db33af vcllo!Application::Execute+0x2b
00b2fcb8 591a09a9 c959b20c 00d554e0 027c1590 sofficeapp+0x8729
00b2fcf0 591a0ad3 00d554e0 00b2fd5c 5af55a3b vcllo!DockingWindow::SetFloatingPos+0x5eb9
00b2fcfc 5af55a3b c959b572 00b2fd14 00b2fd14 vcllo!SVMain+0x23
00b2fd5c 011014d9 00b2fd70 01101479 00f59088 sofficeapp!soffice_main+0xab
00b2fd64 01101479 00f59088 00b2fd88 011014b8 soffice+0x14d9
00b2fd70 011014b8 00000002 00f59088 00f59088 soffice+0x1479
00b2fd88 01101f5d 01100000 00000000 00db33af soffice+0x14b8
00b2fe18 7509339a 7efde000 00b2fe64 778e9ef2 soffice+0x1f5d
00b2fe24 778e9ef2 7efde000 76290187 00000000 kernel32!BaseThreadInitThunk+0xe
00b2fe64 778e9ec5 0110213c 7efde000 00000000 ntdll!__RtlUserThreadStart+0x70
00b2fe7c 00000000 0110213c 7efde000 00000000 ntdll!_RtlUserThreadStart+0x1b


SYMBOL_NAME:  sal3!rtl_uString_newFromAscii+15

FOLLOWUP_NAME:  MachineOwner


IMAGE_NAME:  sal3.dll


STACK_COMMAND:  ~0s ; kb

FAILURE_BUCKET_ID:  INVALID_POINTER_READ_c0000005_sal3.dll!rtl_uString_newFromAscii


WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/soffice_bin/3_5_3_1/4f92f69e/sal3_dll/3_5_3_1/4f92fc45/c0000005/0000b085.htm?Retriage=1

Followup: MachineOwner
Comment 8 bfoman (inactive) 2012-05-24 05:01:11 UTC
Added another WinDbg session in bug 47044.