Bug 230593 - exp-ptrcheck: sysno == 124 unhandled syscall
Summary: exp-ptrcheck: sysno == 124 unhandled syscall
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: sgcheck (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: wanted3.5.1
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-13 17:00 UTC by Sergei Trofimovich
Modified: 2012-08-10 14:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich 2010-03-13 17:00:03 UTC
Valgrind-3.6.0-r11090
gcc version 4.4.3 (Gentoo 4.4.3 p1.0) (amd64)

Tried to use exp-ptrcheck for the first time:

==5905== exp-ptrcheck, a heap, stack and global array overrun detector
==5905== NOTE: This is an Experimental-Class Valgrind Tool
==5905== Copyright (C) 2003-2009, and GNU GPL'd, by OpenWorks Ltd et al.
==5905== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info
==5905== Command: _mc-bin/bin/mc
==5905== Parent PID: 16866
==5905== 
==5905== Warning: invalid file descriptor -1 in syscall close()
==5905== Warning: invalid file descriptor -1 in syscall close()
sysno == 124
exp-ptrcheck: the 'impossible' happened:
   unhandled syscall
==6102==    at 0x38013327: report_and_quit (m_libcassert.c:191)
==6102==    by 0x3801338E: panic (m_libcassert.c:275)
==6102==    by 0x380133CB: vgPlain_tool_panic (m_libcassert.c:290)
==6102==    by 0x380037B2: h_post_syscall (h_main.c:2584)
==6102==    by 0x38050283: vgPlain_post_syscall (syswrap-main.c:1728)
==6102==    by 0x38050EFC: vgPlain_client_syscall (syswrap-main.c:1626)
==6102==    by 0x3804D92D: handle_syscall (scheduler.c:885)
==6102==    by 0x3804E789: vgPlain_scheduler (scheduler.c:1081)
==6102==    by 0x38077EB4: run_a_thread_NORETURN (syswrap-linux.c:94)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==6102==    at 0x5B1F327: getsid (in /lib64/libc-2.10.1.so)
==6102==    by 0x4545BD: init_subshell (subshell.c:233)
==6102==    by 0x450C74: main (main.c:2186)
Comment 1 Tom Hughes 2010-03-14 16:54:13 UTC
Fixed in r11092.