gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] Migration to C++


From: Michael
Subject: Re: [gcmd-dev] Migration to C++
Date: Mon, 23 Apr 2007 23:38:06 +0200
User-agent: Alpenglühn 7.2

Let's see..

poll([{fd=6, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI, revents=POLLIN}, 
{fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}], 4, -1) = 1

It's polling widget events (regularly)

Here comes your click:

read(10, "GIOP\1\2\1\1f\0\0\0", 12)     = 12
read(10, "P\230\203\277\0\0\0\0\1\0\0\0\1\0\0\0\f\0\0\0\1\1\1\1\1"..., 102) = 
102
open("(null)", O_RDONLY|O_LARGEFILE)    = -1 ENOENT (No such file or directory)
open("(null)", O_RDONLY|O_LARGEFILE)    = -1 ENOENT (No such file or directory)

This is possibly the crash cause:

stat64("/home/magnus/slackware/slp_archive-0703292107.tar.bz2", 
{st_mode=S_IFREG|0644, st_size=3006361, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---


... good ol' segmentation fault. (What about the tar.bz2 file? You clicked on 
it by case ?)
Maybe we should have a close look at this function 'stat64' ? 
Apparently it's the 64bit 'stat'....what library is it ? libc6 (=glibc) ?

I think we need to be sure this was a typical log. 
Magnus, would some additional stracings always be looking the same (basically) ?


write(3, "\22\0\7\0%\1 \1\34\1\0\0\6\0\0\0 \1\2\0\1\0\0\0\225\310"..., 36) = 36
write(3, " \0\2\0\0\0\0\0", 8)          = 8
write(3, "%\0\1\0+\0\1\0", 8)           = 8
read(3, "\34r\327x%\1 \1\34\1\0\0\246\310\224\2\0\0\0\0\246\310"..., 32) = 32
read(3, "\1\2\333x\0\0\0\0&\1 \1\0\0\0\0\4\0\0\0\21\0\0\0\0\327"..., 32) = 32

i think the rest is family talk (parent, child) to finally say goodbye.

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb6c75708) = 3836
waitpid(3836, 0xbf8397ec, 0)            = ? ERESTARTSYS (To be restarted)
--- SIGCONT (Continued) @ 0 (0) ---
waitpid(3836, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 3836
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(1)                           = ?
Process 3815 detached



My 5 cent

 m°





reply via email to

[Prev in Thread] Current Thread [Next in Thread]