Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27250 - [ltrace] SIGSEGV due to int3 right after a call instruction

Attached to Project: Arch Linux
Opened by Manuel Bovo (jackbit) - Friday, 25 November 2011, 13:53 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 15 January 2012, 16:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The execution of an int3 instruction immediately following a call instruction will crash ltrace with a SIGSEGV.

Additional info:
* ltrace 0.5.3-2
* tested on x86_64
* see Debian bug 649569 -> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649569

Steps to reproduce:

echo 'main(){puts("");asm("int3");}'|gcc -oa -xc -;ltrace ./a;

See Debian bug 649569 for more info. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649569
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Sunday, 15 January 2012, 16:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  See comment #1.
Comment by Evangelos Foutras (foutrelis) - Friday, 06 January 2012, 03:32 GMT
I added a patch for this in 0.6.0-1.

Now it doesn't segfault but instead hangs; is this the correct behavior of int3?

Loading...