[Ns-bugs] [Bug 40] New: Samples/Examples linked shared sometimes do nothing or hang
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Tue Jun 19 14:07:43 PDT 2007
http://www.nsnam.org/bugzilla/show_bug.cgi?id=40
Summary: Samples/Examples linked shared sometimes do nothing or
hang
Product: ns-3
Version: unspecified
Platform: PC
OS/Version: Windows
Status: NEW
Severity: blocker
Priority: P1
Component: sample programs
AssignedTo: ns-bugs at isi.edu
ReportedBy: craigdo at ee.washington.edu
One symptom is that programs appear to run, but don't do anything. When run
with a debugger, you see something like the following,
(gdb) run
Starting program:
/usr/craigdo/repos/ns-3-devx/build-dir/dbg-shared/bin/sample-ptr.exe
gdb: unknown target exception 0xc0000135 at 0x7c964ed1
Program received signal ?, Unknown signal.
Program exited with code 030000000465.
You can't do that without a process to debug.
(gdb)
The "signal" is a Microsoft HRESULT which corresponds to the error "The
application failed to initialize properly (0xc0000135)." This turned out in
this case to mean that the (Cygwin) system could find the ns-3 DLLs but
(Windows) couldn't load them. This happened because the Windows environment
needs to be pointed to the lib directory as well as the Cygwin environment. I
added
;C:/cygwin/usr/craigdo/repos/ns-3-devx/build-dir/dbg-shared/bin
to the windows $PATH and the simpler samples started working correctly.
Unfortunately, sample-simple.exe and simple-p2p.exe now hang while trying to
initialize DLLs.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list