gdb --args tracy /tmp/tmp.qWe9Jlijmp_time-trace.json
Reading symbols from tracy...
(gdb) r
Starting program: /home/per/.local/bin/tracy /tmp/tmp.qWe9Jlijmp_time-trace.json
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6dac640 (LWP 1967444)]
terminate called after throwing an instance of 'tracy::NotTracyDump'
what(): std::exception
Thread 1 "tracy" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737343884416) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
(gdb) up
#1 __pthread_kill_internal (signo=6, threadid=140737343884416) at ./nptl/pthread_kill.c:78
78 in ./nptl/pthread_kill.c
(gdb)
#2 __GI___pthread_kill (threadid=140737343884416, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
89 in ./nptl/pthread_kill.c
(gdb)
#3 0x00007ffff7042476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
26 ../sysdeps/posix/raise.c: No such file or directory.
(gdb)
#4 0x00007ffff70287f3 in __GI_abort () at ./stdlib/abort.c:79
79 ./stdlib/abort.c: No such file or directory.
(gdb)
#5 0x00007ffff74a2b9e in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb)
#6 0x00007ffff74ae20c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb)
#7 0x00007ffff74ae277 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb)
#8 0x00007ffff74ae4d8 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb)
#9 0x000055555647ea6b in tracy::FileRead::FileRead (this=0x7ffff658b040, f=0x555556bf8c20, fn=0x7fffffffd8e9 "/tmp/tmp.qWe9Jlijmp_time-trace.json") at ../../../server/TracyFileRead.hpp:362
362 throw NotTracyDump();
(gdb)
#10 0x000055555647e6d0 in tracy::FileRead::Open (fn=0x7fffffffd8e9 "/tmp/tmp.qWe9Jlijmp_time-trace.json") at ../../../server/TracyFileRead.hpp:42
42 return f ? new FileRead( f, fn ) : nullptr;
(gdb)
#11 0x00005555567fa1b5 in main (argc=2, argv=0x7fffffffd3d8) at ../../src/main.cpp:220
220 initFileOpen = std::unique_ptr<tracy::FileRead>( tracy::FileRead::Open( argv[1] ) );
(gdb)
.
How can I figure what tracy doesn't like about this json file?
The following JSON file is outputted from LDC's --ftime-trace.
See https://www.youtube.com/watch?v=b8wZqU5t9vs.
. A sample run as
crashes on Ubuntu 22.04 as
.
How can I figure what tracy doesn't like about this json file?