всем добрый день! возникла проблема: при отладке программы после нажатия на кнопку, после которого должен выполняться слот:
void CPDialog::browse() {
dir = QFileDialog::getExistingDirectory(0, tr("Обзор"), "", QFileDialog::ShowDirsOnly);
if(!dir.isEmpty()) projectDir->setEditText(dir);
}
отладчик пишет:
warning: SNAC NP Attach!
warning: "C:\Qt\projects\myfile\debug/myfile.exe"
warning: NPGetCaps::WNNC_NET_TYPE
warning: NPGetCaps::WNNC_USER
warning: NPGetCaps::WNNC_CONNECTION
warning: NPGetCaps::WNNC_ENUMERATION
warning: NPGetCaps::WNNC_ADMIN
warning: NPGetCaps::WNNC_DIALOG
warning: NPGetCaps::WNNC_START
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 3952.0x16ac]
0x77ea0742 in _libkernel32_a_iname ()
(gdb) info program
Using the running image of child thread 3952.0x16ac.
Program stopped at 0x77ea0742.
It stopped with signal SIGSEGV, Segmentation fault.
пробовал пропустить сигнал - не получается:
(gdb) signal 0
Continuing with no signal.
Program received signal SIGSEGV, Segmentation fault.
0x77ea0742 in _libkernel32_a_iname ()
вот что выдал backtrace:
(gdb) backtrace
#0 0x77ea0742 in _libkernel32_a_iname ()
#1 0x76332510 in _libkernel32_a_iname ()
#2 0x0747f320 in ?? ()
#3 0x77ef360b in _libkernel32_a_iname ()
#4 0x76333944 in _libkernel32_a_iname ()
#5 0x763338f2 in _libkernel32_a_iname ()
#6 0x76333bf2 in _libkernel32_a_iname ()
#7 0x75965589 in _libkernel32_a_iname ()
#8 0x75954038 in _libkernel32_a_iname ()
#9 0x7594dee2 in _libkernel32_a_iname ()
#10 0x73d339da in _libkernel32_a_iname ()
#11 0x73d33fab in _libkernel32_a_iname ()
#12 0x7ca3310b in _libkernel32_a_iname ()
#13 0x7ca33083 in _libkernel32_a_iname ()
#14 0x7ca33048 in _libkernel32_a_iname ()
#15 0x7e275eea in _libkernel32_a_iname ()
#16 0x7e275a9a in _libkernel32_a_iname ()
#17 0x7e2b1c03 in _libkernel32_a_iname ()
#18 0x75f63042 in _libkernel32_a_iname ()
#19 0x77f69588 in _libkernel32_a_iname ()
#20 0x7c927332 in _libkernel32_a_iname ()
#21 0x7c927373 in _libkernel32_a_iname ()
#22 0x7c927435 in _libkernel32_a_iname ()
#23 0x7c92740c in _libkernel32_a_iname ()
#24 0x7c80b6a3 in _libkernel32_a_iname ()
прошу помочь с данной проблемой...
ЗЫ в релизе вроде работает, но некоторые глюки все равно есть
P.P.S. gcc 3.4.2(MinGW) , gdb 5.2.1, Qt 4.4.0