drizzled --help crashes under Ubuntu/Japanese

Bug #538863 reported by Toru Maesaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Andrew Hutchings
7.0
Fix Released
Medium
Andrew Hutchings
Cherry
Won't Fix
Medium
Monty Taylor
Dexter
Won't Fix
Medium
Monty Taylor

Bug Description

Hi!

Executing 'drizzled --help' on Ubuntu that is set to use Japanese as the default language crashes drizzled.

Here is the backtrace.

drizzled [0x74fc1e]
drizzled(drizzled::print_stacktrace(unsigned char*, unsigned long)+0x15) [0x74fc91]
drizzled(handle_segfault+0x25c) [0x5af930]
/lib/libc.so.6 [0x7fb5a3568100]
drizzled(drizzled::my_print_help(drizzled::my_option const*)+0x2ef) [0x79cdab]
drizzled(my_print_help_inc_plugins+0x191) [0x6bb7e7]
drizzled [0x5af2ef]
drizzled(drizzled::unireg_abort(int)+0x4a) [0x5afd56]
drizzled [0x5afe81]
drizzled(main+0x196) [0x5b0c90]
/lib/libc.so.6(__libc_start_main+0xf4) [0x7fb5a35541c4]
drizzled(__gxx_personality_v0+0x459) [0x59c709]

Cheers,
Toru

Changed in drizzle:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 538863] [NEW] drizzled --help crashes under Ubuntu/Japanese

Thanks! I know what this will be.

"Toru Maesaka" <email address hidden> wrote:

>Public bug reported:
>
>Hi!
>
>Executing 'drizzled --help' on Ubuntu that is set to use Japanese as the
>default language crashes drizzled.
>
>Here is the backtrace.
>
>drizzled [0x74fc1e]
>drizzled(drizzled::print_stacktrace(unsigned char*, unsigned long)+0x15) [0x74fc91]
>drizzled(handle_segfault+0x25c) [0x5af930]
>/lib/libc.so.6 [0x7fb5a3568100]
>drizzled(drizzled::my_print_help(drizzled::my_option const*)+0x2ef) [0x79cdab]
>drizzled(my_print_help_inc_plugins+0x191) [0x6bb7e7]
>drizzled [0x5af2ef]
>drizzled(drizzled::unireg_abort(int)+0x4a) [0x5afd56]
>drizzled [0x5afe81]
>drizzled(main+0x196) [0x5b0c90]
>/lib/libc.so.6(__libc_start_main+0xf4) [0x7fb5a35541c4]
>drizzled(__gxx_personality_v0+0x459) [0x59c709]
>
>Cheers,
>Toru
>
>** Affects: drizzle
> Importance: Undecided
> Status: New
>
>--
>drizzled --help crashes under Ubuntu/Japanese
>https://bugs.launchpad.net/bugs/538863
>You received this bug notification because you are a member of Drizzle-
>developers, which is subscribed to Drizzle.
>
>Status in A Lightweight SQL Database for Cloud and Web: New
>
>Bug description:
>Hi!
>
>Executing 'drizzled --help' on Ubuntu that is set to use Japanese as the default language crashes drizzled.
>
>Here is the backtrace.
>
>drizzled [0x74fc1e]
>drizzled(drizzled::print_stacktrace(unsigned char*, unsigned long)+0x15) [0x74fc91]
>drizzled(handle_segfault+0x25c) [0x5af930]
>/lib/libc.so.6 [0x7fb5a3568100]
>drizzled(drizzled::my_print_help(drizzled::my_option const*)+0x2ef) [0x79cdab]
>drizzled(my_print_help_inc_plugins+0x191) [0x6bb7e7]
>drizzled [0x5af2ef]
>drizzled(drizzled::unireg_abort(int)+0x4a) [0x5afd56]
>drizzled [0x5afe81]
>drizzled(main+0x196) [0x5b0c90]
>/lib/libc.so.6(__libc_start_main+0xf4) [0x7fb5a35541c4]
>drizzled(__gxx_personality_v0+0x459) [0x59c709]
>
>Cheers,
>Toru
>
>
>

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Changed in drizzle:
milestone: none → 2010-03-29
Monty Taylor (mordred)
Changed in drizzle:
milestone: 2010-05-10 → 2010-05-24
milestone: 2010-05-24 → none
Revision history for this message
Monty Taylor (mordred) wrote :

We're replacing the entire getopt/help system, so my_print_defaults will go away.

Revision history for this message
Toru Maesaka (tmaesaka) wrote : Re: [Bug 538863] Re: drizzled --help crashes under Ubuntu/Japanese

Hi!

I'm relieved to hear this. Would you be able to keep me updated on the
new help system work? If there's internationalization work in the help
system, I'd love to chip into the Japanese part. I'm saying this
because this would become preeeeetty important when I try to promote
Drizzle beta (when we get there) in Japan.

Cheers,
Toru

