|
From: Eyal L. <ey...@ey...> - 2005-01-27 05:32:27
|
An earlier reply of mine is not showing on the list, and it also was
missing the attachements so this is not a big loss... Here it is with
more details.
Jeremy Fitzhardinge wrote:
> On Wed, 2005-01-26 at 19:14 +1100, Eyal Lebedinsky wrote:
>
>> I do not have an easy way to reproduce, however I can provide better logs.
>> The attached one shows a successfully run of the currently failing program
>> followed by one that aborted quietly.
>>
>> The failure in the ipc area may explain why my program always dies while
>> holding a semaphore, which I must remove manually before my system is
>> usable again.
>
> Is your program multithreaded?
Sure is. But the one dying ('2') never managed to progress to the point of
starting a thread. Look at log '1' to compare to a good run.
> Your trace makes it appear that it dies
> in the sys_ipc syscall doing a semget, but Valgrind does literally
> nothing in this case - there's nothing for it to check, so it does
> nothing. Could you try again with --trace-signals=yes.
I now have more logs. '1' is a log of a good run, '2' is a similar run that
failed. The logs include both VG traces any my own. You will see none of my
traces in the failed one because it failed as it was establishing the
framework for our trace system when we access our shared memory object.
I will try and get a more detailed log.
[later] I confirmed that the log '2' has none of my traces because it never
got that far. Log '1' shows library calls issued by my program, like
iodll[18641/---]> share.c(2266): CALL getpid
SYSCALL[18641,1]( 4) --> 45 (0x2D)
SYSCALL[18641,1]( 20):sys_getpid () --> 18641 (0x48D1)
SYSCALL[18641,1]( 20):sys_getpid () --> 18641 (0x48D1)
SYSCALL[18641,1]( 4) mayBlock:sys_write ( 2, 0x52BFB4F0, 45 ) --> ...
iodll[18641/---]> share.c(2266): CALL RETURN
as well as our own internal calls, like
iodll[0/0]> main.c(892) ssamain_trace_init: ENTER
You will notice that log '2' never got even this far, never logging
any of our tracing.
I am now running with '--trace-signals=yes'.
> And could you please, please, please file a bug and attach these logs to
> it.
Done
Bug 97975 has been added to the database
> J
--
Eyal Lebedinsky (ey...@ey...) <http://samba.org/eyal/>
attach .zip as .dat
|