From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12587 invoked by alias); 21 Nov 2013 21:54:36 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 12562 invoked by uid 48); 21 Nov 2013 21:54:35 -0000 From: "smaximov at yahoo dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/16201] internal error on a cygwin program linked against a DLL with no .data section Date: Thu, 21 Nov 2013 21:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: smaximov at yahoo dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q4/txt/msg00357.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16201 --- Comment #5 from Stas Maximov --- This appears to be COFF-PE specific. It is not likely to be repeatable on a platform other than 32-bit Cygwin. If it helps, here is the result of coff-pe-read trace: ... $ gdb test1 (gdb) set debug coff-pe-read 1 (gdb) run Starting program: /home/user/test/test1.exe [New Thread 8076.0x29e8] Export RVA for dll "/cygdrive/c/Windows/system32/ntdll.dll" is in section ".text" DLL "ntdll" has 2025 export entries, base=1 Finished reading "ntdll", exports 2025, forwards 0, total 2025/2025. Export RVA for dll "/cygdrive/c/Windows/syswow64/kernel32.dll" is in section ".text" DLL "KERNEL32" has 1364 export entries, base=1 Unable to find function "AddDllDirectory" in dll "api-ms-win-core-libraryloader-l1-1-0", forward of "AddDllDirectory" in dll "KERNEL32" Unable to find function "CreateRemoteThreadEx" in dll "api-ms-win-core-processthreads-l1-1-0", forward of "CreateRemoteThreadEx" in dll "KERNEL32" Unable to find function "DeleteProcThreadAttributeList" in dll "api-ms-win-core-processthreads-l1-1-0", forward of "DeleteProcThreadAttributeList" in dll "KERNEL32" Unable to find function "GetLogicalProcessorInformationEx" in dll "api-ms-win-core-sysinfo-l1-1-0", forward of "GetLogicalProcessorInformationEx" in dll "KERNEL32" Unable to find function "InitializeProcThreadAttributeList" in dll "api-ms-win-core-processthreads-l1-1-0", forward of "InitializeProcThreadAttributeList" in dll "KERNEL32" Unable to find function "OpenProcessToken" in dll "api-ms-win-core-processthreads-l1-1-0", forward of "OpenProcessToken" in dll "KERNEL32" Unable to find function "OpenThreadToken" in dll "api-ms-win-core-processthreads-l1-1-0", forward of "OpenThreadToken" in dll "KERNEL32" Unable to find function "RemoveDllDirectory" in dll "api-ms-win-core-libraryloader-l1-1-0", forward of "RemoveDllDirectory" in dll "KERNEL32" Unable to find function "SetDefaultDllDirectories" in dll "api-ms-win-core-libraryloader-l1-1-0", forward of "SetDefaultDllDirectories" in dll "KERNEL32" Unable to find function "SetThreadToken" in dll "api-ms-win-core-processthreads-l1-1-0", forward of "SetThreadToken" in dll "KERNEL32" Unable to find function "SetWaitableTimerEx" in dll "api-ms-win-core-threadpool-l1-1-0", forward of "SetWaitableTimerEx" in dll "KERNEL32" Unable to find function "SystemTimeToTzSpecificLocalTimeEx" in dll "kernelbase", forward of "SystemTimeToTzSpecificLocalTimeEx" in dll "KERNEL32" Unable to find function "TzSpecificLocalTimeToSystemTimeEx" in dll "kernelbase", forward of "TzSpecificLocalTimeToSystemTimeEx" in dll "KERNEL32" Unable to find function "UpdateProcThreadAttribute" in dll "api-ms-win-core-processthreads-l1-1-0", forward of "UpdateProcThreadAttribute" in dll "KERNEL32" Finished reading "KERNEL32", exports 1282, forwards 68, total 1350/1364. Export RVA for dll "/cygdrive/c/Windows/syswow64/KERNELBASE.dll" is in section ".text" DLL "KERNELBASE" has 633 export entries, base=1 Finished reading "KERNELBASE", exports 576, forwards 57, total 633/633. Export RVA for dll "/home/user/test/icudt49.dll" is in section ".rdata" DLL "icudt49" has 1 export entries, base=1 /netrel/src/gdb-7.6.50-4/gdb/minsyms.c:885: internal-error: sect_index_data not initialized A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y /netrel/src/gdb-7.6.50-4/gdb/minsyms.c:885: internal-error: sect_index_data not initialized A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) n -- You are receiving this mail because: You are on the CC list for the bug.