On Tue, Jun 8, 2010 at 11:59 PM, Monty Taylor <email address hidden> wrote:
> We're replacing the entire getopt/help system, so my_print_defaults will
> go away.
>
> ** Changed in: drizzle/cherry
>       Status: Confirmed => Won't Fix
>
> ** Changed in: drizzle/dexter
>       Status: Confirmed => Won't Fix
>
> --
> drizzled --help crashes under Ubuntu/Japanese
> https://bugs.launchpad.net/bugs/538863
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in A Lightweight SQL Database for Cloud and Web: Confirmed
> Status in Drizzle cherry series: Won't Fix
> Status in Drizzle dexter series: Won't Fix
>
> Bug description:
> Hi!
>
> Executing 'drizzled --help' on Ubuntu that is set to use Japanese as the default language crashes drizzled.
>
> Here is the backtrace.
>
> drizzled [0x74fc1e]
> drizzled(drizzled::print_stacktrace(unsigned char*, unsigned long)+0x15) [0x74fc91]
> drizzled(handle_segfault+0x25c) [0x5af930]
> /lib/libc.so.6 [0x7fb5a3568100]
> drizzled(drizzled::my_print_help(drizzled::my_option const*)+0x2ef) [0x79cdab]
> drizzled(my_print_help_inc_plugins+0x191) [0x6bb7e7]
> drizzled [0x5af2ef]
> drizzled(drizzled::unireg_abort(int)+0x4a) [0x5afd56]
> drizzled [0x5afe81]
> drizzled(main+0x196) [0x5b0c90]
> /lib/libc.so.6(__libc_start_main+0xf4) [0x7fb5a35541c4]
> drizzled(__gxx_personality_v0+0x459) [0x59c709]
>
> Cheers,
> Toru
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/drizzle/+bug/538863/+subscribe
>

--
Toru Maesaka <email address hidden>

Changed in drizzle:
milestone: 2010-06-07 → none
Revision history for this message
Monty Taylor (mordred) wrote :
Download full text (3.4 KiB)

Absolutely! The new one is based on boost and should be using std::string everywhere instead of staticly sized buffers (which was usually what caused intl-related crashes.)

I'd love your help on japanese... especially in making sure it works.

I also need to figure out the "right" way to do gettext for plugins...

"Toru Maesaka" <email address hidden> wrote:

>Hi!
>
>I'm relieved to hear this. Would you be able to keep me updated on the
>new help system work? If there's internationalization work in the help
>system, I'd love to chip into the Japanese part. I'm saying this
>because this would become preeeeetty important when I try to promote
>Drizzle beta (when we get there) in Japan.
>
>Cheers,
>Toru
>
>
>On Tue, Jun 8, 2010 at 11:59 PM, Monty Taylor <email address hidden> wrote:
>> We're replacing the entire getopt/help system, so my_print_defaults will
>> go away.
>>
>> ** Changed in: drizzle/cherry
>>       Status: Confirmed => Won't Fix
>>
>> ** Changed in: drizzle/dexter
>>       Status: Confirmed => Won't Fix
>>
>> --
>> drizzled --help crashes under Ubuntu/Japanese
>> https://bugs.launchpad.net/bugs/538863
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in A Lightweight SQL Database for Cloud and Web: Confirmed
>> Status in Drizzle cherry series: Won't Fix
>> Status in Drizzle dexter series: Won't Fix
>>
>> Bug description:
>> Hi!
>>
>> Executing 'drizzled --help' on Ubuntu that is set to use Japanese as the default language crashes drizzled.
>>
>> Here is the backtrace.
>>
>> drizzled [0x74fc1e]
>> drizzled(drizzled::print_stacktrace(unsigned char*, unsigned long)+0x15) [0x74fc91]
>> drizzled(handle_segfault+0x25c) [0x5af930]
>> /lib/libc.so.6 [0x7fb5a3568100]
>> drizzled(drizzled::my_print_help(drizzled::my_option const*)+0x2ef) [0x79cdab]
>> drizzled(my_print_help_inc_plugins+0x191) [0x6bb7e7]
>> drizzled [0x5af2ef]
>> drizzled(drizzled::unireg_abort(int)+0x4a) [0x5afd56]
>> drizzled [0x5afe81]
>> drizzled(main+0x196) [0x5b0c90]
>> /lib/libc.so.6(__libc_start_main+0xf4) [0x7fb5a35541c4]
>> drizzled(__gxx_personality_v0+0x459) [0x59c709]
>>
>> Cheers,
>> Toru
>>
>> To unsubscribe from this bug, go to:
>> https://bugs.launchpad.net/drizzle/+bug/538863/+subscribe
>>
>
>
>--
>Toru Maesaka <email address hidden>
>
>--
>drizzled --help crashes under Ubuntu/Japanese
>https://bugs.launchpad.net/bugs/538863
>You received this bug notification because you are a member of Drizzle-
>developers, which is subscribed to Drizzle.
>
>Status in A Lightweight SQL Database for Cloud and Web: Confirmed
>Status in Drizzle cherry series: Won't Fix
>Status in Drizzle dexter series: Won't Fix
>
>Bug description:
>Hi!
>
>Executing 'drizzled --help' on Ubuntu that is set to use Japanese as the default language crashes drizzled.
>
>Here is the backtrace.
>
>drizzled [0x74fc1e]
>drizzled(drizzled::print_stacktrace(unsigned char*, unsigned long)+0x15) [0x74fc91]
>drizzled(handle_segfault+0x25c) [0x5af930]
>/lib/libc.so.6 [0x7fb5a3568100]
>drizzled(drizzled::my_print_help(drizzled::my_option const*)+0x2ef) [0x79cdab]
>drizzled(my_print_help_inc_plugins+0x191) [0x6bb7e7]
>drizzled [0x5af2ef]
>drizzled(drizzled::unireg_abo...

Read more...

Revision history for this message
Monty Taylor (mordred) wrote :

Toru - could you check and see if this is still a problem?

Changed in drizzle:
assignee: Monty Taylor (mordred) → Andrew Hutchings (linuxjedi)
Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

No longer a problem in current drizzle

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.