Latest Bugs & Tasks

Syndicate content Haiku
Trac Timeline
Updated: 1 hour 28 min ago

Ticket #12163 (MIME sniffing can't reliably detect html vs xhtml) reopened

Fri, 2015-07-03 13:30

but there is an XML header and a doctype saying xhtml transitional. So, this pretends to be an XML file. Only when you start to parse it and encounter the meta tag, you should switch to html (and probably start parsing from the start again?).

So, you can force the MIME type of the file to "text/html" using the addattr command.

I'm switching the ticket to enhancement and changing the description. I'm not sure what we can do to improve our sniffing system, it's based on simple rules to be reasonably fast, and XHTML and HTML may simply be too similar to hope reasonably telling them apart, especially in cases like your example.

Categories: Development

Ticket #12146 (readelf errors when building packages for x86) closed

Fri, 2015-07-03 12:39

Never seen this problem. Closing for now.

Categories: Development

Ticket #12190 (usb_modeswitch sends us to KDL if device is plugged in at boot) created

Fri, 2015-07-03 12:38

My Huawei E5377 G4 modem uses the usb_modeswitch driver. If it's plugged in when I boot up, I go straight to KDL.

OK if plugged in after booting.

Categories: Development

Ticket #12189 (Cannot install to Samsung SSD) created

Fri, 2015-07-03 12:11

Just bought a Samsung 840 120GB SSD for development work. (Not 840 EVO, the original version.)

Created partitions, copied everything across, then tried an install from the old HDD. The install failed to load Deskbar, haiku_loader, kernel_x86, runtime_loader and Tracker onto the new drive.

So, I copied them over manually and did a 'makebootable' but it still fails to boot. The I attempted to install BootManager but it shows up an 'Incompatible format' error.

The drive is being identified as /dev/disk/ata/0/master/

Categories: Development

Ticket #9720 (Implement signal handling in Debugger) closed

Fri, 2015-07-03 02:39

Implemented in hrev49356.

Categories: Development

Ticket #89 (Charts blocks drawing while '2 Threads' is selected [...]) closed

Thu, 2015-07-02 20:52

I put a workaround in hrev49353. Basically, you could have a situation like this :
bigtime_t before = system_time();
bigtime_t after = system_time();

and you could have some cases where after - before < 1 (either 0 or negative). When used in the division right after, you would have a division by 0 (NaN) that would break the logic further down and poison the animation as the ratio is calculated from the ratio calculated in the previous cycle.. NaN * NaN, etc..

So, I made sure the after-before was at least 1 and it seems to work ok. Since the time calculation was more or less only there to calculate a load ratio, it doesn't have to be extra accurate.

Categories: Development

Ticket #10615 (KDL after booting) closed

Wed, 2015-07-01 21:29
Categories: Development

Ticket #12188 (Webpositive: default software bookmarks not working) created

Wed, 2015-07-01 20:26

hrev49346 x86_gcc2
Guest One's Haiku Repository, Haikuarchives and Haikuports not working.
screenshot 1, 2, 3 attached

Categories: Development

Ticket #3074 ([FileTypes] could crash if you try to open many files at once) closed

Wed, 2015-07-01 19:21

Should be fixed in hrev49346. Thanks!

Categories: Development

Ticket #12187 (F_DUPFD_CLOEXEC missing) created

Wed, 2015-07-01 15:58

fcntl.h should define F_DUPFD_CLOEXEC, see Posix 2008

Categories: Development

Ticket #12186 (Webpositive can browse only haiku sites) closed

Wed, 2015-07-01 06:31

You cannot browse sites that return IPv6 addresses.

Categories: Development

Ticket #12186 (Webpositive can browse only haiku sites) created

Tue, 2015-06-30 23:28

In the recent builds I can browse only haiku sites. Can't browse google, youtube etc.

Categories: Development

Ticket #11120 (FAT file creation times) closed

Tue, 2015-06-30 11:29

Thanks for your patch! I've applied it in hrev49339 -- I reworked the confusing use of ctime, though, as that does have a different meaning in POSIX.

Categories: Development

Ticket #12185 (BRosterLaunch ABI change) closed

Tue, 2015-06-30 00:48

It was, and it's a GCC4-only change anyway.

Categories: Development

Ticket #12185 (BRosterLaunch ABI change) created

Tue, 2015-06-30 00:47

Seeing an ABI change in BRosterLaunch::Launch per Pe.

This ticket is to review the change to make sure it was on purpose as designed.

~> lpe test
resolve symbol "_ZNK7BRoster6LaunchEPKciPPcPi" returned -...

That translates to:

BRoster::Launch(char const*, int, char**, int*) const;
Categories: Development

Ticket #12184 ('setarch x86' doesn't change LIBRARY_PATH) created

Mon, 2015-06-29 15:21

When shelling into a GCC4 build environment with 'setarch x86', the PATH statement changes to point to the ~/x86 directories. LIBRARY_PATH should change likewise, but doesn't. This leads to 'library not found' errors, especially when using languages like Pascal.

Can be seen by dumping the environment to the terminal with the 'env' command.

Categories: Development

Ticket #12183 (openjava soft not work) closed

Mon, 2015-06-29 11:44

This isn't a bug in Haiku. I just need to change OpenJDK to use getaddrinfo instead of gethostbyname_r.

Categories: Development