zero pointer problem

97 views
Skip to first unread message

Burke Geceyatmaz

unread,
Oct 19, 2023, 4:12:43 AM10/19/23
to ns-3-users
Hi 

I am  facing this issue. How to fix this ?

NS_ASSERT failed, cond="m_ptr", msg="Attempted to dereference zero pointer", +0.000000000s -1 file=/home/bg/ns-allinone-3.39/ns-3.39/src/core/model/ptr.h, line=752
NS_FATAL, terminating
terminate called without an active exception
Command 'build/scratch/ns3.39-aodvolsrmobility100-default' died with <Signals.SI

Tom Henderson

unread,
Oct 19, 2023, 8:56:22 AM10/19/23
to ns-3-...@googlegroups.com
Usually, gdb is what you need to figure this out:

https://www.nsnam.org/wiki/HOWTO_use_gdb_to_debug_program_errors#running_gdb_with_ns3_script
> --
> Posting to this group should follow these guidelines
> https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
> <https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting>
> ---
> You received this message because you are subscribed to the Google
> Groups "ns-3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ns-3-users+...@googlegroups.com
> <mailto:ns-3-users+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ns-3-users/1947d4e7-ece2-47e3-929f-e67d32671497n%40googlegroups.com <https://groups.google.com/d/msgid/ns-3-users/1947d4e7-ece2-47e3-929f-e67d32671497n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Burke Geceyatmaz

unread,
Oct 19, 2023, 10:18:27 AM10/19/23
to ns-3-users
Download failed: No route to host.  Continuing without debug info for system-supplied DSO at 0x7ffff7fc5000.
Download failed: No route to host.  Continuing without debug info for /lib/x86_64-linux-gnu/libgsl.so.27.
Download failed: No route to host.  Continuing without debug info for /lib/x86_64-linux-gnu/libgslcblas.so.0.
Download failed: No route to host.  Continuing without debug info for /lib/x86_64-linux-gnu/libstdc++.so.6.
Download failed: No route to host.  Continuing without debug info for /lib/x86_
When ı run ı faced like this one above 

19 Ekim 2023 Perşembe tarihinde saat 15:56:22 UTC+3 itibarıyla Tom Henderson şunları yazdı:

Tom Henderson

unread,
Oct 19, 2023, 11:14:06 AM10/19/23
to ns-3-...@googlegroups.com, Burke Geceyatmaz
Does it eventually install despite those download failures? Your error
message says below 'Continuing...'

This SO answer may have some advice:

https://stackoverflow.com/questions/69290986/gdb-keeps-downloading-debug-info

Maybe try:

$ unset DEBUGINFOD_URLS

On 10/19/23 07:18, Burke Geceyatmaz wrote:
> Download failed: No route to host.  Continuing without debug info for
> system-supplied DSO at 0x7ffff7fc5000.
> Download failed: No route to host.  Continuing without debug info for
> /lib/x86_64-linux-gnu/libgsl.so.27.
> Download failed: No route to host.  Continuing without debug info for
> /lib/x86_64-linux-gnu/libgslcblas.so.0.
> Download failed: No route to host.  Continuing without debug info for
> /lib/x86_64-linux-gnu/libstdc++.so.6.
> Download failed: No route to host.  Continuing without debug info for
> /lib/x86_
> When ı run ı faced like this one above
>
> 19 Ekim 2023 Perşembe tarihinde saat 15:56:22 UTC+3 itibarıyla Tom
> Henderson şunları yazdı:
>
> Usually, gdb is what you need to figure this out:
>
> https://www.nsnam.org/wiki/HOWTO_use_gdb_to_debug_program_errors#running_gdb_with_ns3_script <https://www.nsnam.org/wiki/HOWTO_use_gdb_to_debug_program_errors#running_gdb_with_ns3_script>
> https://groups.google.com/d/msgid/ns-3-users/1947d4e7-ece2-47e3-929f-e67d32671497n%40googlegroups.com <https://groups.google.com/d/msgid/ns-3-users/1947d4e7-ece2-47e3-929f-e67d32671497n%40googlegroups.com> <https://groups.google.com/d/msgid/ns-3-users/1947d4e7-ece2-47e3-929f-e67d32671497n%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/ns-3-users/1947d4e7-ece2-47e3-929f-e67d32671497n%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> Posting to this group should follow these guidelines
> https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
> <https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting>
> ---
> You received this message because you are subscribed to the Google
> Groups "ns-3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ns-3-users+...@googlegroups.com
> <mailto:ns-3-users+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ns-3-users/f9780c3e-4887-4f6b-8ad4-737269aade6an%40googlegroups.com <https://groups.google.com/d/msgid/ns-3-users/f9780c3e-4887-4f6b-8ad4-737269aade6an%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages