Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncompressed metadata patch causes segfault #8752

Closed
SiegeLord opened this issue Aug 26, 2013 · 3 comments
Closed

Uncompressed metadata patch causes segfault #8752

SiegeLord opened this issue Aug 26, 2013 · 3 comments

Comments

@SiegeLord
Copy link
Contributor

Commit 491bc35 causes a segfault when running rustc for me. Note that the compiler is successfully built and installed at this point. My system is Linux, 64 bit. Backtrace from running just 'rustc' on the command line:

#0  open_verify (name=0x7fffffffd5c0 "/usr/local/bin/../lib/libstd-6c65cf4b443341b1-0.8-pre.so", fbp=0x7fffffffd7f0, loader=<optimized out>, 
    whatcode=<optimized out>, found_other_class=0x7fffffffd838, free_name=false) at dl-load.c:2057
#1  0x00007ffff7de0373 in open_path (name=0x4004f1 "libstd-6c65cf4b443341b1-0.8-pre.so", namelen=35, secure=0, sps=0x7ffff7ffe600, 
    realname=0x7fffffffdb40, fbp=0x7fffffffd7f0, loader=0x7ffff7ffe2e8, whatcode=4, found_other_class=0x7fffffffdb5f) at dl-load.c:2175
#2  0x00007ffff7de2a8a in _dl_map_object (loader=0x7ffff7ffe2e8, name=0x4004f1 "libstd-6c65cf4b443341b1-0.8-pre.so", type=1, trace_mode=0, mode=0, 
    nsid=0) at dl-load.c:2383
#3  0x00007ffff7de6ff2 in openaux (a=0x7fffffffddb0) at dl-deps.c:65
#4  0x00007ffff7de9186 in _dl_catch_error (objname=0x7fffffffddf0, errstring=0x7fffffffdde0, mallocedp=0x7fffffffddff, operate=0x7ffff7de6fc0 <openaux>, 
    args=0x7fffffffddb0) at dl-error.c:178
#5  0x00007ffff7de76ce in _dl_map_object_deps (map=0x7ffff7ffe2e8, preloads=<optimized out>, npreloads=<optimized out>, trace_mode=0, open_mode=0)
    at dl-deps.c:258
#6  0x00007ffff7ddd51d in dl_main (phdr=<optimized out>, phnum=<optimized out>, user_entry=<optimized out>, auxv=0x7ffff7ffe890) at rtld.c:1827
#7  0x00007ffff7defb34 in _dl_sysdep_start (start_argptr=<optimized out>, dl_main=0x7ffff7ddc6f0 <dl_main>) at ../elf/dl-sysdep.c:244
#8  0x00007ffff7ddf375 in _dl_start_final (arg=0x7fffffffe060) at rtld.c:338
#9  _dl_start (arg=0x7fffffffe060) at rtld.c:564
#10 0x00007ffff7ddb6c8 in _start () from /lib64/ld-linux-x86-64.so.2
#11 0x0000000000000001 in ?? ()
#12 0x00007fffffffe36c in ?? ()
#13 0x0000000000000000 in ?? ()
@klutzy
Copy link
Contributor

klutzy commented Aug 26, 2013

cc #8745 (currenctly reverted by #8751)

@brson
Copy link
Contributor

brson commented Aug 26, 2013

The test suite passes, so when rustc, compiletest are run as part of make check it works just fine, but when run from the command line it does this. I have no idea how to debug it.

@brson
Copy link
Contributor

brson commented Sep 20, 2013

Fixed.

@brson brson closed this as completed Sep 20, 2013
xFrednet pushed a commit to xFrednet/rust that referenced this issue May 21, 2022
Add version filtering option to the lint list

I'm no web dev, so I don't know if this is the best execution 😄.

Here's how it looks:

![Desktop](https://user-images.githubusercontent.com/69764315/165403602-9e39fe0f-6a96-46cb-ba51-8b035e74cce4.gif)

And on mobile:

![Mobile](https://user-images.githubusercontent.com/69764315/165403908-fc4a0051-2ed4-48a3-b45b-b261f49ce259.png)

I've split this into two commits, in the second one I moved the JS into its own file to make it easier to work on. Is that alright? And if so, could the same thing be done to the css?

changelog: none
cc: rust-lang#7958, `@repi`
r? `@xFrednet`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants