Opened 6 months ago
Last modified 3 weeks ago
#9140 new bug
KDL when configure bison-2.6.4
| Reported by: | diger | Owned by: | axeld |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | System/Kernel | Version: | R1/alpha4 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Has a Patch: | no | Platform: | All |
Description
hrev44732 gcc4, gcc4.6.3
When trying to configure the bison I get KDL
Attachments (3)
Change History (16)
Changed 6 months ago by diger
comment:1 Changed 6 months ago by diger
comment:2 Changed 6 months ago by diver
- Component changed from - General to System/Kernel
- Owner changed from nobody to axeld
comment:3 Changed 6 months ago by diver
Might be a dupe of #1988.
comment:4 follow-up: ↓ 6 Changed 3 months ago by siarzhuk
This test reproduces the behaviour:
#include <fcntl.h>
int
main ()
{
int result = 0;
static char const sym[] = "conftest.sym";
if (symlink ("/dev/null", sym) != 0)
result |= 2;
else
{
int fd = 0;
fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
if (fd >= 0)
{
close (fd);
result |= 4;
}
}
return result;
}
comment:5 Changed 2 months ago by diger
This bug is reproduced when configuring gettext-runtime 0.18.2 & gettext-tools 0.18.2
comment:6 in reply to: ↑ 4 ; follow-up: ↓ 7 Changed 2 months ago by anevilyak
Replying to siarzhuk:
This test reproduces the behaviour:
Hi Siarzhuk,
I don't suppose there's anything special about your and/or diger's system configuration? Thus far neither the above test nor any of the configure scripts mentioned are reproducing the panic over here. As a first hunch I tried switching to a cyrillic locale but that made no difference. hrev45350, gcc4, 8GB of RAM and 8 CPU cores over here for reference.
comment:7 in reply to: ↑ 6 Changed 2 months ago by siarzhuk
Replying to anevilyak:
I don't suppose there's anything special about your and/or diger's system configuration? Thus far neither the above test nor any of the configure scripts mentioned are reproducing the panic over here. As a first hunch I tried switching to a cyrillic locale but that made no difference. hrev45350, gcc4, 8GB of RAM and 8 CPU cores over here for reference.
Strange, it is reproducible both in Virtual Box and with real HW on my home system. May be our /Sources partitions that were created years ago affect on this. I'll check more widely than.
comment:8 Changed 2 months ago by siarzhuk
comment:9 follow-up: ↓ 10 Changed 2 months ago by anevilyak
Always with the same set of partitions? Or does e.g. a completely clean virtualbox image with no other partitions mounted exhibit the same issue?
comment:10 in reply to: ↑ 9 ; follow-up: ↓ 11 Changed 2 months ago by siarzhuk
Replying to anevilyak:
Always with the same set of partitions? Or does e.g. a completely clean virtualbox image with no other partitions mounted exhibit the same issue?
By the way the VirtualBox case above (#1) is such "completely clean". 2,3,4 - different partitions of the same PC. 5,6 - different partitions of the other PC. BTW diger.png acquired on Virtual Box at my PC on the work. I have tested all cases by copying bison.c to home directory issuing "gcc bison.c" and running resulting a.out file.
comment:11 in reply to: ↑ 10 ; follow-up: ↓ 12 Changed 2 months ago by anevilyak
Replying to siarzhuk:
By the way the VirtualBox case above (#1) is such "completely clean". 2,3,4 - different partitions of the same PC. 5,6 - different partitions of the other PC. BTW diger.png acquired on Virtual Box at my PC on the work. I have tested all cases by copying bison.c to home directory issuing "gcc bison.c" and running resulting a.out file.
Tried exactly those steps, still no luck. Could you by any chance try enabling VFS tracing (http://cgit.haiku-os.org/haiku/tree/src/system/kernel/fs/vfs.cpp#n66 ), and then paste the resulting serial output from vbox here?
comment:12 in reply to: ↑ 11 Changed 2 months ago by siarzhuk
Replying to anevilyak:
Could you by any chance try enabling VFS tracing (http://cgit.haiku-os.org/haiku/tree/src/system/kernel/fs/vfs.cpp#n66 ), and then paste the resulting serial output from vbox here?
It was a bit tricky: First I have to disable syslog because it never ends tracing into system log about it's writing into system log, I suspect. Than I have to unsuccessfully wait about 3 hours until it finish loading app_server and other whistles. Than I just hardcoded "launch /bin/consoled" into boot script and get the possibility to run a.out and get KDL. :-) I hope it helps.

KDL in vfs code. See screenshot for more details