Opened 11 years ago

Closed 10 years ago

#130 closed defect (fixed)

Clicking HTTP links doesn't start the browser

Reported by: Dmitry A. Kuminov Owned by:
Priority: major Milestone: Qt 4.6.2
Component: QtGui Version: 4.5.1 GA
Severity: low Keywords:


A user reports that he is unable to start the browser by clicking on HTTP links in Qt applications although it has correctly set up the path to the broser executable in HINI_USER_PROFILE\WPURLDEFAULTSETTINGS.

Change History (3)

comment:1 Changed 11 years ago by Dmitry A. Kuminov

The research has shown that this is due to QProcess::startDetached() not actually working again. Further research has shown that we found the first bug due to switching to -Zhigh-mem (high memory support for the LIBC heap): DosStartSession? seems to not be able to work with high memory data blocks pointed to at least through the PgmName? and PgmInputs? members of the STARTDATA structure (probably all other pointers must be in low memory too).

The solution is to use _tmalloc() that will always allocate data in low memory.

BTW, there is another small bug in QProcess::startDetached() on OS/2: it will return garbage as PID. In OS/2, the PID of the process started in the independent session is not known so we should return 0 (and mention it in the docs).

comment:2 Changed 11 years ago by Dmitry A. Kuminov

According to Knut, lmalloc() is the right function for low memory allocation. tmalloc() stands for the tileable malloc.

comment:3 Changed 10 years ago by Dmitry A. Kuminov

Resolution: fixed
Status: newclosed

All fixed in r600, r601.

Note: See TracTickets for help on using tickets.