Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Adding a print statement in eglibc-2.11.2/mach/msgserver.c
- (void) (*demux) (&request->Head, &reply->Head);
- assert (reply->Head.msgh_size <= max_size);
- fprintf(stderr,".");
- switch (reply->RetCode)
- ans recompiling libc.so.0.3
- makes the long lasting ghc configuration suddenly work:
- cd ~/DEBs/ghc/ghc6-6.10.1+dfsg1/libraries/random
- LD_LIBRARY_PATH=~/DEBs/eglibc/eglibc-2.11.2/build-tree/hurd-i386-libc/ gdb /home/srs/DEBs/ghc/ghc6-6.10.1+dfsg1/libraries/cabal-bin
- (gdb) dir ...
- (gdb) break msgserver.c:74
- (gdb) run /usr/bin/ghc6 /home/srs/DEBs/ghc/ghc6-6.10.1+dfsg1/libraries/bootstrapping.conf configure --verbose=3 --with-compiler=/home/srs/DEBs/ghc/ghc6-6.10.1+dfsg1/ghc/stage1-inplace/ghc --with-hc-pkg=/home/srs/DEBs/ghc/ghc6-6.10.1+dfsg1/utils/ghc-pkg/install-inplace/bin/ghc-pkg
- ...
- (only two threads present)
- Program exited normally.
- Creates libraries/random/dist/setup-config. Previously it just hang!
- When using the installed glibc:
- ^C when hanging
- Adding a print statement in eglibc-2.11.2/mach/msgserver.c
- (void) (*demux) (&request->Head, &reply->Head);
- assert (reply->Head.msgh_size <= max_size);
- fprintf(stderr,".");
- switch (reply->RetCode)
- ans recompiling libc.so.0.3
- makes the long lasting ghc configuration suddenly work:
- cd ~/DEBs/ghc/ghc6-6.10.1+dfsg1/libraries/random
- LD_LIBRARY_PATH=~/DEBs/eglibc/eglibc-2.11.2/build-tree/hurd-i386-libc/ gdb /home/srs/DEBs/ghc/ghc6-6.10.1+dfsg1/libraries/cabal-bin
- (gdb) dir ...
- (gdb) break msgserver.c:74
- (gdb) run /usr/bin/ghc6 /home/srs/DEBs/ghc/ghc6-6.10.1+dfsg1/libraries/bootstrapping.conf configure --verbose=3 --with-compiler=/home/srs/DEBs/ghc/ghc6-6.10.1+dfsg1/ghc/stage1-inplace/ghc --with-hc-pkg=/home/srs/DEBs/ghc/ghc6-6.10.1+dfsg1/utils/ghc-pkg/install-inplace/bin/ghc-pkg
- ...
- (only two threads present)
- Program exited normally.
- Creates libraries/random/dist/setup-config. Previously it just hang!
- When using the installed glibc:
- ^C when hanging
- (three threads present)
- Program received signal SIGINT, Interrupt.
- 0x01113970 in trampoline () from /lib/libc.so.0.3
- (gdb) info threads
- 6 Thread 19821.6 0x010f7f4c in mach_msg_trap ()
- at /home/buildd/build/chroot-sid/home/buildd/byhand/eglibc-2.11.2/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
- 5 Thread 19821.5 0x010f7f4c in mach_msg_trap ()
- at /home/buildd/build/chroot-sid/home/buildd/byhand/eglibc-2.11.2/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
- * 4 Thread 19821.4 0x01113970 in trampoline () from /lib/libc.so.0.3
- (gdb) thread apply all bt
- Thread 6 (Thread 19821.6):
- #0 0x010f7f4c in mach_msg_trap ()
- at /home/buildd/build/chroot-sid/home/buildd/byhand/eglibc-2.11.2/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
- #1 0x010f8749 in __mach_msg (msg=0x29fd4, option=1282, send_size=0,
- rcv_size=0, rcv_name=127, timeout=20, notify=0) at msg.c:110
- #2 0x01195608 in timer_thread () at ../sysdeps/mach/hurd/setitimer.c:91
- Cannot access memory at address 0x2a000
- Thread 5 (Thread 19821.5):
- #0 0x010f7f4c in mach_msg_trap ()
- at /home/buildd/build/chroot-sid/home/buildd/byhand/eglibc-2.11.2/build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
- #1 0x010f8749 in __mach_msg (msg=0x17fef30, option=2, send_size=0,
- rcv_size=4096, rcv_name=119, timeout=0, notify=0) at msg.c:110
- #2 0x010f8e04 in __mach_msg_server_timeout (demux=0x1109980 <msgport_server>,
- max_size=4096, rcv_name=119, option=0, timeout=0) at msgserver.c:101
- #3 0x010f8f4b in __mach_msg_server (demux=0x1109980 <msgport_server>,
- max_size=4096, rcv_name=119) at msgserver.c:196
- #4 0x0110994f in _hurd_msgport_receive () at msgportdemux.c:68
- #5 0x01274c3c in entry_point (
- start_routine=0x11098e0 <_hurd_msgport_receive>, arg=0x0)
- at /home/buildd/build/chroot-sid/home/buildd/byhand/hurd/./libpthread/pthread/pt-create.c:50
- #6 0x00000000 in ?? ()
- Thread 4 (Thread 19821.4):
- #0 0x01113970 in trampoline () from /lib/libc.so.0.3
- #1 0x0000000e in ?? ()
- #2 0x00000000 in ?? ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement