ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
tiagom has quit [Ping timeout: 240 seconds]
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #armlinux
mag has quit [Remote host closed the connection]
mag has joined #armlinux
prabhakarlad has joined #armlinux
mcoquelin has quit [Ping timeout: 260 seconds]
mcoquelin has joined #armlinux
iivanov has joined #armlinux
kbingham has quit [*.net *.split]
sboyd has quit [*.net *.split]
narmstrong has quit [*.net *.split]
steev has quit [*.net *.split]
bencoh has quit [*.net *.split]
bencoh has joined #armlinux
narmstrong has joined #armlinux
sboyd has joined #armlinux
kbingham has joined #armlinux
steev has joined #armlinux
unixsmurf has quit [*.net *.split]
mmind00 has quit [*.net *.split]
mmind00 has joined #armlinux
unixsmurf has joined #armlinux
guillaume_g has joined #armlinux
frieder has joined #armlinux
iivanov__ has joined #armlinux
iivanov has quit [Read error: Connection reset by peer]
cleger has joined #armlinux
mcoquelin has quit [Ping timeout: 248 seconds]
mcoquelin has joined #armlinux
sszy has joined #armlinux
headless has joined #armlinux
frieder has quit [Remote host closed the connection]
frieder has joined #armlinux
luispm has joined #armlinux
abelvesa1 has joined #armlinux
abelvesa_ has quit [Ping timeout: 276 seconds]
apritzel has joined #armlinux
abelvesa1 has quit [Quit: Lost terminal]
bencoh has joined #armlinux
bencoh has quit [Changing host]
kristinam has quit [Ping timeout: 256 seconds]
jbru has quit [Ping timeout: 248 seconds]
monstr has joined #armlinux
headless has quit [Quit: Konversation terminated!]
jbru has joined #armlinux
jbru has quit [Client Quit]
nsaenz has joined #armlinux
jbru has joined #armlinux
nsaenz has quit [Quit: Leaving]
nsaenz has joined #armlinux
mcoquelin has quit [Ping timeout: 260 seconds]
iivanov has joined #armlinux
iivanov__ has quit [Ping timeout: 246 seconds]
jn has quit [Ping timeout: 248 seconds]
iivanov__ has joined #armlinux
iivanov has quit [Ping timeout: 276 seconds]
tiagom has joined #armlinux
mcoquelin has joined #armlinux
torez has joined #armlinux
jn has joined #armlinux
jn has joined #armlinux
tiagom has quit [Quit: WeeChat 3.5]
iivanov has joined #armlinux
iivanov__ has quit [Ping timeout: 252 seconds]
iivanov__ has joined #armlinux
iivanov has quit [Ping timeout: 240 seconds]
iivanov has joined #armlinux
iivanov_ has joined #armlinux
iivano___ has joined #armlinux
NonaSuomy has joined #armlinux
iivanov__ has quit [Ping timeout: 272 seconds]
iivanov has quit [Ping timeout: 240 seconds]
iivanov_ has quit [Ping timeout: 260 seconds]
iivano___ has quit [Ping timeout: 240 seconds]
iivanov has joined #armlinux
NonaSuomy has quit [Ping timeout: 260 seconds]
iivanov has quit [Read error: Connection reset by peer]
iivanov has joined #armlinux
monstr has quit [Remote host closed the connection]
NonaSuomy has joined #armlinux
frieder has quit [Remote host closed the connection]
nsaenz has quit [Quit: Leaving]
guillaume_g has quit [Quit: Konversation terminated!]
headless has joined #armlinux
headless_ has joined #armlinux
headless has quit [Read error: Connection reset by peer]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
abelvesa has quit [Quit: leaving]
abelvesa has joined #armlinux
Pali has joined #armlinux
luispm has quit [Quit: Leaving]
apritzel has quit [Ping timeout: 240 seconds]
cleger has quit [Quit: Leaving]
NonaSuomy has quit [Ping timeout: 248 seconds]
NonaSuomy has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
torez has quit [Ping timeout: 272 seconds]
headless_ is now known as headless
NonaSuomy has quit [Ping timeout: 272 seconds]
NonaSuomy has joined #armlinux
<Xogium> probably a bit OT but, has anyone ever ran into difficulties using uprobes and ftrace to track a process ?
<Xogium> if I run this in the /sys/kernel/tracing directory, the first 2 commands execute without a problem. If I run the third command however, it kills my ssh access.. Go figure why that is
<Xogium> echo "r:uprobes/malloc_ret /usr/lib/libc.so.6:0x00085dc8 ret=\$retval" > uprobe_events
<Xogium> echo "common_pid == $(pidof irssi)" > events/uprobes/filter
<Xogium> echo 1 > events/uprobes/enable
<Xogium> that explodes my ssh access
<Xogium> trying to find a bloody memory leak and ftrace was kinda my last resort
<ukleinek> Xogium: in irssi?
* ukleinek would expect strace or valgrind to be more useful debug tools for that
<Xogium> mmh strace can't really track malloc, can it ?
<Xogium> as for valgrind, I don't think it could run effectively with a machine like this
<Xogium> but who knows ? It only has 512 MB of ram and a 650 mhz cpu
<Xogium> and yeah, the damned leak is in irssi and so subtle. It leaks about 3 MB per week
<Xogium> but its randomly doing it, and has been driving me up the wall
<Xogium> I even tried dmalloc but that didn't actually work, as I couldn't manage to link irssi against it in the first place
<Xogium> still.. why would setting uprobes on irssi.. kill my ssh that didn't ask for any trouble ? :p
* ukleinek checks if libc malloc has some debugging builtin
* ukleinek would try attaching gdb to irssi, register a break at malloc() and let it log the backtrace and continue immediately
<Xogium> hmm
<Xogium> could be an idea
alpernebbi has quit [Ping timeout: 260 seconds]
* ukleinek doesn't know how to do that offhand, but he thinks that should be possible
<Xogium> what about tracking all those free() ?
alpernebbi has joined #armlinux
NonaSuomy has quit [Ping timeout: 248 seconds]
iivanov has quit [Read error: Connection reset by peer]
iivanov has joined #armlinux
<bencoh> ukleinek: to remain offtopic, I'd check plugins/scripts first when it comes to irssi leaks
headless has quit [Quit: Konversation terminated!]
<Xogium> bencoh: already tried :/ I disabled even the loading of otr and perl modules, and hence of any script
<bencoh> ah, well ...
<Xogium> I've been trying to track this down for a few weeks, maybe a month and not having much success :D
<Xogium> and for some reason gdb doesn't seem to even break on malloc
<bencoh> maybe they use a different allocator
<Xogium> that's possible
iivanov has quit [Read error: Connection reset by peer]
iivanov has joined #armlinux
<Xogium> I'm still unsure what happened earlier and why ssh was killed. Maybe it doesn't like when you toy about in libc with ftrace
c1728p9 has joined #armlinux
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 260 seconds]
NonaSuomy has joined #armlinux
NonaSuomy has quit [Ping timeout: 240 seconds]
<marex> Xogium: did you look at lsan ?
<marex> Xogium: MALLOC_CHECK_ (man 3 mallopt) might be useful too
<marex> Xogium: and pmap(1)
<Xogium> marex: I wasn,t aware of all of these
<Xogium> thanks for pointing out to them :)
NonaSuomy has joined #armlinux
Pali has quit [Ping timeout: 260 seconds]