~alpine/devel

1

[alpine-devel] [PATCH] Fix quasselcore crash during client connect

Yves Schumann <yves@eisfair.org>
Details
Message ID
<20140126193358.AF39131E71@mail.nettworks.org>
Sender timestamp
1390764834
DKIM signature
missing
Download raw message
Hi

The attached patch updates quassel to current version and add paxctl
usage during package build, see corresponding Gentoo issue [1]. Now
quasselcore did not crash if a quasselclient try to connect.

Some details if one is interested:
(gdb) frame 0
#0  QTJSC::ExecutablePool::systemAlloc (n=n@entry=16384) at
../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocatorPosix.cpp:47
47              CRASH();
(gdb) list
42
43      ExecutablePool::Allocation ExecutablePool::systemAlloc(size_t n)
44      {
45          void* allocation = mmap(NULL, n, INITIAL_PROTECTION_FLAGS,
MAP_PRIVATE | MAP_ANON, VM_TAG_FOR_EXECUTABLEALLOCATOR_MEMORY, 0);
46          if (allocation == MAP_FAILED)
47              CRASH();
48          ExecutablePool::Allocation alloc = {
reinterpret_cast<char*>(allocation), n };
49          return alloc;
50      }
51
(gdb) print n
$1 = 16384

The crash happens on /usr/lib/libQtScript.so.4.8.5

Kind regards,
Yves

[1] https://bugs.gentoo.org/show_bug.cgi?id=346255
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20140127140645.3f051cc8@ncopa-desktop.alpinelinux.org>
In-Reply-To
<20140126193358.AF39131E71@mail.nettworks.org> (view parent)
Sender timestamp
1390828005
DKIM signature
missing
Download raw message
On Sun, 26 Jan 2014 20:33:54 +0100
"Yves Schumann" <yves@eisfair.org> wrote:

> Hi
> 
> The attached patch updates quassel to current version and add paxctl
> usage during package build, see corresponding Gentoo issue [1]. Now
> quasselcore did not crash if a quasselclient try to connect.
> 

nice!

applied. thanks!

-nc
Reply to thread Export thread (mbox)