Hello Norman,

Quoting Norman Feske <norman.fe...@genode-labs.com>:

> Hello Pirmin,
>
>>> If I do want to right align the numbers (%-5d) the function crashes my
>>> program.
>>
>> This should not happen. Thank you for reporting. I just opened an issue
>> about it:
>>
>>   https://github.com/genodelabs/genode/issues/1485
>
> unfortunately, I am not able to reproduce the problem. When modifying
> the printf test using the attached patch, the program runs just fine.
>
> Could you share a small test program that triggers the problem? That
> would be greatly appreciated.

I can share the code, where I had the problem, but it is not what I  
would call a small example, but it's also not that big.

It is in an older version of my TraceTool.

https://github.com/trimpim/TraceTool/blob/2f282a9bda1c32ed21019e1218ea6e3226d04064/src/TraceTool/SubjectList.cpp

In the method SubjectList::toString() the data from the list of  
subjects is stored in to a string buffer, that is later sent to a  
terminal session.

I'm currently updating the coding style of the whole code to match the  
Genode coding standard, and fix some big bugs.

As I think a full c++ string implementation is too mouch for my small  
problem, I have written a small string builder class, that stores the  
data in a Genode::String and addet the methods to format the data there.


Bast regards
Pirmin

>
> Best regards
> Norman
>
> --
> Dr.-Ing. Norman Feske
> Genode Labs
>
> http://www.genode-labs.com · http://genode.org
>
> Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
> Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth





------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to