Strange behaviour of gdb (SIGILL on breakpoints)

Ask questions about Arch Linux ARM. Please search before making a new topic.

Strange behaviour of gdb (SIGILL on breakpoints)

Postby aplund » Tue Mar 31, 2015 10:26 am

I've been playing around with gdb and I get this weird behaviour with Kodi. Anyone got any ideas where the SIGILL which is killing kodi off might be coming from? Seems to be ARM specific as I cannot dulplicate this on my x86 platforms.

$this->bbcode_second_pass_code('', '(gdb) b CGUIWindowManager::FrameMove()
Breakpoint 1 at 0x7582d2d4: file GUIWindowManager.cpp, line 617.
(gdb) commands
Type commands for breakpoint(s) 1, one per line.
End with a line saying just "end".
>print "FrameMove"
>continue
>end
(gdb) c
Continuing.
infrun: clear_proceed_status_thread (Thread 0x6e84d420 (LWP 17565))
infrun: clear_proceed_status_thread (Thread 0x726c3420 (LWP 17566))
infrun: clear_proceed_status_thread (Thread 0x71cff420 (LWP 17577))
infrun: clear_proceed_status_thread (Thread 0x7032d420 (LWP 17596))
infrun: clear_proceed_status_thread (Thread 0x64aff420 (LWP 17915))
infrun: clear_proceed_status_thread (Thread 0x642ff420 (LWP 17916))
infrun: clear_proceed_status_thread (Thread 0x63aff420 (LWP 17917))
infrun: clear_proceed_status_thread (Thread 0x62b15420 (LWP 17923))
infrun: clear_proceed_status_thread (Thread 0x621d5420 (LWP 17968))
infrun: clear_proceed_status_thread (Thread 0x611d5420 (LWP 17970))
infrun: clear_proceed_status_thread (Thread 0x609d5420 (LWP 17971))
infrun: clear_proceed_status_thread (Thread 0x5f9d5420 (LWP 17973))
infrun: clear_proceed_status_thread (Thread 0x5f1d5420 (LWP 17978))
infrun: clear_proceed_status_thread (Thread 0x65cff420 (LWP 18062))
infrun: clear_proceed_status_thread (Thread 0x6f99d420 (LWP 18184))
infrun: clear_proceed_status_thread (Thread 0x72a9d310 (LWP 17527))
infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT, step=0)
infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0x72a9d310 (LWP 17527)] at 0x741afe34
infrun: target_wait (-1, status) =
infrun: -1 [process -1],
infrun: status->kind = ignore
infrun: TARGET_WAITKIND_IGNORE
infrun: prepare_to_wait
infrun: target_wait (-1, status) =
infrun: 17527 [Thread 0x72a9d310 (LWP 17527)],
infrun: status->kind = stopped, signal = GDB_SIGNAL_ILL
infrun: TARGET_WAITKIND_STOPPED
infrun: stop_pc = 0x7582d2d8
infrun: random signal (GDB_SIGNAL_ILL)
infrun: stop_waiting

Program received signal SIGILL, Illegal instruction.
0x7582d2d8 in CGUIWindowManager::FrameMove (this=0x784dd2c0)
at GUIWindowManager.cpp:617
warning: Source file is more recent than executable.
617 {
(gdb)
Continuing.
infrun: clear_proceed_status_thread (Thread 0x6e84d420 (LWP 17565))
infrun: clear_proceed_status_thread (Thread 0x726c3420 (LWP 17566))
infrun: clear_proceed_status_thread (Thread 0x71cff420 (LWP 17577))
infrun: clear_proceed_status_thread (Thread 0x7032d420 (LWP 17596))
infrun: clear_proceed_status_thread (Thread 0x64aff420 (LWP 17915))
infrun: clear_proceed_status_thread (Thread 0x642ff420 (LWP 17916))
infrun: clear_proceed_status_thread (Thread 0x63aff420 (LWP 17917))
infrun: clear_proceed_status_thread (Thread 0x62b15420 (LWP 17923))
infrun: clear_proceed_status_thread (Thread 0x621d5420 (LWP 17968))
infrun: clear_proceed_status_thread (Thread 0x611d5420 (LWP 17970))
infrun: clear_proceed_status_thread (Thread 0x609d5420 (LWP 17971))
infrun: clear_proceed_status_thread (Thread 0x5f9d5420 (LWP 17973))
infrun: clear_proceed_status_thread (Thread 0x5f1d5420 (LWP 17978))
infrun: clear_proceed_status_thread (Thread 0x65cff420 (LWP 18062))
infrun: clear_proceed_status_thread (Thread 0x6f99d420 (LWP 18184))
infrun: clear_proceed_status_thread (Thread 0x72a9d310 (LWP 17527))
infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT, step=0)
infrun: resume (step=0, signal=GDB_SIGNAL_ILL), trap_expected=0, current thread [Thread 0x72a9d310 (LWP 17527)] at 0x7582d2d8
infrun: target_wait (-1, status) =
infrun: -1 [process -1],
infrun: status->kind = ignore
infrun: TARGET_WAITKIND_IGNORE
infrun: prepare_to_wait
[Thread 0x6f99d420 (LWP 18184) exited]
[Thread 0x5f1d5420 (LWP 17978) exited]
[Thread 0x5f9d5420 (LWP 17973) exited]
[Thread 0x611d5420 (LWP 17970) exited]
[Thread 0x621d5420 (LWP 17968) exited]
[Thread 0x62b15420 (LWP 17923) exited]
[Thread 0x63aff420 (LWP 17917) exited]
[Thread 0x642ff420 (LWP 17916) exited]
[Thread 0x64aff420 (LWP 17915) exited]
[Thread 0x71cff420 (LWP 17577) exited]
[Thread 0x726c3420 (LWP 17566) exited]
[Thread 0x6e84d420 (LWP 17565) exited]
[Thread 0x72a9d310 (LWP 17527) exited]
infrun: target_wait (-1, status) =
infrun: -1 [process -1],
infrun: status->kind = ignore
infrun: TARGET_WAITKIND_IGNORE
infrun: prepare_to_wait
infrun: target_wait (-1, status) =
infrun: -1 [process -1],
infrun: status->kind = ignore
infrun: TARGET_WAITKIND_IGNORE
infrun: prepare_to_wait
[Thread 0x65cff420 (LWP 18062) exited]
[Thread 0x609d5420 (LWP 17971) exited]
infrun: target_wait (-1, status) =
infrun: -1 [process -1],
infrun: status->kind = ignore
infrun: TARGET_WAITKIND_IGNORE
infrun: prepare_to_wait
infrun: target_wait (-1, status) =
infrun: 17527 [Thread 0x7032d420 (LWP 17596)],
infrun: status->kind = signalled, signal = GDB_SIGNAL_ILL
infrun: TARGET_WAITKIND_SIGNALLED

Program terminated with signal SIGILL, Illegal instruction.
The program no longer exists.
infrun: stop_waiting
(gdb)
')
aplund
 
Posts: 25
Joined: Tue Feb 04, 2014 5:27 am

Re: Strange behaviour of gdb (SIGILL on breakpoints)

Postby neXusPi2 » Tue Apr 21, 2015 7:49 pm

neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 19 guests