public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5745] New: fstack cores
@ 2008-02-07 19:02 cagney at redhat dot com
  2008-02-07 20:25 ` [Bug general/5745] " mark at klomp dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: cagney at redhat dot com @ 2008-02-07 19:02 UTC (permalink / raw)
  To: frysk-bugzilla

cagney@localhost$ ../frysk-core/frysk/bindir/fcatch
../frysk-core/frysk/bindir/fstack core.18692 ./TestRunner
Entered parseCommand
fcatch: from PID 18955 TID 18955:
SIGSEGV(11) detected - dumping stack trace for TID 18955
#0 0x082cf3b8 in read_proc_memory(void*, void*, unsigned long long, unsigned
int, unsigned int) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#1 0x0855348b in elf_from_remote_memory () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#2 0x082cf35f in dwfl_frysk_proc_find_elf(Dwfl_Module*, void**, char const*,
unsigned long long, char**, Elf**) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#3 0x08551898 in find_file () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#4 0x08551ae3 in find_symtab () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#5 0x08551c6a in dwfl_module_getsymtab () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#6 0x085540dc in dwfl_module_addrsym () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#7 0x082cfd98 in hidden alias for void lib::dwfl::DwflModule::getSymbol(long
long, lib::dwfl::SymbolBuilder*) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#8 0x08218e7f in frysk::symtab::Symbol*
frysk::symtab::SymbolFactory::getSymbol(frysk::proc::Task*, long long) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#9 0x082091a2 in frysk::symtab::Symbol*
frysk::stack::LibunwindFrame::getSymbol() () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#10 0x082072ea in void frysk::stack::Frame::toPrint(java::io::PrintWriter*,
bool, bool) () from /home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#11 0x0820b720 in void
frysk::stack::StackFactory::printTaskStackTrace(java::io::PrintWriter*,
frysk::proc::Task*, bool, bool, int) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#12 0x08230901 in void frysk::util::StacktraceAction::printTasks() () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#13 0x08230a52 in void
frysk::util::StacktraceAction::allExistingTasksCompleted() () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#14 0x081e8dc7 in
frysk::proc::ProcCoreAction::ProcCoreAction(frysk::proc::Proc*,
frysk::proc::ProcObserver$ProcAction*) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#15 0x080fa5d3 in void
frysk::bindir::fstack::stackCore(frysk::util::CoreExePair*) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#16 0x080fa98d in void
frysk::bindir::fstack::access$1(frysk::util::CoreExePair*) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#17 0x080f9f15 in void
frysk::bindir::fstack$2::parseCores(JArray<frysk::util::CoreExePair*>*) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#18 0x0822d158 in JArray<java::lang::String*>*
frysk::util::CommandlineParser::doParse(JArray<java::lang::String*>*) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#19 0x0822ccd5 in JArray<java::lang::String*>*
frysk::util::CommandlineParser::parse(JArray<java::lang::String*>*) () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#20 0x080fa92d in void frysk::bindir::fstack::main(JArray<java::lang::String*>*)
() from /home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#21 0x02ddd3d1 in void gnu::java::lang::MainThread::call_main() () from
/usr/lib/libgcj.so.8rh.0.0
#22 0x02e56987 in void gnu::java::lang::MainThread::run() () from
/usr/lib/libgcj.so.8rh.0.0
#23 0x02defb63 in _Jv_ThreadRun(java::lang::Thread*) () from
/usr/lib/libgcj.so.8rh.0.0
#24 0x02d9b8ea in _Jv_RunMain(_Jv_VMInitArgs*, java::lang::Class*, char const*,
int, char const**, bool) () from /usr/lib/libgcj.so.8rh.0.0
#25 0x02d9baa4 in _Jv_RunMain(java::lang::Class*, char const*, int, char
const**, bool) () from /usr/lib/libgcj.so.8rh.0.0
#26 0x02d9bb2b in JvRunMain () from /usr/lib/libgcj.so.8rh.0.0
#27 0x080f66c1 in main () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
#28 0x00808390 in __libc_start_main () from /lib/libc-2.7.so
#29 0x080f65c1 in void java::awt::Component::transferFocusUpCycle() () from
/home/scratch/frysk/pid/native/frysk-core/frysk/bindir/fstack
SIGSEGV(11) detected - dumping stack trace for TID 18956
#0 0x00110402 in __kernel_vsyscall () from
/home/scratch/frysk/pid/native/frysk-sys/[vdso]
#1 0x000518e0 in [unknown] from /home/scratch/frysk/pid/native/frysk-sys/Unknown
#2 0xf13c8001 in [unknown] from /home/scratch/frysk/pid/native/frysk-sys/Unknown

-- 
           Summary: fstack cores
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com
                CC: mwielaard at redhat dot com
OtherBugsDependingO 2244
             nThis:


http://sourceware.org/bugzilla/show_bug.cgi?id=5745

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug general/5745] fstack cores
  2008-02-07 19:02 [Bug general/5745] New: fstack cores cagney at redhat dot com
@ 2008-02-07 20:25 ` mark at klomp dot org
  2008-02-08 10:54 ` pmuldoon at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2008-02-07 20:25 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mark at klomp dot org  2008-02-07 20:25 -------
That looks familiar, but I lost the core file that produced a similar issues.
Can you make the core file available somewhere?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|mwielaard at redhat dot com |mark at klomp dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=5745

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug general/5745] fstack cores
  2008-02-07 19:02 [Bug general/5745] New: fstack cores cagney at redhat dot com
  2008-02-07 20:25 ` [Bug general/5745] " mark at klomp dot org
