Re: [cedet-semantic] semantic-idle including error
Brought to you by:
zappo
From: Nate <nat...@hu...> - 2008-12-24 14:07:59
|
Eric, Here's the stack trace. I put an extra <CR> between the exceptionally long lines. FWIW, the stdio.h file exists where semanticdb is looking for it. Thanks for any guidance you might have. Debugger entered--Lisp error: (wrong-type-argument stringp nil) get-file-buffer(nil) semanticdb-file-table-object("c:/cygwin/usr/include/stdio.h") semanticdb-find-load-unloaded-default("c:/cygwin/usr/include/stdio.h") semanticdb-find-load-unloaded("c:/cygwin/usr/include/stdio.h") semanticdb-find-table-for-include-default(("stdio.h" include nil (:filename "z:/spw_st/st/src/svc/src/SvcManager.cpp" dependency-file "c:/cygwin/usr/include/stdio.h") #<overlay from 4381 to 4399 in SvcManager.cpp>) [object semanticdb-table "SvcManager.cpp" [object semanticdb-project-database-file "semantic/" "z:/spw_st/st/src/svc/src/" semanticdb-table nil (#0 [object semanticdb-table "SvcBwsHandler.cpp" #1 c++-mode ... unbound nil "SvcBwsHandler.cpp" nil nil nil 3078 3280 ... unbound nil] [object semanticdb-table "SvcRmcProxy.cpp" #1 c++-mode ... unbound nil "SvcRmcProxy.cpp" nil nil nil 717 716 ... nil nil]) "c:/Docume~1/nschley/MyDocu~1/C++/semantic/!drive_z!spw_st!st!src!svc!src!semantic.cache" "2.0pre4" "2.0pre4"] c++-mode (("SysInstallationParameters.h" include nil ... #<overlay from 4197 to 4235 in SvcManager.cpp>) ("SysSharedMemDefs.h" include nil ... #<overlay from 4236 to 4265 in SvcManager.cpp>) ("SvcManager.h" include nil ... #<overlay from 4266 to 4289 in SvcManager.cpp>) ("TskTimer.h" include nil ... #<overlay from 4290 to 4311 in SvcManager.cpp>) ("TskProcessor.h" include nil ... #<overlay from 4312 to 4337 in SvcManager.cpp>) ("LogTypes.h" include nil ... #<overlay from 4338 to 4359 in SvcManager.cpp>) ("BufMgmt.h" include nil ... #<overlay from 4360 to 4380 in SvcManager.cpp>) ("stdio.h" include nil ... #<overlay from 4381 to 4399 in SvcManager.cpp>) ("iostream" include ... ... #<overlay from 4400 to 4419 in SvcManager.cpp>) ("std" using ... nil #<overlay from 4420 to 4440 in SvcManager.cpp>) ("needPacking" variable ... nil #<overlay from 4493 to 4522 in SvcManager.cpp>) ("SvcManager" function ... ... #<overlay from 4884 to 8485 in SvcManager.cpp>) ("setTimingTask" function ... ... #<overlay from 8565 to 8965 in SvcManager.cpp>) ("setMctProxy" function ... ... #<overlay from 9047 to 9129 in SvcManager.cpp>) ("setMonAgent" function ... ... #<overlay from 9210 to 9292 in SvcManager.cpp>) ("updateNoccServiceMIP" function ... ... #<overlay from 21156 to 22017 in SvcManager.cpp>) ("updateServiceProf" function ... ... #<overlay from 22098 to 31204 in SvcManager.cpp>) ("updateSystemProf" function ... ... #<overlay from 31285 to 34291 in SvcManager.cpp>) ("updateSystemProfileMIP" function ... ... #<overlay from 34372 to 36280 in SvcManager.cpp>) ("updateDLRegionMAPMIP" function ... ... #<overlay from 36361 to 39873 in SvcManager.cpp>) ("updateChannelInfoMIP" function ... ... #<overlay from 39954 to 44799 in SvcManager.cpp>) ("updateMonParams" function ... ... #<overlay from 44880 to 46673 in SvcManager.cpp>) ("toUpdateVirtualPortState" function ... ... #<overlay from 46754 to 47132 in SvcManager.cpp>) ("updateVirtualPortState" function ... ... #<overlay from 47213 to 47721 in SvcManager.cpp>) ("updateTransChanType" function ... ... #<overlay from 47802 to 48284 in SvcManager.cpp>) ("updateStState" function ... ... #<overlay from 48365 to 48858 in SvcManager.cpp>) ("updateCapacityKeyParams" function ... ... #<overlay from 49578 to 51302 in SvcManager.cpp>) ("updateSAMSTProfileUpdate" function ... ... #<overlay from 51383 to 54715 in SvcManager.cpp>) ("procSamBootSwVerInd" function ... ... #<overlay from 54796 to 55253 in SvcManager.cpp>) ("handleTrafficProfileTimeout" function ... ... #<overlay from 55334 to 57714 in SvcManager.cpp>) ("handleBwsConfigReqTimeout" function ... ... #<overlay from 57795 to 58031 in SvcManager.cpp>) ("handleBwsInitReqTimeout" function ... ... #<overlay from 58112 to 58344 in SvcManager.cpp>) ("handleBwsSysProfMIPTimeout" function ... ... #<overlay from 58425 to 58762 in SvcManager.cpp>) ("handleUppInitReqTimeout" function ... ... #<overlay from 58844 to 59111 in SvcManager.cpp>) ("handleMctReqTimeout" function ... ... #<overlay from 59192 to 59516 in SvcManager.cpp>) ("processMctResponse" function ... ... #<overlay from 87271 to 87385 in SvcManager.cpp>) ("processBwsConfigResponse" function ... ... #<overlay from 87466 to 87771 in SvcManager.cpp>) ("processBwsInitTableResponse" function ... ... #<overlay from 87852 to 88736 in SvcManager.cpp>) ("processBwsSysMIPResponse" function ... ... #<overlay from 88817 to 89135 in SvcManager.cpp>) ("processBwsSynchIndication" function ... ... #<overlay from 89216 to 93041 in SvcManager.cpp>) ("processBwsModeIndication" function ... ... #<overlay from 93122 to 99938 in SvcManager.cpp>) ("updateBwsConfig" function ... ... #<overlay from 100040 to 100475 in SvcManager.cpp>) ("updateBwsInitTable" function ... ... #<overlay from 100556 to 101291 in SvcManager.cpp>) ("updateBwsSysMIP" function ... ... #<overlay from 101372 to 101789 in SvcManager.cpp>) ("updateUppInitTable" function ... ... #<overlay from 101871 to 103415 in SvcManager.cpp>) ("processUppInitTableResponse" function ... ... #<overlay from 103520 to 104130 in SvcManager.cpp>) ("getCRWBInstance" function ... ... #<overlay from 104787 to 104926 in SvcManager.cpp>) ("getRateConnQGType" function ... ... #<overlay from 105007 to 105120 in SvcManager.cpp>) ("getBODUplinkBandwidth" function ... ... #<overlay from 105201 to 106016 in SvcManager.cpp>) ("getSARNumForCRCRWB" function ... ... #<overlay from 106097 to 107633 in SvcManager.cpp>) ...) [object semanticdb-find-search-index "#<semanticdb-table SvcManager.cpp> index" #0 (#0 [object semanticdb-table "stdio.h" [object semanticdb-project-database-file "include/" "c:/cygwin/usr/include/" semanticdb-table nil ... "c:/Docume~1/nschley/MyDocu~1/C++/semantic/!drive_c!cygwin!usr!include!semantic.cache" "2.0pre5" "2.0pre5"] nil unbound [object semanticdb-find-search-index "#<semanticdb-table stdio.h> index" #3 nil [object semanticdb-typecache "c:/cygwin/usr/include/stdio.h" nil nil nil nil]] nil "stdio.h" nil nil ... nil nil nil unbound nil]) [object semanticdb-typecache "z:/spw_st/st/src/svc/src/SvcManager.cpp" nil nil nil ...]] ([object semantic-scope-cache "Cache" #0 ... nil nil nil nil nil ... nil]) "SvcManager.cpp" #<buffer SvcManager.cpp> nil nil 178641 178640 (18713 24854) nil nil]) semanticdb-find-table-for-include(("stdio.h" include nil (:filename "z:/spw_st/st/src/svc/src/SvcManager.cpp" dependency-file "c:/cygwin/usr/include/stdio.h") #<overlay from 4381 to 4399 in SvcManager.cpp>) [object semanticdb-table "SvcManager.cpp" [object semanticdb-project-database-file "semantic/" "z:/spw_st/st/src/svc/src/" semanticdb-table nil (#0 [object semanticdb-table "SvcBwsHandler.cpp" #1 c++-mode ... unbound nil "SvcBwsHandler.cpp" nil nil nil 3078 3280 ... unbound nil] [object semanticdb-table "SvcRmcProxy.cpp" #1 c++-mode ... unbound nil "SvcRmcProxy.cpp" nil nil nil 717 716 ... nil nil]) "c:/Docume~1/nschley/MyDocu~1/C++/semantic/!drive_z!spw_st!st!src!svc!src!semantic.cache" "2.0pre4" "2.0pre4"] c++-mode (("SysInstallationParameters.h" include nil ... #<overlay from 4197 to 4235 in SvcManager.cpp>) ("SysSharedMemDefs.h" include nil ... #<overlay from 4236 to 4265 in SvcManager.cpp>) ("SvcManager.h" include nil ... #<overlay from 4266 to 4289 in SvcManager.cpp>) ("TskTimer.h" include nil ... #<overlay from 4290 to 4311 in SvcManager.cpp>) ("TskProcessor.h" include nil ... #<overlay from 4312 to 4337 in SvcManager.cpp>) ("LogTypes.h" include nil ... #<overlay from 4338 to 4359 in SvcManager.cpp>) ("BufMgmt.h" include nil ... #<overlay from 4360 to 4380 in SvcManager.cpp>) ("stdio.h" include nil ... #<overlay from 4381 to 4399 in SvcManager.cpp>) ("iostream" include ... ... #<overlay from 4400 to 4419 in SvcManager.cpp>) ("std" using ... nil #<overlay from 4420 to 4440 in SvcManager.cpp>) ("needPacking" variable ... nil #<overlay from 4493 to 4522 in SvcManager.cpp>) ("SvcManager" function ... ... #<overlay from 4884 to 8485 in SvcManager.cpp>) ("setTimingTask" function ... ... #<overlay from 8565 to 8965 in SvcManager.cpp>) ("setMctProxy" function ... ... #<overlay from 9047 to 9129 in SvcManager.cpp>) ("setMonAgent" function ... ... #<overlay from 9210 to 9292 in SvcManager.cpp>) ("updateNoccServiceMIP" function ... ... #<overlay from 21156 to 22017 in SvcManager.cpp>) ("updateServiceProf" function ... ... #<overlay from 22098 to 31204 in SvcManager.cpp>) ("updateSystemProf" function ... ... #<overlay from 31285 to 34291 in SvcManager.cpp>) ("updateSystemProfileMIP" function ... ... #<overlay from 34372 to 36280 in SvcManager.cpp>) ("updateDLRegionMAPMIP" function ... ... #<overlay from 36361 to 39873 in SvcManager.cpp>) ("updateChannelInfoMIP" function ... ... #<overlay from 39954 to 44799 in SvcManager.cpp>) ("updateMonParams" function ... ... #<overlay from 44880 to 46673 in SvcManager.cpp>) ("toUpdateVirtualPortState" function ... ... #<overlay from 46754 to 47132 in SvcManager.cpp>) ("updateVirtualPortState" function ... ... #<overlay from 47213 to 47721 in SvcManager.cpp>) ("updateTransChanType" function ... ... #<overlay from 47802 to 48284 in SvcManager.cpp>) ("updateStState" function ... ... #<overlay from 48365 to 48858 in SvcManager.cpp>) ("updateCapacityKeyParams" function ... ... #<overlay from 49578 to 51302 in SvcManager.cpp>) ("updateSAMSTProfileUpdate" function ... ... #<overlay from 51383 to 54715 in SvcManager.cpp>) ("procSamBootSwVerInd" function ... ... #<overlay from 54796 to 55253 in SvcManager.cpp>) ("handleTrafficProfileTimeout" function ... ... #<overlay from 55334 to 57714 in SvcManager.cpp>) ("handleBwsConfigReqTimeout" function ... ... #<overlay from 57795 to 58031 in SvcManager.cpp>) ("handleBwsInitReqTimeout" function ... ... #<overlay from 58112 to 58344 in SvcManager.cpp>) ("handleBwsSysProfMIPTimeout" function ... ... #<overlay from 58425 to 58762 in SvcManager.cpp>) ("handleUppInitReqTimeout" function ... ... #<overlay from 58844 to 59111 in SvcManager.cpp>) ("handleMctReqTimeout" function ... ... #<overlay from 59192 to 59516 in SvcManager.cpp>) ("processMctResponse" function ... ... #<overlay from 87271 to 87385 in SvcManager.cpp>) ("processBwsConfigResponse" function ... ... #<overlay from 87466 to 87771 in SvcManager.cpp>) ("processBwsInitTableResponse" function ... ... #<overlay from 87852 to 88736 in SvcManager.cpp>) ("processBwsSysMIPResponse" function ... ... #<overlay from 88817 to 89135 in SvcManager.cpp>) ("processBwsSynchIndication" function ... ... #<overlay from 89216 to 93041 in SvcManager.cpp>) ("processBwsModeIndication" function ... ... #<overlay from 93122 to 99938 in SvcManager.cpp>) ("updateBwsConfig" function ... ... #<overlay from 100040 to 100475 in SvcManager.cpp>) ("updateBwsInitTable" function ... ... #<overlay from 100556 to 101291 in SvcManager.cpp>) ("updateBwsSysMIP" function ... ... #<overlay from 101372 to 101789 in SvcManager.cpp>) ("updateUppInitTable" function ... ... #<overlay from 101871 to 103415 in SvcManager.cpp>) ("processUppInitTableResponse" function ... ... #<overlay from 103520 to 104130 in SvcManager.cpp>) ("getCRWBInstance" function ... ... #<overlay from 104787 to 104926 in SvcManager.cpp>) ("getRateConnQGType" function ... ... #<overlay from 105007 to 105120 in SvcManager.cpp>) ("getBODUplinkBandwidth" function ... ... #<overlay from 105201 to 106016 in SvcManager.cpp>) ("getSARNumForCRCRWB" function ... ... #<overlay from 106097 to 107633 in SvcManager.cpp>) ...) [object semanticdb-find-search-index "#<semanticdb-table SvcManager.cpp> index" #0 (#0 [object semanticdb-table "stdio.h" [object semanticdb-project-database-file "include/" "c:/cygwin/usr/include/" semanticdb-table nil ... "c:/Docume~1/nschley/MyDocu~1/C++/semantic/!drive_c!cygwin!usr!include!semantic.cache" "2.0pre5" "2.0pre5"] nil unbound [object semanticdb-find-search-index "#<semanticdb-table stdio.h> index" #3 nil [object semanticdb-typecache "c:/cygwin/usr/include/stdio.h" nil nil nil nil]] nil "stdio.h" nil nil ... nil nil nil unbound nil]) [object semanticdb-typecache "z:/spw_st/st/src/svc/src/SvcManager.cpp" nil nil nil ...]] ([object semantic-scope-cache "Cache" #0 ... nil nil nil nil nil ... nil]) "SvcManager.cpp" #<buffer SvcManager.cpp> nil nil 178641 178640 (18713 24854) nil nil]) semanticdb-find-translate-path-includes--internal(#<buffer SvcManager.cpp>) semanticdb-find-translate-path-includes-default(#<buffer SvcManager.cpp>) semanticdb-find-translate-path-default(#<buffer SvcManager.cpp> nil) semanticdb-find-translate-path(#<buffer SvcManager.cpp> nil) semantic-idle-work-for-one-buffer(#<buffer SvcManager.cpp>) byte-code(".... Thanks, Nate >Am Dez 23, 2008, er...@si... schrieb: >The best way to debug the idle timer is to use one of the commands: > >semantic-debug-idle-function >semantic-debug-idle-work-function > >In your case, you want the work function. > >The work function does different things depending on which file you >are in when it starts. > >The command will run the work function with debugging turned on, and >the error handlers all turned off. The resulting stack trace is what >will prove most useful. |