Displaying labels with Athens on Linux?
Hi! Sergio is experiencing some serious problem when displaying labels in Athens? The VM just crashes. Any idea what we can do? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On 13 January 2014 14:53, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!
Sergio is experiencing some serious problem when displaying labels in Athens? The VM just crashes.
Any idea what we can do?
i still didn't had time to look at it. i will try to look at it with Ronie tomorrow, luckily he runs on linux box. it would be nice if you can give a short piece of code which (re)produces the crash.
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
The following expression seems to reproduce the problem AthensCairoSurfaceExamples exampleDrawText On windows and OSX it works well. On Linux it crashes Alexandre On Jan 13, 2014, at 5:58 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 13 January 2014 14:53, Alexandre Bergel <alexandre.bergel@me.com> wrote: Hi!
Sergio is experiencing some serious problem when displaying labels in Athens? The VM just crashes.
Any idea what we can do?
i still didn't had time to look at it. i will try to look at it with Ronie tomorrow, luckily he runs on linux box. it would be nice if you can give a short piece of code which (re)produces the crash.
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On 14 January 2014 16:28, Alexandre Bergel <alexandre.bergel@me.com> wrote:
The following expression seems to reproduce the problem AthensCairoSurfaceExamples exampleDrawText
On windows and OSX it works well. On Linux it crashes
yes.. more details: we just tried with Damien on his machine, which has more recent version of Ubuntu, and we got the crash.. on my version everything works well..
in this regard i suspecting Cairo library.. i going to install fresh version of ubuntu and try things there.
Alexandre
On Jan 13, 2014, at 5:58 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 13 January 2014 14:53, Alexandre Bergel <alexandre.bergel@me.com>
wrote:
Hi!
Sergio is experiencing some serious problem when displaying labels in Athens? The VM just crashes.
Any idea what we can do?
i still didn't had time to look at it. i will try to look at it with Ronie tomorrow, luckily he runs on linux box. it would be nice if you can give a short piece of code which (re)produces the crash.
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
Ok, thanks Igor. This is really important for us to have Athens working well :-) I will soon start my lecture on software quality, and I will have about 10 or 20 students working with it. Alexandre On Jan 14, 2014, at 12:57 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 14 January 2014 16:28, Alexandre Bergel <alexandre.bergel@me.com> wrote: The following expression seems to reproduce the problem AthensCairoSurfaceExamples exampleDrawText
On windows and OSX it works well. On Linux it crashes
yes.. more details: we just tried with Damien on his machine, which has more recent version of Ubuntu, and we got the crash.. on my version everything works well..
in this regard i suspecting Cairo library.. i going to install fresh version of ubuntu and try things there.
Alexandre
On Jan 13, 2014, at 5:58 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 13 January 2014 14:53, Alexandre Bergel <alexandre.bergel@me.com> wrote: Hi!
Sergio is experiencing some serious problem when displaying labels in Athens? The VM just crashes.
Any idea what we can do?
i still didn't had time to look at it. i will try to look at it with Ronie tomorrow, luckily he runs on linux box. it would be nice if you can give a short piece of code which (re)produces the crash.
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
so, yes on newer version of ubuntu it crashing. no clue why (yet) On 14 January 2014 18:15, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Ok, thanks Igor.
This is really important for us to have Athens working well :-) I will soon start my lecture on software quality, and I will have about 10 or 20 students working with it.
Alexandre
On Jan 14, 2014, at 12:57 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 14 January 2014 16:28, Alexandre Bergel <alexandre.bergel@me.com>
wrote:
The following expression seems to reproduce the problem AthensCairoSurfaceExamples exampleDrawText
On windows and OSX it works well. On Linux it crashes
yes.. more details: we just tried with Damien on his machine, which has more recent version of Ubuntu, and we got the crash.. on my version everything works well..
in this regard i suspecting Cairo library.. i going to install fresh version of ubuntu and try things there.
Alexandre
On Jan 13, 2014, at 5:58 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 13 January 2014 14:53, Alexandre Bergel <alexandre.bergel@me.com>
wrote:
Hi!
Sergio is experiencing some serious problem when displaying labels in Athens? The VM just crashes.
Any idea what we can do?
i still didn't had time to look at it. i will try to look at it with Ronie tomorrow, luckily he runs on linux box. it would be nice if you can give a short piece of code which (re)produces the crash.
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
it is stack alignment. see https://pharo.fogbugz.com/f/cases/12478/Crash-when-using-fonts-with-Athens-o... for details On 14 January 2014 18:49, Igor Stasenko <siguctua@gmail.com> wrote:
so, yes on newer version of ubuntu it crashing. no clue why (yet)
On 14 January 2014 18:15, Alexandre Bergel <alexandre.bergel@me.com>wrote:
Ok, thanks Igor.
This is really important for us to have Athens working well :-) I will soon start my lecture on software quality, and I will have about 10 or 20 students working with it.
Alexandre
On Jan 14, 2014, at 12:57 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 14 January 2014 16:28, Alexandre Bergel <alexandre.bergel@me.com>
wrote:
The following expression seems to reproduce the problem AthensCairoSurfaceExamples exampleDrawText
On windows and OSX it works well. On Linux it crashes
yes.. more details: we just tried with Damien on his machine, which has more recent version of Ubuntu, and we got the crash.. on my version everything works well..
in this regard i suspecting Cairo library.. i going to install fresh version of ubuntu and try things there.
Alexandre
On Jan 13, 2014, at 5:58 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 13 January 2014 14:53, Alexandre Bergel <alexandre.bergel@me.com>
wrote:
Hi!
Sergio is experiencing some serious problem when displaying labels in Athens? The VM just crashes.
Any idea what we can do?
i still didn't had time to look at it. i will try to look at it with Ronie tomorrow, luckily he runs on linux box. it would be nice if you can give a short piece of code which (re)produces the crash.
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
Excellente !!!!!!! We will try Alexandre On Jan 17, 2014, at 1:12 PM, Igor Stasenko <siguctua@gmail.com> wrote:
Fix integrated.
in 3.0 704
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
For normal humans you do not convey the pain behind â¦. here is the answer I got from the two amigos igor and ronie that looked at the problem We debugged in both machines at the same time. Installed some debug symbols, looking at the libpixman source code. Disassembling and looking some instructions. When I saw the use of intrinsics in the source code, I started to suspect a bit of the alignment of some stuff and when Igor, found the segmentation fault causing instruction movdqa (Move double-quadword aligned), it was clear that it was a stack alignment issue. Checking the Intel manual confirmed this and I asked about whose responsible for aligning the stack, suspecting it was a problem with the library not conforming to the ABI. Then, Igor remembered how to change the stack alignment in native boost and it worked. This is why having people with such knowledge around is key to let us (the smart cosy smalltalkers) having fun with our cool language. Stef
Fix integrated.
in 3.0 704
-- Best regards, Igor Stasenko.
I suspected a big pain, but not that much. Thanks guys! Alexandre On Jan 17, 2014, at 5:16 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
For normal humans you do not convey the pain behind â¦. here is the answer I got from the two amigos igor and ronie that looked at the problem
We debugged in both machines at the same time. Installed some debug symbols, looking at the libpixman source code. Disassembling and looking some instructions.
When I saw the use of intrinsics in the source code, I started to suspect a bit of the alignment of some stuff and when Igor, found the segmentation fault causing instruction movdqa (Move double-quadword aligned), it was clear that it was a stack alignment issue. Checking the Intel manual confirmed this and I asked about whose responsible for aligning the stack, suspecting it was a problem with the library not conforming to the ABI. Then, Igor remembered how to change the stack alignment in native boost and it worked.
This is why having people with such knowledge around is key to let us (the smart cosy smalltalkers) having fun with our cool language.
Stef
Fix integrated.
in 3.0 704
-- Best regards, Igor Stasenko.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On 17 January 2014 21:16, Stéphane Ducasse <stephane.ducasse@inria.fr>wrote:
For normal humans you do not convey the pain behind â¦. here is the answer I got from the two amigos igor and ronie that looked at the problem
about the pain behind..
Stef, i'm not sure, maybe for those who not familiar with low-level debugging, the procedures look very scary and traumatizing, but for not for me nor Ronie.. i don't remember but i think it took us less than an hour to determine what's wrong there. And to fix that, it took few seconds. So, it was done very quickly, alas... then i faced integration wall.. and it took me much more time & effort to verify & wait till it reverify things in many places.. because for some strange reason integration validation says there's failing test.. which is not if you run things by yourself. All this pain, of course, doesn't means, that i am against validation. It really helps, but sure thing it is hard to cover all aspects to make sure things run under same conditions as in reality.. and it always be like that. (and speaking about conveying the pain behind... imagine the amount of pain setting up & automating validation procedure and integration, so that it works and we can use it.. )
We debugged in both machines at the same time. Installed some debug symbols, looking at the libpixman source code. Disassembling and looking some instructions.
When I saw the use of intrinsics in the source code, I started to suspect a bit of the alignment of some stuff and when Igor, found the segmentation fault causing instruction movdqa (Move double-quadword aligned), it was clear that it was a stack alignment issue. Checking the Intel manual confirmed this and I asked about whose responsible for aligning the stack, suspecting it was a problem with the library not conforming to the ABI. Then, Igor remembered how to change the stack alignment in native boost and it worked.
This is why having people with such knowledge around is key to let us (the smart cosy smalltalkers) having fun with our cool language.
Stef
Fix integrated.
in 3.0 704
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
For normal humans you do not convey the pain behind â¦. here is the answer I got from the two amigos igor and ronie that looked at the problem
about the pain behind..
Stef, i'm not sure, maybe for those who not familiar with low-level debugging, the procedures look very scary and traumatizing, but for not for me nor Ronie.. i don't remember but i think it took us less than an hour to determine what's wrong there.
You forgot the afternoon before where you were clueless. :) And Iâm talking for a guy that is not a friend with gbd, assembly. Most of us can fix bugs in the image now how many can fix bugs that are related with Stack alignement? one? two? This is the kind of waranty that the consortium should give us. Remember in 11 months you are not payed anymore. Stef
And to fix that, it took few seconds. So, it was done very quickly, alas... then i faced integration wall.. and it took me much more time & effort to verify & wait till it reverify things in many places.. because for some strange reason integration validation says there's failing test.. which is not if you run things by yourself.
All this pain, of course, doesn't means, that i am against validation. It really helps, but sure thing it is hard to cover all aspects to make sure things run under same conditions as in reality.. and it always be like that. (and speaking about conveying the pain behind... imagine the amount of pain setting up & automating validation procedure and integration, so that it works and we can use it.. )
We debugged in both machines at the same time. Installed some debug symbols, looking at the libpixman source code. Disassembling and looking some instructions.
When I saw the use of intrinsics in the source code, I started to suspect a bit of the alignment of some stuff and when Igor, found the segmentation fault causing instruction movdqa (Move double-quadword aligned), it was clear that it was a stack alignment issue. Checking the Intel manual confirmed this and I asked about whose responsible for aligning the stack, suspecting it was a problem with the library not conforming to the ABI. Then, Igor remembered how to change the stack alignment in native boost and it worked.
This is why having people with such knowledge around is key to let us (the smart cosy smalltalkers) having fun with our cool language.
Stef
Fix integrated.
in 3.0 704
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
participants (3)
-
Alexandre Bergel -
Igor Stasenko -
Stéphane Ducasse