@ 2008-02-08 10:54 ` pmuldoon at redhat dot com
  2008-02-08 11:56 ` pmuldoon at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pmuldoon at redhat dot com @ 2008-02-08 10:54 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From pmuldoon at redhat dot com  2008-02-08 10:53 -------
Pretty certain that Java does not glob ./Testrunner as 'pwd'/TestRunner. It just
sees the filename as ./Testrunner. Can you rerun the test with physical location
of TestRunner provided?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5745

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug general/5745] fstack cores
  2008-02-07 19:02 [Bug general/5745] New: fstack cores cagney at redhat dot com
  2008-02-07 20:25 ` [Bug general/5745] " mark at klomp dot org
  2008-02-08 10:54 ` pmuldoon at redhat dot com
@ 2008-02-08 11:56 ` pmuldoon at redhat dot com
  2008-02-08 14:32 ` cagney at redhat dot com
  2008-02-12 15:21 ` pmuldoon at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: pmuldoon at redhat dot com @ 2008-02-08 11:56 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From pmuldoon at redhat dot com  2008-02-08 11:56 -------
Looking a little closer, it seems LinuxCoreHost was not using the Canonical File
name, so the ../ and the ./ were not being correctly resolved in the path:

2008-02-08  Phil Muldoon  <pmuldoon@redhat.com>

	* LinuxCoreHost.java: Use CanonicalFile() througout.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5745

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug general/5745] fstack cores
  2008-02-07 19:02 [Bug general/5745] New: fstack cores cagney at redhat dot com
                   ` (2 preceding siblings ...)
  2008-02-08 11:56 ` pmuldoon at redhat dot com
@ 2008-02-08 14:32 ` cagney at redhat dot com
  2008-02-12 15:21 ` pmuldoon at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: cagney at redhat dot com @ 2008-02-08 14:32 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2008-02-08 14:31 -------
There's a more fundamental issue here; this should not have lead to an _abort_

Since we clearly don't know what to do with the IO exception, getAbsolutePath()
is also a better option.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|pmuldoon at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=5745

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug general/5745] fstack cores
  2008-02-07 19:02 [Bug general/5745] New: fstack cores cagney at redhat dot com
                   ` (3 preceding siblings ...)
  2008-02-08 14:32 ` cagney at redhat dot com
@ 2008-02-12 15:21 ` pmuldoon at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: pmuldoon at redhat dot com @ 2008-02-12 15:21 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From pmuldoon at redhat dot com  2008-02-12 15:20 -------
Upstream already has a LinuxCoreHost.java patch that converts ./sleep to the
canonical name `pwd`/sleep, so this error will not occur in Frysk at present.
This is neither the right place to do the converstion, or the right fix. IMO the
dwfl issue should be further investigated into the dwfl lib code as this code
masks the problem, rather than solving it.

I'm removing my assignment from this bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pmuldoon at redhat dot com  |frysk-bugzilla at sourceware
                   |                            |dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=5745

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-12 15:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-07 19:02 [Bug general/5745] New: fstack cores cagney at redhat dot com
2008-02-07 20:25 ` [Bug general/5745] " mark at klomp dot org
2008-02-08 10:54 ` pmuldoon at redhat dot com
2008-02-08 11:56 ` pmuldoon at redhat dot com
2008-02-08 14:32 ` cagney at redhat dot com
2008-02-12 15:21 ` pmuldoon at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).